Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Showing results 1 to 25 of 71
Search took 0.01 seconds.
Search: Posts Made By: enjay
Forum: J2EE June 20th, 2008, 01:39 PM
Replies: 1
Views: 1,455
Posted By enjay
Hi, I guess the resource bundle is missing...

Hi,

I guess the resource bundle is missing from the classpath.

Take a look at:
http://java.sun.com/developer/JDCTechTips/2004/tt1214.html#1

-eNJay
Forum: J2EE June 20th, 2008, 01:31 PM
Replies: 3
Views: 6,863
Posted By enjay
Do you share "inQueue" object between the web...

Do you share "inQueue" object between the web applications? In case you do not, then it might be likely that the InitialContext has cached the lookup object ffor "inQueue" which could cause the...
Forum: J2EE June 20th, 2008, 01:24 PM
Replies: 3
Views: 6,863
Posted By enjay
Or may be you can use SingleClassloader for all...

Or may be you can use SingleClassloader for all the webapplications
Forum: Apache Tomcat June 20th, 2008, 01:15 PM
Replies: 1
Views: 2,195
Posted By enjay
Appears that...

Appears that C:\Java\jdk1.6.0_10\jre\bin\server\jvm.dll file is missing in your JDK installation. In case it is missing, reinstalling JDK should help.
Forum: Apache Tomcat June 20th, 2008, 01:11 PM
Replies: 3
Views: 1,199
Posted By enjay
I should have written: nstead of using the...

I should have written:

nstead of using the Package Manager to install Tomcat, you can...
Forum: Apache Tomcat June 20th, 2008, 01:10 PM
Replies: 3
Views: 1,199
Posted By enjay
Yup, Instead of using the installer to install...

Yup,
Instead of using the installer to install Tomcat, you can download a .tar.gz version of Tomcat and unzip it to your disk. Get into bin directory of this Tomcat installation and run...
Forum: Apache Tomcat June 20th, 2008, 01:07 PM
Replies: 2
Views: 2,570
Posted By enjay
May be this will help: ...

May be this will help:

http://httpd.apache.org/docs/1.3/vhosts/

Lets say you have a webserver running. To access it, you use http://hostname:port/

In case you wish the server to be accessed...
Forum: Apache Tomcat June 20th, 2008, 12:59 PM
Replies: 1
Views: 1,494
Posted By enjay
May be you have already figured it out. The...

May be you have already figured it out. The easiest thing is to add the folder containing the dll in the PATH environment variable. Or just copy it to the bin directory of Tomcat.

-eNJay
Forum: J2EE February 9th, 2008, 03:15 PM
Replies: 3
Views: 2,308
Posted By enjay
Hello Kasi, I think this is happening as...

Hello Kasi,

I think this is happening as you have configured the contaner security to be used for the application. In this case the security component of the server kicks in before the request...
Forum: Apache Tomcat February 9th, 2008, 02:01 PM
Replies: 1
Views: 1,147
Posted By enjay
Hi, Check the access logs of Apache to see...

Hi,

Check the access logs of Apache to see if the request is reaching the server. If it is check the response code of the request. In case you are seeing 200 as the status code, i am sorry to say...
Forum: Apache Tomcat February 9th, 2008, 01:54 PM
Replies: 3
Views: 5,257
Posted By enjay
Hello, I think when the Authentication is...

Hello,

I think when the Authentication is failing, you must be seeing some other error code. 401 is a custom error page which requests for authentication. When the authentication fails, it should...
Forum: Apache Tomcat February 9th, 2008, 01:32 PM
Replies: 2
Views: 10,150
Posted By enjay
Yeah True, In such cases, I would suggest...

Yeah True,

In such cases, I would suggest starting with "catalina.bat run" option fromn bin directory so that the server is started n the same window. So the new window will not be opened and...
Forum: Apache Tomcat February 9th, 2008, 01:29 PM
Replies: 1
Views: 860
Posted By enjay
Hi David, It shows that the server has...

Hi David,

It shows that the server has started properly. What error do you get when you try to access the pages?

Also, did you try with http://localhost:8080/
I really don't remember if...
Forum: J2EE September 17th, 2007, 12:19 PM
Replies: 4
Views: 1,658
Posted By enjay
I do not know if classes would be picked up from...

I do not know if classes would be picked up from the lib directory where you have placed your class file. Lib directories are generally meant for placing your jar files and classes directories for...
Forum: Apache Tomcat September 14th, 2007, 02:07 PM
Replies: 2
Views: 1,594
Posted By enjay
Sounds weird, what is the error message that you...

Sounds weird, what is the error message that you see?

-eNJay
Forum: Apache Tomcat September 14th, 2007, 02:01 PM
Replies: 3
Views: 1,879
Posted By enjay
Well, this being old post, the one that I am...

Well, this being old post, the one that I am suggesting may not help you as of now. Some one might be able to use it sometime.

When using Java programs, try to check your applications memory usage...
Forum: Pro JSP July 21st, 2007, 12:12 AM
Replies: 4
Views: 4,907
Posted By enjay
Unfortunately, there is no other mechanism to...

Unfortunately, there is no other mechanism to invalidate the session other than wait for session timeout when the client crashes.

-eNJay
Forum: JSP Basics July 21st, 2007, 12:09 AM
Replies: 4
Views: 1,225
Posted By enjay
If you are referring to obtaining sesson onject,...

If you are referring to obtaining sesson onject, session is one of the variables available in the jsp page by default and this refers to the session object. If you have to put some attributes use
...
Forum: Java Basics July 16th, 2007, 01:19 PM
Replies: 3
Views: 723
Posted By enjay
Appears that you are trying to read the parameter...

Appears that you are trying to read the parameter from commandline which is not provided.
new FileReader(args[0]) This tries to get the first param passed to the program. If it is not present, then...
Forum: Java Basics July 16th, 2007, 01:16 PM
Replies: 4
Views: 873
Posted By enjay
Yup, add the servlet and its pattern in the...

Yup, add the servlet and its pattern in the web.xml file of that context.

-eNJay
Forum: Java Basics July 14th, 2007, 12:41 PM
Replies: 4
Views: 873
Posted By enjay
The class is declared as HelloWorld with 'W' in...

The class is declared as HelloWorld with 'W' in uppercase. YOu have saved the file with 'w' in lower case. Hence the problem. Save the file as HelloWorld.java and try compiling. It should work.
...
Forum: J2EE July 13th, 2007, 04:26 PM
Replies: 2
Views: 1,584
Posted By enjay
The error error: cannot read: LoginServer.java is...

The error error: cannot read: LoginServer.java is reported if the specified file is not present in the
C:\bea\nidhi\user_projects\nidhidomain\applications\DefaultWebApp\WEB-INF\classes directory....
Forum: Java Basics July 13th, 2007, 04:21 PM
Replies: 1
Views: 1,528
Posted By enjay
Yes, since the variable j is being initialized in...

Yes, since the variable j is being initialized in the for loop, it would start from 2 and scale up. The 7%2,7%3,7%4 would happen. However for the first time when i=2, it will not enter the inner loop...
Forum: Java Basics July 13th, 2007, 04:05 PM
Replies: 5
Views: 1,566
Posted By enjay
Additionally you can use -d switch of javac when...

Additionally you can use -d switch of javac when compiling.

1. Go to directory where the .java file is present.
2. Execute javac <java_file> -d <destnation-directory>

This would compile the...
Forum: Java Basics July 13th, 2007, 04:02 PM
Replies: 2
Views: 889
Posted By enjay
if you look at the site carefully, it would point...

if you look at the site carefully, it would point to updated docs on servlet.

-eNJay
Showing results 1 to 25 of 71

 




Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.