Re: Deploying Servlets in users directory

2008-05-18 Thread Mark Thomas
Cristian Bullokles wrote: I've copied all servlets examples in default installation to my home dir, and all jsp pages work, but when I call to a servlet it fails, Exactly what did you copy to where? You should have ended up with: .../public_html/jsp .../public_html/servlets .../public_ht

RE: Reload the Embedded Tomcat relam

2008-05-18 Thread Satyanarayana Bobba
Hi Filip, Do you have any example to reload the Realm with the updated tomcat-users.xml file. I have understood in this way for your replay, if it is wrong then please correct me. Lifecycle methods means, MemoryRealm.stop(); MemoryRealm.start(); Embedded.setRealm(MemoryRealm); I have tried

Re: Tomcat manager

2008-05-18 Thread Khurram H Khan
Well in this email message I have mentioned "some_user" multiple times but that's not the case, I have different usernames and passwords for all the different roles that exist in the tomcat-users.xml file. Any other suggestions or advice? Regards, *Khurram Khan* Filip Hanik - Dev Lists wrote

Re: The return type is incompatible with JspSourceDependent.getDependants()

2008-05-18 Thread samk
See Thread at: http://www.techienuggets.com/Detail?tx=6123 Posted on behalf of a User This problem is sometimes caused by an older version of the JspSourceDependent class being in one of your class loaders. In my case, GWT (google widget toolkit) had this class so that it could install a tomca

Re: question about protected resources in a security-constraint and login-config

2008-05-18 Thread nkdepot-misc
Thanks for that. Do most production applications deployed with tomcat use application context relative addresses? Natalie - Original Message > From: Mark Thomas <[EMAIL PROTECTED]> > To: Tomcat Users List > Sent: Sunday, 18 May, 2008 7:39:32 PM > Subject: Re: question about protected

how to change http://107.105.13.1/webapp/ into http://www.mydomain.com/webapp/

2008-05-18 Thread ryan webb
Hello, How to change http://107.105.13.1/webapplication/ into http://www.mydomain.com/webapplication/ in tomcat? If not Tomcat related please let me know...(give me tips or anything) Thank you =) -- warmest regards, Ryan Webb - Philippines email: [EMAIL PROTECTED]

Re: Can different webapps share a context?

2008-05-18 Thread Andre Prasetya
Another way is to setup a webapps that will act as a broker, communications via web service, if you use spring framework, you can use its remoting feature, or you can use axis/xfire for its web service. -andre- Aleksandar Matijaca wrote: I've had to do this a few times in my life - never easy

Re: JMX MBean

2008-05-18 Thread Bill Barker
To use the mbeans-descriptor.xml method, somewhere in your code you need to do something like: Registry.getRegistry(null, null).registerComponent(this, oname, null ); Where 'oname' is the ObjectName that you want to register your component under. Since you are using TC6, the co

Re: Can different webapps share a context?

2008-05-18 Thread Aleksandar Matijaca
I've had to do this a few times in my life - never easy... One way is to use an in-memory database like hsqldb - ( http://hsqldb.org/ ) - and what you do here is one context sticks an object with a key into the database, and the other context picks it up from the hsqldb - both "listen" in on a soc

Can different webapps share a context?

2008-05-18 Thread Dola Woolfe
Hi, I guess the subject asks the question... I have two different webapps and I want them to be able to share objects. Can that be done? I guess it sounds like an FAQ but I can't find the answer. Thanks! Aaron - To

Re: Deploying Servlets in users directory

2008-05-18 Thread Cristian Bullokles
On Sun, May 18, 2008 at 9:25 PM, Johnny Kewl <[EMAIL PROTECTED]> wrote: >>> To start a new topic, e-mail: users@tomcat.apache.org >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >> >> My idea is to deploy servlets in the public_html directory

Re: Deploying Servlets in users directory

2008-05-18 Thread Johnny Kewl
To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] My idea is to deploy servlets in the public_html directory of each user in my host. I've configured my tomcat, as the tomcat documentation suggests.

Re: Deploying Servlets in users directory

2008-05-18 Thread Cristian Bullokles
On Sun, May 18, 2008 at 6:07 PM, Johnny Kewl <[EMAIL PROTECTED]> wrote: > > - Original Message - From: "Mark Thomas" <[EMAIL PROTECTED]> > To: "Tomcat Users List" > Sent: Sunday, May 18, 2008 7:11 PM > Subject: Re: Deploying Servlets in users directory > > >> Johnny Kewl wrote: >>> >>> ---

Re: Deploying Servlets in users directory

2008-05-18 Thread Johnny Kewl
- Original Message - From: "Mark Thomas" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Sunday, May 18, 2008 7:11 PM Subject: Re: Deploying Servlets in users directory Johnny Kewl wrote: - Original Message - From: "Cristian Bullokles" <[EMAIL PROTECTED]> To: Sent: Sa

Re: JMX MBean

2008-05-18 Thread Liang Xiao Zhu
Hi Bill, Yes, I am implementing a custom class that doesnt extend from any Tomcat class. But I dont know how to self-register, I tried change the mbeans-descriptor.xml and others things and looks like that nothing works!!! Thanks Bill Barker escribió: Chuck's post works for implementing cu

Re: JMX MBean

2008-05-18 Thread Liang Xiao Zhu
Hi, I still dont understand how to implement what I want to do. Thanks Bill Barker escribió: Chuck's post works for implementing custom Tomcat components (e.g. a custom Realm extending RealmBase). If you are implementing a custom class that doesn't extend any Tomcat class, then your class wi

Re: Deploying Servlets in users directory

2008-05-18 Thread Mark Thomas
Johnny Kewl wrote: - Original Message - From: "Cristian Bullokles" <[EMAIL PROTECTED]> To: Sent: Saturday, May 17, 2008 10:09 PM Subject: Deploying Servlets in users directory Hello all, I'm using tomcat 6.016 and have configured userconfig in server.xml to look in user's public_h

Re: Deploying Servlets in users directory

2008-05-18 Thread Johnny Kewl
- Original Message - From: "Cristian Bullokles" <[EMAIL PROTECTED]> To: Sent: Saturday, May 17, 2008 10:09 PM Subject: Deploying Servlets in users directory Hello all, I'm using tomcat 6.016 and have configured userconfig in server.xml to look in user's public_html subdir for jsps

Re: Portlet deployment - which JAR files to include?

2008-05-18 Thread Youssef Mohammed
mind to post the stack trace ? On Sun, May 18, 2008 at 1:32 PM, Ran Harpaz <[EMAIL PROTECTED]> wrote: > > Hello, all, > > I am working with Jetspeed 1.6-Tomcat 5.5.9 fusion and am trying to deploy > a > portlet project I created in JDeveloper. The WAR file I make is well-formed > and is, in fact,

Portlet deployment - which JAR files to include?

2008-05-18 Thread Ran Harpaz
Hello, all, I am working with Jetspeed 1.6-Tomcat 5.5.9 fusion and am trying to deploy a portlet project I created in JDeveloper. The WAR file I make is well-formed and is, in fact, deployed, but it shows me an error when I attempt to view the portlet in Jetspeed. So far, all my portlet does is

Re: question about protected resources in a security-constraint and login-config

2008-05-18 Thread Mark Thomas
[EMAIL PROTECTED] wrote: Or is there an exemption for those pages defined in the login-config? Yes, there is an explicit exemption for those pages and those pages only. Any help with the original question would be much appreciated. Application context relative addresses look like your best be