You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ben Bookey <be...@gistec-online.de> on 2004/06/06 15:38:27 UTC

RFC and j_security_checks

Dear List,

Q.1 We implement the integrated security model inside our app context
[defined in server.xml ].


	<Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
driverName="oracle.jdbc.driver.OracleDriver"
connectionURL="jdbc:oracle:thin:@	100.100.100.60:1521:ingeo"
connectionName="ingeonew" connectionPassword="ingeonew" userTable="users"
userNameCol="user_name" userCredCol="user_pass" 	userRoleTable="user_roles"
roleNameCol="role_name" />

	When Tomcat 4.1.27 has been started and I goto the site, I get sometime
http://myapp/j_security_check in the navigation bar of my browser, and then
we 	get a 500 error I believe (might even be 404). Could anyone explain what
could be going on ?


Q.2  We have inside our WEB-INF\classes directory a com.ourapp.appname with
all our database classes.

     When I copy the app, from our development windows machine on to the
linux server, and start tomcat there, it compiles the jsp files and
     servlets but not the java files inside the WEB-INF\classes DIR.

     How can I force Tomcat to compile all the contents of the WEB-INF dir
including the java classes we have written.


Q.3  I am actually amazed (and impressed) that the windows compiled classes,
work on the linux machine!! My understanding is that the compiled
     byte-code is operating system dependent. i.e. our windows .class files
should not be able to work on linux ? or am I imagining it ?

     I understood that "write-once and run-anywhere" meant that the java
files still needed to be recompiled ??



Q.4 I recently had a reply´to a question(in the Apache FileUpload commons
mailing list!) that the file name passed from a browser uploading to
    a server is not set by any standard and he mentioned the RFC (after I
googled, I guess means Request for Change).

    Who is actually responsible for determining the HTTP standard itself, is
there an org called
    RFC or is it a mechanism of the WC3 ?


Looking forward to any replies.

regards,

BB








---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


MOD_JK2 and Tomcat start page

Posted by stella luna <st...@mac.com>.
How to i get the default tomcat index.jsp page to appear using mod_jk2?

I got the examples to work, but mapping a uri to the ROOT does not do 
much for me.

I guess my ultimate goal is to be able to use the manager and admin 
tools.

Anyone have anythoughts on this?


TDG


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: RFC and j_security_checks

Posted by "Victor R. Cardona" <vc...@covad.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ben Bookey wrote:
| Q.3  I am actually amazed (and impressed) that the windows compiled
classes,
| work on the linux machine!! My understanding is that the compiled
|      byte-code is operating system dependent. i.e. our windows .class
files
| should not be able to work on linux ? or am I imagining it ?
|
|      I understood that "write-once and run-anywhere" meant that the java
| files still needed to be recompiled ??

The bytecode is OS independent. You don't need to recompile from source
to run on a different platform, because the Java Runtime reads and
executes the bytecode. So as long as you have a JRE on a platform, you
should be able to use .class files that were compiled on another
platform without any problems.

| Q.4 I recently had a reply´to a question(in the Apache FileUpload commons
| mailing list!) that the file name passed from a browser uploading to
|     a server is not set by any standard and he mentioned the RFC (after I
| googled, I guess means Request for Change).
|
|     Who is actually responsible for determining the HTTP standard
itself, is
| there an org called
|     RFC or is it a mechanism of the WC3 ?

HTTP is an IETF standard, although W3C did do a lot of work on it. Check
~ their respective Websites for more details.

Victor
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAw02v8MW+BaXrmuERAqCjAJsG+DC/y2R1md46gzJVpPT/hhPEngCdHCiQ
QDoSz5q7ZSnMsfcv8d/XHk8=
=sS5L
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org