[JBoss-user] getCallerPrincipal problems

2001-10-02 Thread Alistair Black
Hi, I've come from a Sybase EA Server background where I was able to code a custom module to authenticate the user connection. I'd like to be able to do the same with JBoss which I'm piloting at present. The authentication involves calling an EJB from the custom module. We're using Tomcat

Re: [JBoss-user] getCallerPrincipal problems

2001-10-02 Thread Scott M Stark
Maybe this article will help with some confusion: http://www.javaworld.com/javaworld/jw-08-2001/jw-0831-jaas.html If your running Tomcat outside of JBoss then you have to write your own request interceptor to pass the web container authentication information to the EJB request layer. In this

[JBoss-user] Commit after a long proccess

2001-10-02 Thread Pedro Gómez
I am running a proccess and when i have few data it runs well, i mean it performs the commit and i can see the result in the DB, but when there are many data and the proccesses takes about 15 minutes, the proccess ends well but i does not perform the commit... I say the proccess end well,

[JBoss-user] ejb mysql ejbPassivate() - NEWBIE QUESTION -

2001-10-02 Thread Papo Napolitano
I'm trying to write an Session EJB to administrate users in a Database. I've written it and connect to mySql in this way : CODE -- public int dbConnect() { try { Class.forName(org.gjt.mm.mysql.Driver).newInstance();

Re: [JBoss-user] getCallerPrincipal problems

2001-10-02 Thread Vinay Menon
Has anyone tried integrating non-web applications with the JBoss security framework? I believe principals can be propagated from Web Containers to the JBoss easily but what about from Swing based applications etc? Any thoughts? - Original Message - From: Scott M Stark [EMAIL PROTECTED]

Re: [JBoss-user] JBoss-2.4.2 release with updated Tomcat4.0/3.2.3 bundles

2001-10-02 Thread Vinay Menon
Hello Lennart, I must apologise for this mail reaching this list! The mail was basically forwarded to me by a collegue of mine and I was responding to him that we were not planning to do an upgrade to JBoss 2.4.2 immediately. I guess I did a reply within the forwarded mail instead of the

RE: [JBoss-user] getCallerPrincipal problems

2001-10-02 Thread marc fleury
|-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED]]On Behalf Of Vinay Menon |Sent: Tuesday, October 02, 2001 10:49 AM |To: [EMAIL PROTECTED] |Subject: Re: [JBoss-user] getCallerPrincipal problems | | |Has anyone tried integrating non-web applications with the JBoss

Re: [JBoss-user] about a commit

2001-10-02 Thread Ole Husgaard
Hi, The default transaction timeout in JBoss is 300 seconds, so you probably see a message about a transaction timeout in your server log. Even after a tx timeout, your code may continue to run, but you can never commit the transaction - only roll it back. Try raising the default transaction

[JBoss-user] design question

2001-10-02 Thread Tahir Awan
Hi, (sorry for this rePost but I think someone should be able to answer this). For a new project, I need to decide whether its suitable to use session beans or a servlet/jsp approach is enough. The java application talks to a legacy C++ application and all the communication is XML over

[JBoss-user] JNDI with Jetty Servlets

2001-10-02 Thread Edward Q. Bridges
i am using the JBoss 2.4.1 bundle with Jetty 3.1.RC9-1 on Win 2k and JDK 1.3. i have an entry in web.xml in a .war as such: web-app env-entry descriptionThis is an environment entry./description env-entry-nameEnvName/env-entry-name env-entry-valueThisIsaValue/env-entry-value

[JBoss-user] Catalina vs. Jetty vs. Resin

2001-10-02 Thread Patrick Munis
Title: Catalina vs. Jetty vs. Resin Has anyone done some benchmarking with tomcat 4.0 (catalina) vs. Jetty vs. Resin thanks Patrick

RE: [JBoss-user] Tradeoffs between Tomcat/JBoss vs. Tomcat/hancoded?

2001-10-02 Thread David You
Should be very similiar for both approach. The development time for EJB may be a bit longer due to the difficult to do testing. If you did a good design the maintainability should be almost the same. The design for tomcat/handcoded has a tendency to be messy while most people follow J2EE blue

[JBoss-user] Jboss Tomcat Error

2001-10-02 Thread Papo Napolitano
I've a webapp running ok, but every time that a made a rebuild of it a got the following error if I don't restart tomcat server. Anybody can help ?? Error: 500 Location: /usermanager/index.html Internal Servlet Error: java.lang.IllegalStateException: Can't happen - classname is null, who

[JBoss-user] UserTransaction/Persistence problems

2001-10-02 Thread Juraj Pecigos
Hello, I have a problem when using javax.transaction.UserTransacion in a client-app. Im working with JBoss 2.4.1. At first the code: //* Object obj = jndiContext.lookup(ejb/eb/UserBean); UserHome userHome = (UserHome )

Re: [JBoss-user] Jboss Tomcat Error

2001-10-02 Thread Fred Loney
This is a long-standing tomcat problem that is mentioned from time to time on the tomcat list. The problem arises because recompile gens a new class serial id which confuses tomcat. The last I heard, the tomcat folks dismiss it as a classloader problem and suggest that you do what you did:

Re: [JBoss-user] UserTransaction/Persistence problems

2001-10-02 Thread Fred Loney
I may be wrong, but I get the sense that UserBean is a CMP Entity Bean. If so, then the problem is that programmatic transaction demarcation only applies to a BMT (Bean Managed Transaction) Session Bean. Fred Loney Spirited Software, Inc. www.spiritedsw.com - Original Message - From:

[JBoss-user] Trouble loading JBossMQ libraries within tomcat/webapps directory

2001-10-02 Thread Brett Palmer
I have a couple of Web applications that contain JMS clients communicating to a JBoss server. The Jboss libraries are packaged in the appropriate WAR file and then unzipped into the webapps/application/WEB-INF/lib directory. When the servlet/jsp page tries to make a JMS call I always get a

[JBoss-user] Solid J2EE Framework

2001-10-02 Thread Hicks, James
Anyone know of a solid, preferably open source, j2ee framework. It needs to include EJB/JSP/Servlet in the framework. James ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

[JBoss-user] Tomcat 4.0 and Jboss

2001-10-02 Thread Papo Napolitano
I'm trying to install Tomcat 4.0 with Jboss (2.4). I was looking at jboos.org but I couldn't found in the file server.xml the sections described in the how-to. Any one is running with this configuration and can send me the server.xml for Tomcat 4.0 and Jboss ?? Regards Papo

RE: [JBoss-user] Solid J2EE Framework

2001-10-02 Thread marc fleury
not me... and I don't think you will find many of these around here... sorry marcf |-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED]]On Behalf Of Hicks, James |Sent: Tuesday, October 02, 2001 5:25 PM |To: [EMAIL PROTECTED] |Subject: [JBoss-user] Solid J2EE

RE: [JBoss-user] Solid J2EE Framework

2001-10-02 Thread Hicks, James
Found one for a lot of $$...realmethods.com -Original Message- From: marc fleury [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 02, 2001 5:04 PM To: Hicks, James; [EMAIL PROTECTED] Subject: RE: [JBoss-user] Solid J2EE Framework not me... and I don't think you will find many of

[JBoss-user] JBoss 2.4.2 - Catalina 4.0 Issue

2001-10-02 Thread menonv
Hello, Has anyone tried out the new JBoss 2.4.2 / Catalina 4.0 download? It seems to start up without a hitch but none of the sample servlets/jsps work when Catalina is started with JBoss. However, if I start Catalina in standalone more all the examples work. Seems to suggest something is

[JBoss-user] JMS Resource Exception

2001-10-02 Thread David You
Hi, I am using JMS as an Resource with JBoss version 2.4.1. And I am getting an exception: Any Ideas? thanks david Exception=== [Default] FINE: created connection: org.jboss.mq.SpyXAConnection@273d30 [Default] FINE: xaQueueSession: org.jboss.mq.SpyQueueSession@108727

Re: [JBoss-user] JNDI with Jetty Servlets

2001-10-02 Thread Julian Gosnell
I am having reports of another JNDI related problem with this release. Would it be possible for you to drop back to the 2.4.0/3.1.RC8 release and let me know if that works, or shows the same problem ? Thanks, Jules Edward Q. Bridges wrote: i am using the JBoss 2.4.1 bundle with Jetty

RE: [JBoss-user] JMS Resource Exception

2001-10-02 Thread David You
Figured out what's wrong. Some how the persistent directory is messed up. after delete the DAT0 files under jbossmq directory and restarted the server. It work just fine. thanks david -Original Message- From: David You Sent: Tuesday, October 02, 2001 3:21 PM To: JBoss User List

RE: [JBoss-user] JMS Resource Exception

2001-10-02 Thread David You
There is still something wrong with it. Everytime after I shutdown the server, I have to manually delete the DAT0 files. Otherwise it just went crazy after it restarted. regards david -Original Message- From: David You Sent: Tuesday, October 02, 2001 3:21 PM To: JBoss User List

RE: [JBoss-user] design question

2001-10-02 Thread Craig Johannsen
Some advantages of session beans: 1.) Access via RMI. No need for a web server. You can use a Java thin-client approach. The client is mainly user-interface code. The session beans contain some business logic and make use of data access objects that interface to your legacy application.