zelynn goay

Ranch Hand
+ Follow
since Jan 09, 2005
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by zelynn goay

Hi,

I would like to write to an existing excel file using POI. I added a clause to check if file doesn't exist, create a new excel, or if exist, create a new worksheet.
when i execute the program, i can the see a new excel file being created. when i execute again, i see the file size increase . but when i open up the excel file, i couldn't see any added changes. after i close the excel file, the file size decrease.

Please help.


[ August 12, 2008: Message edited by: zelynn goay ]
[ August 12, 2008: Message edited by: zelynn goay ]
Hi. I have some problem executing servlet examples provided in tomcat using the tomcat connector.

I am using tomcat 5.0.28, IIS 5.1 and just manage to install isapi_redirect.dll.

I manage to execute the servlet examples using http://localhost:8080/servlet-examples, thru tomcat directly.

I manage to view http://localhost/servlet-examples/index.html, but i can't execute the servlet examples. there's one request parameters example. When i click on "Submit Query", the next page show "The page cannot be displayed".

I checked the isapi.log file, it shows:
[/servlets-examples/servlet/RequestParamExample] is a servlet url - should redirect to ajp13
Maintaining worker ajp13
jk_worker.c (111): found a worker ajp13
jk_isapi_plugin.c (1018): got a worker for name ajp13
jk_ajp_common.c (2131): acquired connection cache slot=0
jk_ajp_common.c (566): ajp marshaling done
jk_ajp_common.c (1670): processing with 3 retries
jk_connect.c (328): socket TCP_NODELAY set to On
jk_connect.c (426): trying to connect socket 1912 to 127.0.0.1:8009
jk_connect.c (452): socket 1912 connected to 127.0.0.1:8009
jk_ajp_common.c (864): Connected socket 1912 to (127.0.0.1:8009)jk_ajp_common.c (909): sending to ajp13 pos=4 len=564 max=8192
....
jk_ajp_common.c (1261): request body to send 28 - request body to resend 0
[error] jk_isapi_plugin.c (604): ReadClient failed with 0000274c
jk_ajp_common.c (1118): Receiving data from client failed. Connection aborted or network problems
jk_ajp_common.c (1741): Sending request to tomcat failed, because of client error without recovery in send loop 0
jk_isapi_plugin.c (1031): service() returned OK
jk_ajp_common.c (2074): recycling connection cache slot=0 for worker ajp13

and the stdout.log shows:
org.apache.jk.common.ChannelSocket processConnection
WARNING: processCallbacks status 2
org.apache.jk.common.HandlerRequest invoke
SEVERE: Error decoding request
java.io.IOException
at org.apache.jk.common.JkInputStream.receive(JkInputStream.java:252)
at org.apache.jk.common.HandlerRequest.decodeRequest(HandlerRequest.java:500)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:352)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675)
at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)

May I know how to correct this problem? Is there any configuration that i need to set?
Or has anyone successfully execute servlet examples using tomcat connector?
Appreciate any help. Thank you.

regards,
zl
14 years ago
Hi. just to update that i manage to solve the http 404 error by reinstallation of tomcat and iis. the only difference is i use the latest (nov release) isapi_director.dll.
14 years ago
hi. thanks for your reply.
i still require IIS as other application are using it. i found documentation on integrating IIS and tomcat with tomcat connector. however, i have some problem after installation.
i am posting the question in product/
14 years ago
hi. thanks for your reply.
i still require IIS as other application are using it. i found documentation on integrating IIS and tomcat with tomcat connector. however, i have some problem after installation.
i am posting the question in product/tomcat forum with the title "error with jakarta tomcat connector". please help if you have experience using tomcat connector. thank you.
14 years ago
hi. anyone that have any idea how to solve "HTTP 404 - the requested resource is not available"?

please help. thank you.
14 years ago
hi. anyone that have any idea how to solve "HTTP 404 - the requested resource is not available"?

please help. thank you.
14 years ago
Hi. i am trying to integrate IIS with tomcat 5.0. i manage to get http://localhost:8080/examples/index.html to display successfully.

but when i enter http://localhost/examples/index.html, i got the following error:

[error]
HTTP Status 404 - /jakarta/isapi_redirect-1.2.14.dll

---------------------------------------------------------------------------
type Status report

message /jakarta/isapi_redirect-1.2.14.dll

description The requested resource (/jakarta/isapi_redirect-1.2.14.dll) is not available.

---------------------------------------------------------------------------
Apache Tomcat/5.0.28

[/error]

how to correct this? appreciate any help.
14 years ago
Hi. I am trying to integrate tomcat5.0 with IIS5.0. i have installed tomcat-5.0.28 and manage to view the tomcat homepage. but i couldn't find workers and uriworkermap.properties file under tomcat5.0/conf dir.
May i have a sample of both files?

Is there any other detailed documentation on integrating tomcat5.0 with IIS5.0?

thanks.
14 years ago
Hi. Thanks for your reply. May I know how to configure tomcat with IIS to ommit the 8080 in the address?

thanks.
14 years ago
Hi. I have written jsp files, servlet and deployed on tomcat. From the browser, with http://localhost:8080/myapps, I manage to see the application.
I tried to access myapps with http://xxx.xx.x.x:8080/myapps from other client machine, it�s ok. There�s another application (myappb) running on the same server machine with Internet Information Services, so http://xxx.xx.x.x/myappb will show myappb.
May I ask is it possible to omit the 8080 in the address to access myapps? May I know how to do it?

thanks.
14 years ago
hi. i am using log4j to log in my servlet. the servlet will read a .properties file that will be used by log4j.

i specify in the .properties file my log file location as
<code>
log4j.appender.R.File=example.log
</code>
and i found the log file in <tomcat>/bin/

if i specify <code>log4j.appender.R.File=.\\logs\\example.log</log>, the log file will appear in <tomcat>/bin/logs

i wish to specify in my <tomcat>/webapps/myapp/log dir. may i know how should i do that?

Appreciate any help.
14 years ago
Hi. i am not sure if this is the right place to post my question.

I have some doubts about deploying servlet and jsp. I use tomcat to test out the servlet and jsp during development. Now, I want to place the servlet and jsp on a production server to be accessed by the public. The server machine has win 2000 server installed with Internet Information Services. Is it sufficient to just install tomcat on the server machine to deploy the servlet and jsp? What else do I require?

Appreciate any help
14 years ago
JSP
Hi. Thanks for the guidelines. Managed to access the .properties file already.
14 years ago