You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by ri...@relativity.org on 2007/10/09 01:04:25 UTC

Tomcat 4.0.4 on OS/390?

I've been looking into getting Tomcat 4.0.4 running on 
OS/390 for a day or so now.  I've found various references 
to doing this, but nothing conclusive yet.  

Could someone please let me know if they have it running 
themself and/or know what would be involved in doing this.

I've also been working on getting Tomcat 3.3.1 running on 
the same machine (just in case I can't get 4.0.4 going). 
 So information on 3.3.1 on OS/390 would he helpful as 
well.

Current notes:
- may have to convert certain files such as 
catalina.policy/tomcat.policy, tomcat.conf, and 
tomcat.propeties... from ascii to EBCDIC.
- I'm under the impression that all served up files should 
remain in ascii.

I'm currently (today) focussing on even getting Tomcat 
3.3.1 going.  All of the JSP examples run great, but I'm 
running into the following error when I run the servlet 
examples:
Error: 500
Location: /examples/servlet/HelloWorldExample
Internal Servlet Error:

java.util.MissingResourceException: Can't find resource 
for bundle java.util.PropertyResourceBundle, key 
helloworld.title
	at 
java.util.ResourceBundle.getObject(ResourceBundle.java(Compiled 
Code))
	at 
java.util.ResourceBundle.getString(ResourceBundle.java:342)
	at HelloWorldExample.doGet(Unknown Source)
etc...

The properties file, LocalStrings.properties, is in the 
default location and seems fine.  It is stored in ascii, 
which I'm assuming is correct, just like all the other 
files.

I've looked on the web via google and through this list's 
archives and unfortiontely still haven't found solid 
information regarding this Tomcat on OS/390.  I couldn't 
even tell if this scenario is officially supported by the 
Tomcat group. Tomcat has rocked for me, I'm using it at 
work and for personal projects at home.

Any input would be greatly appreciated. Thank you so much! 

Cheers,
Rich

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Having same session in SingleSignOn

Posted by "Craig R. McClanahan" <cr...@apache.org>.

On Thu, 23 Jan 2003, shanmugampl wrote:

> Date: Thu, 23 Jan 2003 15:06:14 +0530
> From: shanmugampl <sh...@india.adventnet.com>
> Reply-To: Tomcat Users List <to...@jakarta.apache.org>,
>      shanmugampl@india.adventnet.com
> To: Tomcat Users List <to...@jakarta.apache.org>
> Subject: Having same session in SingleSignOn
>
> Hi All,
>
>     I am using tomcat4.1.18. I have enabled SingleSignOn in my tomcat
> and this functionality is working fine. The problem is, I have some
> values stored in session of application A and i want to access these
> information's in Application B. But as a new Session object is getting
>  created for every context, i am unable to fetch the values stored. Is
> there any way by which i can have the same session object for all my
> application while using SingleSignOn.
>

The servlet spec requires that sessions be scoped per webapp, even in a
single sign on environment.  Even if you could share a session, it would
not work anyway, because the web apps each have their own class loaders
and therefore do not share classes.  All you would get is
ClassNotFoundException problems.

You can share things between webapps by using a database, or by putting a
class in shared/lib or common/lib and using a static variable there to
store the common stuff.

> Thanks
> Shanmugam.PL

Craig



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Having same session in SingleSignOn

Posted by shanmugampl <sh...@india.adventnet.com>.
Hi All,

    I am using tomcat4.1.18. I have enabled SingleSignOn in my tomcat 
and this functionality is working fine. The problem is, I have some 
values stored in session of application A and i want to access these 
information's in Application B. But as a new Session object is getting 
 created for every context, i am unable to fetch the values stored. Is 
there any way by which i can have the same session object for all my 
application while using SingleSignOn.

Thanks
Shanmugam.PL


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>