Shared Library Issue using JVM ext

2009-01-30 Thread Ishtiaq Ahmed

Hi follks,


I know this has been discussed many time but couldn't find the exact 
thing I am looking for. I am deploying several application over tomcat6. 
Each having its own libraries in WEB-INF/lib. Many of the applications 
are using the same libraries like  hibernate3.jar so this is 
increasing the size of the deployment. What I want to do is to copy all 
those libraries in a single location something like 
/opt/java/jre/lib/ext and let all the application use that... But I am 
having the following error



 HTTP Status 500 -



*type* Exception report

*message*

*description* _The server encountered an internal error () that 
prevented it from fulfilling this request._


*exception*

javax.servlet.ServletException: javax/servlet/jsp/tagext/TagLibraryValidator
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:274)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

*note* _The full stack trace of the root cause is available in the 
Apache Tomcat/6.0.14 logs._




Any Ideas... how to handle it.. As there are no logs at Tomcat6 Level 
for this error.



Thanks,


Ishtiaq Ahmed

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Subdomain Virtual Hosting.

2007-12-27 Thread Ishtiaq Ahmed

Good Day David,

Its nice to see your reply. I tried the ROOT folder for all unconfigured 
domain names but developers are not satisfied with the settings. I need 
to redirect *.mydomain2.com's traffic to that specific context of 
$CATALINA_HOME/webapps/APPx. As the same server would be serving for 
*.mydomain3.com's requests in future too.


Looking Forward for resolution from you...

Regards,

Ishtiaq Ahmed



david delbecq wrote:

Ishtiaq Ahmed a écrit :

Hi,
Now we want it But when we tried it for *.mydomain2.com (Notice that * )
if I go like under, it doesn't work. Kindly shed some light into it.

Host name=*.mydomain2.com

 appBase=/usr/local/tomcat6/webapps/APPx
 unpackWARs=true
 autoDeploy=true
 xmlValidation=false
 xmlNamespaceAware=false
  Context path= docBase=/usr/local/tomcat6/webapps/APPx
 debug=0 reloadable=false/

/Host

I hope you understand my problem its about * (Subdomains) to be 
routed to different context path.


Simply put, you can't. If you want to redirect users of unconfigured 
domains to a specific webapp, use the defaultHost attribute of the 
Engine context. The name attribute of the Host context is Network 
name of this virtual host, as registered in your Domain Name Service 
server., as mentionned in docs. If you want more complex rules, you 
might need to configure an appache httpd front-end that does the 
dispatching.

Regards,

Ishtiaq Ahmed

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Subdomain Virtual Hosting.

2007-12-25 Thread Ishtiaq Ahmed

Hi,

I am facing a little problem in Tomcat 6 Configurations. multiple 
applications deployed under $TOMCAT_HOME/webapps  under Linux OS.


$TOMCAT_HOME/webapps/APP1
$TOMCAT_HOME/webapps/APP2
$TOMCAT_HOME/webapps/APP3

Virtual hosts has been set up to access each with its specific DNS 
resolutions.



APP1.mydomain.com  $TOMCAT_HOME/webapps/APP1
APP2.mydomain.com  $TOMCAT_HOME/webapps/APP2
APP3.mydomain.com  $TOMCAT_HOME/webapps/APP3


Everything works fine using the following syntax

Host name=APP1.mydomain.com

 appBase=/usr/local/tomcat6/webapps/APP1
 unpackWARs=true
 autoDeploy=true
 xmlValidation=false
 xmlNamespaceAware=false
  Context path= docBase=/usr/local/tomcat6/webapps/APP1
 debug=0 reloadable=false/

/Host


Now we want it But when we tried it for *.mydomain2.com (Notice that * )
if I go like under, it doesn't work. Kindly shed some light into it.

Host name=*.mydomain2.com

 appBase=/usr/local/tomcat6/webapps/APPx
 unpackWARs=true
 autoDeploy=true
 xmlValidation=false
 xmlNamespaceAware=false
  Context path= docBase=/usr/local/tomcat6/webapps/APPx
 debug=0 reloadable=false/

/Host

I hope you understand my problem its about * (Subdomains) to be routed 
to different context path.


Regards,

Ishtiaq Ahmed

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]