Where to Place .dll files in TOMCAT?

2009-03-29 Thread ajmerasunny
Hi All, I have a java web application running on TOMCAT 6.0 which is accessing few .dll files.I am getting "UnsatisfiedLinkError" while running my application. I have copied these .dll files in System32 folder. Could anyone please tell me where should i place these .dll files to get my app

RE: Where to Place .dll files in TOMCAT?

2009-03-29 Thread Martin Gainty
place jar file in the $TOMCAT_HOME/shared/lib place the .so in $TOMCAT_HOME/shared/lib JAVA_OPTS: java.library.path=$TOMCAT_HOME/shared/lib and of course ensure $TOMCAT_HOME/shared/lib has execute privileges. HTH Martin __ Disclaimer and confidentia

RE: HTTP Status 500 The server encountered an internal error () that prevented it from fulfilling this request

2009-03-29 Thread Martin Gainty
you may have wrong version catalina.jar in your classpath I would try renaming stray catalina.jar (possibly in WEB-INF/lib folder) and reload the webapp see if that helps Saludos Cordiales desde EEUU Martin __ Disclaimer and confidentiality note This

Forwarding from one Context to another

2009-03-29 Thread behofmann
In Tomcat 6.0.18, isn't it possible to forward a request/response from one to another? Is there some special method/code to accomplish this? Thanks, Brandon -- View this message in context: http://www.nabble.com/Forwarding-from-one-Context-to-another-tp22767662p22767662.html Sent from the To

Re: Where to Place .dll files in TOMCAT?

2009-03-29 Thread Gregor Schneider
Martin, I believe the OP doesn't know what an .so-file is. I'm also not sure if there's something like "execute-privileges" in Windows. Besides, he's talking about Tomcat 6, and I can't find anything like a "shared"-folder in Tomcat 6. My knowledge about all this library-stuff on MS Windows (bt

Re: Forwarding from one Context to another

2009-03-29 Thread Gregor Schneider
Brandon, within the Context-definition of the COntext *from* where you want to forward, you'll have to specify Forwarding works like this: ServletContext otherContext = servletContext.getContext("/othercontext"); // The context may be null if the application server does not permit cross-cont

Re: Installaing tomcat on windows xp

2009-03-29 Thread David Smith
On Mar 28, 2009, at 5:32 PM, "Caldarale, Charles R" > wrote: From: Dharani [mailto:vishgnanik...@gmail.com] Subject: Installaing tomcat on windows xp I need to know how to set JAVA_OPTS and CATLINA_OPTS in Windows XP Is this a trick question? Have you tried the SET command? http://www.cat

Re: Forwarding from one Context to another

2009-03-29 Thread Gregor Schneider
Brandon, please reply to the list so that other ppl also benefit from this. On Sun, Mar 29, 2009 at 3:22 PM, wrote: > > Thanks for the quick reply! After using the approach you mentioned, I would > then use the RequestDispatcher to complete the forward to the new context. > Correct? > Haven'

Replicated context is failing...or not ?

2009-03-29 Thread János Löbb
Hi, 3 machines, - pathsrv1, raid2b, reptile - Macs with OSX 10.5.6. Apache 2.2.9 mod_jk 1.2.26 and Tomcat 6.0.18. Every machine has one Tomcat instance and they form a cluster. Pathsrv1 act as a reverse proxy, so the request for the only clustered web app is coming as: http://pathsrv1.

Re: Forwarding from one Context to another

2009-03-29 Thread behofmann
Gregor, Thank you for the additional information. I will try the technique we discussed and post back if I have further questions. Thanks, Brandon Gregor Schneider wrote: > > Brandon, > > please reply to the list so that other ppl also benefit from this. > > On Sun, Mar 29, 2009 at 3:22 P

HELP!!! cannot reach my site!

2009-03-29 Thread Jonathan Mast
I restarted tomcat after making some changes and now I my main webpage is down. The www.mysite.com returns a blank page. I didn't touch the code-base of the main website before the restart, that service, which is on a different host (foo.mysite.com) works fine. Looking at apache and tomcats logs

Re: Where to Place .dll files in TOMCAT?

2009-03-29 Thread Bill Barker
"ajmerasunny" wrote in message news:22766008.p...@talk.nabble.com... > > Hi All, > I have a java web application running on TOMCAT 6.0 which is > accessing > few .dll files.I am getting "UnsatisfiedLinkError" while running my > application. I have copied these .dll files in System32 folder

Re: Forwarding from one Context to another

2009-03-29 Thread behofmann
When trying to forward my .jsp to another in Tomcat 6.0.18 using the following code, I get the following error: ServletContext appContext = ServletContext.getContext( "/dev" ); if ( appContext != null ) { RequestDispatcher rd = appContext.getRequestDispatcher( context

Re: HELP!!! cannot reach my site!

2009-03-29 Thread Yassine
On Mon, Mar 30, 2009 at 12:58 AM, Jonathan Mast wrote: > I restarted tomcat after making some changes and now I my main webpage is > down.  The www.mysite.com returns a blank page. > which changes did you made? > I didn't touch the code-base of the main website before the restart, that > servic

RE: HELP!!! cannot reach my site!

2009-03-29 Thread Caldarale, Charles R
> From: yassine.elas...@gmail.com [mailto:yassine.elas...@gmail.com] On > Behalf Of Yassine > Subject: Re: HELP!!! cannot reach my site! > > > Looking at apache and tomcats logs, i'm getting status code 200 > > when i request my homepage, but 0 length content.  It like Tomcat > > won't write to re

RE: Forwarding from one Context to another

2009-03-29 Thread Caldarale, Charles R
> From: behofmann [mailto:behofm...@gmail.com] > Subject: Re: Forwarding from one Context to another > > When trying to forward my .jsp to another in Tomcat > 6.0.18 using the following code, I get the following error: > > ServletContext appContext = ServletContext.getContext( "/dev" ); >

Re: HELP!!! cannot reach my site!

2009-03-29 Thread Jonathan Mast
Well the I figured it out. I forgot that I had updated (yesterday) the codebase on www.mysite.com to use jsp-api.jar and servlet-api.jar., but hadn't restarted Tomcat at that time. Previously it was using servlet.jar. After I deleted jsp-api.jar and servlet-api.jar and placed servlet.jar back in

Re: Forwarding from one Context to another

2009-03-29 Thread Hassan Schroeder
On Sun, Mar 29, 2009 at 4:34 PM, behofmann wrote: > > When trying to forward my .jsp to another in Tomcat 6.0.18 using > the following code, I get the following error: > >      ServletContext appContext = ServletContext.getContext( "/dev" ); Try: ServletContext appContext = this.getServletConfi

RE: HELP!!! cannot reach my site!

2009-03-29 Thread Caldarale, Charles R
> From: Jonathan Mast [mailto:jhmast.develo...@gmail.com] > Subject: Re: HELP!!! cannot reach my site! > > I forgot that I had updated (yesterday) the codebase on > www.mysite.com to use jsp-api.jar and servlet-api.jar What do you mean by "codebase" in the above? > After I deleted jsp-api.jar a

RE: Forwarding from one Context to another

2009-03-29 Thread Caldarale, Charles R
> From: Hassan Schroeder [mailto:hassan.schroe...@gmail.com] > Subject: Re: Forwarding from one Context to another > > ServletContext appContext = > this.getServletConfig().getServletContext().getContext( "/dev" ); You certainly don't need "this" in the above; nor is getServletConfig() necessary

RE: Replicated context is failing...or not ?

2009-03-29 Thread Caldarale, Charles R
> From: János Löbb [mailto:janos.l...@yale.edu] > Subject: Replicated context is failing...or not ? > > Mar 29, 2009 11:59:47 AM org.apache.catalina.startup.HostConfig > deployDescriptor > WARNING: A docBase /usr/local/apache-tomcat-6.0.18/webapps/ROOT inside > the host appBase has been specified,

RE: HTTP Status 500 The server encountered an internal error () that prevented it from fulfilling this request

2009-03-29 Thread Caldarale, Charles R
> From: Tomas Rodriguez [mailto:admhards...@yahoo.ca] > Subject: Re: HTTP Status 500 The server encountered an internal error > () that prevented it from fulfilling this request > I put inside of the directory example/jsp my pagejava1jsp and I loaded > with IE at the http://127.0.0.1:8080/examp

Re: Forwarding from one Context to another

2009-03-29 Thread Hassan Schroeder
On Sun, Mar 29, 2009 at 5:52 PM, Caldarale, Charles R wrote: >> ServletContext appContext = >> this.getServletConfig().getServletContext().getContext( "/dev" ); > > You certainly don't need "this" in the above; nor is getServletConfig() > necessary, if the code is in a class that extends HttpSer

Re: Forwarding from one Context to another

2009-03-29 Thread behofmann
Chuck, Thank you again for your help. Since I'm new at this, please forgive me if my questions seem elementary. The following code now works: ServletContext appContext = getServletContext().getContext( "/dev" ); if ( appContext != null ) { RequestDispatcher rd = appContex

Re: SEVERE: Null component Catalina:type=DataSource

2009-03-29 Thread Alexandr Khlystov
*META-INF/context.xml*: WEB-INF/web.xml *WEB-INF/web.xml, modified a bit to hide private data:* http://java.sun.com/dtd/web-app_2_3.dtd";> Oracle Datasource example jdbc/isDS javax.sql.DataSource Container DB Connection

Help setting jforum and Apache->Tomcat connector

2009-03-29 Thread Chandler_Kiril
Hello all, I have a problem while I am trying to run jforum and connect apache-tomcat with mod_jk connector. When I am typing http://localhost:8080/jforum - everything is just fine. But I want to access the forum with forum.mycompany.com. Before explain my conf files I will say that I am using Sus