how do i configure multiple domains in one tomcat inatance

2009-03-25 Thread Srinivas Jonnalagadda
hi,

I am using apache http server, openSSL, mod_jk and tomcat 5.5.9 on solaris 10 
server. I need a way to create multiple domains in the same tomcat instance or 
server. for example i should be able to copy my war files into two dirs dir1 
and dir2. Same Tomcat should be able to pickup applications and host them from 
both the directories. I know that this is possible in Weblogic but not sure how 
to implement this in tomcat.

Sincerely,
Srinivas Jonnalagadda  



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



Re: tomcat admin console set values

2009-02-16 Thread Srinivas Jonnalagadda
Chris,

Thank you very much for the answer. This is really a nice help.

Srinivas Jonnalagadda

-Original Message-
>From: Christopher Schultz 
>Sent: Feb 13, 2009 6:52 PM
>To: Tomcat Users List 
>Subject: Re: tomcat admin console set values
>
>-BEGIN PGP SIGNED MESSAGE-
>Hash: SHA1
>
>Srinivas,
>
>On 2/13/2009 12:21 PM, Srinivas Jonnalagadda wrote:
>> Sorry for not mentioning. I am using tomcat 5.5.9 on a solaris
>> machine and 5.5.27 on a windows machine. I tried to set the JnDi
>> DataSource and i was successful on 5.5.27 windows version. I already
>> had the same settings in my context.xml so got a [question] regarding
>> location where the values i set thru admin console of Admin web app
>> are persisted. For example in a properties file.
>
>That's exactly the point: they are NOT PERSISTED AT ALL. No properties
>file. No JNDI directory. No text file. No database. It's all in memory.
>When you shut down Tomcat, it's gone.
>
>Feel free to patch it yourself, but the TC devs have completely
>abandoned the admin webapp. You should stick to editing the server.xml
>file by hand.
>
>Oh, and your JNDI resources are better-off in context.xml files, anyway.
>
>- -chris
>
>-BEGIN PGP SIGNATURE-
>Version: GnuPG v1.4.9 (MingW32)
>Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
>iEYEARECAAYFAkmWFc4ACgkQ9CaO5/Lv0PC5XwCdEpcc+34rJoo0FKyfsYOVh16Q
>72sAn3WRhLRxIEUJwBC1N5vv2uf1MFex
>=TmV/
>-END PGP SIGNATURE-
>
>-
>To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>For additional commands, e-mail: users-h...@tomcat.apache.org
>


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



RE: tomcat admin console set values

2009-02-13 Thread Srinivas Jonnalagadda
Chuck, 

Sorry for not mentioning. I am using tomcat 5.5.9 on a solaris machine and 
5.5.27 on a windows machine. I tried to set the JnDi DataSource and i was 
successful on 5.5.27 windows version. I already had the same settings in my 
context.xml so got a doubt regarding location where the values i set thru 
admion console of Admini web app are persisted. For example in a properties 
file.

Thanks
Srinivas Jonnalagadda



-Original Message-
>From: "Caldarale, Charles R" 
>Sent: Feb 10, 2009 10:16 AM
>To: Tomcat Users List 
>Subject: RE: tomcat admin console set values
>
>> From: Srinivas Jonnalagadda [mailto:sarinivas7...@earthlink.net]
>> Subject: tomcat admin console set values
>>
>> When i set the DataSource values thru the Tomcat
>> Administration web application. Where are these values
>> physically stored?
>
>First off, tell us your Tomcat level - we're not psychics.
>
>The lack of persistent storage by the admin app is just one of the reasons it 
>is no longer present in newer levels of Tomcat.  You can access much of the 
>same information via JConsole or similar JMX tools, but I'm not aware of any 
>means of persisting any changes made across a Tomcat restart.
>
> - Chuck
>
>
>THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
>MATERIAL and is thus for use only by the intended recipient. If you received 
>this in error, please contact the sender and delete the e-mail and its 
>attachments from all computers.
>
>-
>To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>For additional commands, e-mail: users-h...@tomcat.apache.org
>


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



tomcat admin console problems

2009-02-10 Thread Srinivas Jonnalagadda
Hi,

When i set the DataSource values thru the Tomcat Administration web 
application. Where are these values physically stored? the file name. I set 
these values and tried to figure out if they are stored in server.xml 
orcontext.xml and i dont see them. any documentation regarding this?

Your help is appreciated.

Thanks,
Srinivas Jonnalagadda 

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



tomcat admin console set values

2009-02-10 Thread Srinivas Jonnalagadda
Hi,

When i set the DataSource values thru the Tomcat Administration web 
application. Where are these values physically stored? the file name. I set 
these values and tried to figure out if they are stored in server.xml 
orcontext.xml and i dont see them. any documentation regarding this?

Your help is appreciated.

Thanks,
Srinivas Jonnalagadda 

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



Re: tomcat admin console problem

2009-02-10 Thread Srinivas Jonnalagadda
Mark,

Thanks very much. Once i commented the filter it worked. Here is what i have on 
my address filter. though it was ridiculous that the same setting worked well 
on a windows machine this did not work on solaris machine. 


 
  
 


Thanks,
Srinivas Jonnalagadda


-Original Message-
>From: Mark Thomas 
>Sent: Feb 10, 2009 7:19 AM
>To: Tomcat Users List 
>Subject: Re: tomcat admin console problem
>
>Srinivas Jonnalagadda wrote:
>> Hi,
>> 
>> I am getting the "Access to the specified resource () has been forbidden" 
>> when i try to access as http://192.168.0.10:8080/admin/. the admin app is 
>> deployed on a solaris machine with tomcat 5.5.9 communicationg with Apache 
>> HTTP Server and using mod_jk connector. I copied admin.xml to 
>> /apps/opt/tomcat/jakarta-tomcat-5.5.9/conf/Catalina/localhost. Undommented 
>> the tag and added allow 192.168.0.10 after 127.0.0.1. Copied the admin 
>> directory to /apps/opt/tomcat/jakarta-tomcat-5.5.9/server/webapps. Also i 
>> have the admin role with permission in the tomcat-users.xml fil. The 
>> http://192.168.0.10:8080/manager/html/ works perfectly though. Also though i 
>> am not using mod_jk and apache http server on a Windows machine the Tomcat 
>> Administartion web application works perfectly. I changed the permissions to 
>> admin directory and also sub directories on the solaris machine with chmod 
>> 777. Still i get the access forbidden error. 
>> 
>> Any help as how to solve this is appreciated.
>
>Probably the address filter. Try removing that temporarily to see if that fixes
>it. If it does, copy the valve settings here and we'll take a look.
>
>Mark
>
>
>
>-
>To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>For additional commands, e-mail: users-h...@tomcat.apache.org
>


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



tomcat admin console problem

2009-02-10 Thread Srinivas Jonnalagadda
Hi,

I am getting the "Access to the specified resource () has been forbidden" when 
i try to access as http://192.168.0.10:8080/admin/. the admin app is deployed 
on a solaris machine with tomcat 5.5.9 communicationg with Apache HTTP Server 
and using mod_jk connector. I copied admin.xml to 
/apps/opt/tomcat/jakarta-tomcat-5.5.9/conf/Catalina/localhost. Undommented the 
tag and added allow 192.168.0.10 after 127.0.0.1. Copied the admin directory to 
/apps/opt/tomcat/jakarta-tomcat-5.5.9/server/webapps. Also i have the admin 
role with permission in the tomcat-users.xml fil. The 
http://192.168.0.10:8080/manager/html/ works perfectly though. Also though i am 
not using mod_jk and apache http server on a Windows machine the Tomcat 
Administartion web application works perfectly. I changed the permissions to 
admin directory and also sub directories on the solaris machine with chmod 777. 
Still i get the access forbidden error. 

Any help as how to solve this is appreciated. 

Thanks in advance,
Srinivas Jonnalagadda 

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



403 access denied on unix machine for administration web application

2009-02-09 Thread Srinivas Jonnalagadda
Hi,

I am getting the "Access to the specified resource () has been forbidden" when 
i try to access as http://192.168.0.10:8080/admin/. the admin app is deployed 
on a solaris machine with tomcat 5.5.9 communicationg with Apache HTTP Server 
and using mod_jk connector. I copied admin.xml to 
/apps/opt/tomcat/jakarta-tomcat-5.5.9/conf/Catalina/localhost. Undommented the 
tag and added allow 192.168.0.10 after 127.0.0.1. Copied the admin directory to 
/apps/opt/tomcat/jakarta-tomcat-5.5.9/server/webapps. Also i have the admin 
role with permission in the tomcat-users.xml fil. The 
http://192.168.0.10:8080/manager/html/ works perfectly though. Also though i am 
not using mod_jk and apache http server on a Windows machine the Tomcat 
Administartion web application works perfectly. I changed the permissions to 
admin directory and also sub directories on the solaris machine with chmod 777. 
Still i get the access forbidden error. 

Any help as how to solve this is appreciated. 

Thanks in advance,
Srinivas Jonnalagadda  

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



absolute url only working - urget hel p needed

2008-11-07 Thread Srinivas Jonnalagadda
Hi,

I need urget help configuring Apache HTTP Server 2.0.63, Tomact 5.5.9 and 
mod_jk1.2.26. Now i am inable to access with relative url and unless i give 
absolut servre name with port. For Example: 
http://serverhostname.ebiz.com:8080/kanaCallBack/ssoCallback.jsp then i am able 
to access. If i give http://stg.ebiz.com/kanaCallBack/ssoCallback.jsp. I get a 
page not found error in my IE.

Please let me know where to change the config to make this work.

Thanks,
srinivas Jonnalagadda  


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



refresh bad db connection on tomcat - urgent help

2008-10-10 Thread Srinivas Jonnalagadda
Hi All,

what is the syntaxt to refresh bad db connection on tomcat - context.xml? We 
are using tomcata 5.5.9 connecting to oracle 10. The issue is that our jvm 
crashed because in the connection pool we had bad db connection and it the 
connections were out of limit. we could not detect and it happened in our prod 
environment. if there is any command for that it would be great help.

Thanks,
Srinivas Jonnalagadda

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



need mod_jk for apache http server 2.0.63 - urgent

2008-10-03 Thread Srinivas Jonnalagadda
Hi,

I need mod_jk or the comcat connector. I dont know where to get it from. I 
searched on google but could not find. Basically i would like to connect from 
tomcat 5.5.9 to apache http server 2.0.63 installed on solaris 10 machine. 
Could some body tell me where to get it.

Thanks,
srinivas jonnalagadda

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