Re: [JBoss-user] Auto-Incr

2001-07-10 Thread Wei-ju Wu
Thanks a lot, that made me rethinking about it and now I am using the generators from InterBase which seem to be similar to sequences in Oracle. Do you think it would be generate the ID implicitly with a trigger or does it make sense to encapsulate this in a bean method or even a dedicated EJB ?

[JBoss-user] session statefull destruction

2001-07-10 Thread dominique . paolini
I 'd like to known how a session statefull is destoyed when a client disconnect. thanks NetCourrier, votre bureau virtuel sur Internet : Mail, Agenda, Clubs, Toolbar... Une gamme d'outils gratuits et performants à votre service. Web/W

Re: [JBoss-user] Help

2001-07-10 Thread r . sharath
Thanks Guys, I had missed Jboss-web.xml file. regards sharath On Mon, 09 Jul 2001 13:33:52 -0500, [EMAIL PROTECTED] wrote: > And finally, if you are getting a class not found type of error when the > JSP is compiled, well, there are no good answers. The best answer is to > wrap your EJBs

Re: [JBoss-user] MySQL, BMP, Table not found

2001-07-10 Thread Burkhard Vogel
1 error so below: - Original Message - From: "Scott Salisbury" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 09, 2001 11:35 PM Subject: [JBoss-user] MySQL, BMP, Table not found Hello, I am using the O'Reilly book to familiarize with EJB. I am using JBOSS 2.2.1 with Tom

Re: [JBoss-user] BMP problem

2001-07-10 Thread Burkhard Vogel
Hi, Do you close your Resultset/PreparedStatement/Connection after you are finished with it??? Burkhard - Original Message - From: "$BMe5#(B" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 10, 2001 7:40 AM Subject: [JBoss-user] BMP problem > I create a web application.

Re: [JBoss-user] BMP entity bean, commit problems

2001-07-10 Thread Burkhard Vogel
Hi, Are you sure you are getting the right Database, sometimes DefaultDS is picked up instead of the DB wanted. What kind of transaction attribute have you assigned to your method? Burkhard - Original Message - From: "ralph" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July

RE: [JBoss-user] session statefull destruction

2001-07-10 Thread Bordet, Simone
Hi ! > I 'd like to known how a session statefull is destoyed when a > client disconnect. No. >From JBoss 2.4 you can set a timeout for the life of stateful beans. When it expires the bean is removed. Simon ___ JBoss-user mailing list [EMAIL PROT

Re: [JBoss-user] javax.jms.JMSException: Invalid configuration - how do I fix this ?

2001-07-10 Thread Burkhard Vogel
hi, make sure there is a db/jbossmq/ dir in your distro. Burkhard - Original Message - From: "Jon Rose" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 10, 2001 4:37 AM Subject: [JBoss-user] javax.jms.JMSException: Invalid configuration - how do I fix this ? > I have jbos

[JBoss-user] update before delete

2001-07-10 Thread Achim Demelt
hi, I'd like to come back to the topic of updating entity beans before delete operations. (see http://www.mail-archive.com/jboss-user@lists.sourceforge.net/msg08292.html ) the answer to this was referring to bill's bugfix for issuing updates before finders. (see http://sourceforge.net/tracker/in

[JBoss-user] Exception-Distributed transaction waiting for lock

2001-07-10 Thread Manisha Mukhi
Hello, We are facing a problem, after deployment and partial execution of code when we try to fetch the data populated in an EJB  by the get methods defined in the ejb, the server responds after a long interval of time with the following exception.(the data is populated by a call to finder metho

Re: [JBoss-user] BMP entity bean, commit problems

2001-07-10 Thread ralph
No, I'm not sure that I'm getting the right database. However, prior to trying to create a record, I use another method to check if the caller has the right to create and that is done by looking up a password in another table. As that works okay, I assume that I get the correct database also in th

RE: [JBoss-user] Closing connections, etc

2001-07-10 Thread Paul Austin
Jim, The reason that you should close all the resources in reverse order is to insure that all resources are cleaned up. There are bugs in some drivers that do not perform correct clean up if you fail to close the result set and statement first. You should also catch any exceptions from the first

Re: [JBoss-user] Closing connections, etc

2001-07-10 Thread jK.MkIII
Jim Robinson wrote: Hi, in most examples of using JDBC connections a pattern like the following pattern is used to clean up resources finally {   if(resultSet != null) resultSet.close();   if(statement != null) statement.close();   if(connection != null) connection.close(); } Shouldn't closing th

RE: [JBoss-user] Re: SQLException: Communication link failure: java.net.SocketException

2001-07-10 Thread Christophe LE NABAT
Thanks a lot, Ralf. Christophe ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net

[JBoss-user] Jboss Applet problem

2001-07-10 Thread Naredi Vikas
I had made an session Bean .And it deployed succesfully.   When i run client as an application then it runs fine but when i run client as an applet it gives me the following exception   java.security.AccessControlException: access denied (java.io.FilePermission \usr\local\jboss-tomcat-2.2\j

[JBoss-user] Diffence between connection pool and data source

2001-07-10 Thread "Dufner, Jürgen (KA)"
Hello, whats the diffences between a data source and a connection pool? In the jboss.jcml a data source is defined: and in the next row a connection pool: InstantDB Must the names of the connection pool and the data source the same or could/must they differ? Thanks a lot, Juergen

[JBoss-user] Weird DNS problem

2001-07-10 Thread Gerry Duhig
Hi! I have setup a demo/test installation of JBoss with some sample applications deployed on a Linux box. When tested on my own dialup internet connection everything is 100% OK. So, I shipped the linux box to my client's site, hooked up to their LAN and started the demo! At the point where JBoss

RE: [JBoss-user] Jboss Applet problem

2001-07-10 Thread Pelle Poluha
I've experienced the same thing. The solution for me was to add a security policy on the client. But I don't know why I had to do it. Later on, I added security on my beans so that I would have to log in to access them. After that, I got exceptions all the time, even though my security policy made

[JBoss-user] help needed with form-based authentification using jboss 2.2.2 & tomcat 3.2.2

2001-07-10 Thread Jan Heise
hi folks, i'm obviously doing soemthing wrong here. a search through the archives didn't present a solution so i have to ask you even so i think this has been asked before. i want to do form-based login for my webapp. securing ejb's is not yet needed, controlling who can login to the app is.

[JBoss-user] EJB JNDI lookup failing - please help!

2001-07-10 Thread Adam Lipscombe
Folks, I have a simple stateless SessionBean packaged in a jar file. I cannot seem to look up the bean ref via JNDI. The ejb-jar.xml file looks like this: http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd'> OrganisationListBean uk.co.landmark.contactmanager.server.organisation.ej

Re: [JBoss-user] Closing connections, etc

2001-07-10 Thread David Ward
I agree with Paul. Believe it or not, under extreme load I've seen problems with the Oracle driver (classes12.zip) unless you closed everything you could - as soon as you could - in the reverse order. Always good practice. David -- Paul Austin wrote: > Jim, > > The reason that you should

[JBoss-user] Re: JBoss-user digest, Vol 1 #1072 - 10 msgs

2001-07-10 Thread Javasals
Burkhard, Thank you for your reply.  I have made the configuration change that you showed me and have redeployed the bean. However, it still crashes with the same message.  Here is a look at the sql stm from the java code...Also, I took out the reference to the database test.Ship, where test i

Re: Re: [JBoss-user] MySQL, BMP, Table not found

2001-07-10 Thread tim . haley
Scott, I strongly suggest that you remove all JDBC Driver and DataSource information that you are not actively using from your configuration. IMHO, that is the easiest way to determine if you are indeed connecting to the correct database. When I first started trying to connect to an alternate

[JBoss-user] Re: JBoss shutdown

2001-07-10 Thread Achilleus Mantzios
> This is how i shut my jboss. Substitute the paths with what is appropriate for you. -- &Agr;&khgr;&igr;&lgr;&lgr;&eacgr;&agr;&sfgr; &Mgr;&aacgr;&ngr;&tgr;&zgr;&igr;&ogr;&sfgr; Application Developer Eurisko A.E. &Pgr;&igr;&ngr;&dgr;&aacgr;&rgr;&ogr;&ugr; 9 106 71 &Agr;&thgr;&eeacgr;&

RE: [JBoss-user] Adding web app to Jetty...pls help.

2001-07-10 Thread Brian D. Brown
Jules, Thanks for your reply. I got the application configured, by editing the jetty.xml file. Here is the entry that I made: /test/* /webapps/test /etc/webdefault.xml false My web app has a jsp and a servlet. I can get the directory listing, but when I try to run the

[JBoss-user] running JBoss inside another app

2001-07-10 Thread Stewart Allen
Before I beat my head bloody for too long, I thought I might ask if anyone else has attempted this. I am working on booting JBoss inside of an already running Java application. Aside from some hard coded "new File("../..")" style issues in Main.java there are a lot of assumptions made in the c

[JBoss-user] 8083

2001-07-10 Thread Gregor Rayman
What si the HTTP Server on this port good for? -- gR ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

[JBoss-user] run_with_tomcat.sh | Error while starting tomcat-test.war: null

2001-07-10 Thread Graham . Forte
HI I am attempting to setup apache with JBoss-2.2.2_Tomcat-3.2.2 on a solaris 8 machine on a closed network(consequently I am referencing the dtd locally in my web.xml files). I have an error that reads as follows:Any Ideas would be greatly appreciated! 2001-07-10 08:40:02 - ContextManager: Addin

Re: [JBoss-user] EJB JNDI lookup failing - please help!

2001-07-10 Thread Dragos Haiduc
Try InitialContext initialContext = new InitialContext(env); in your lookup code, otherwise why would you create those properties, if you are not going to use them??? Adam Lipscombe wrote: [EMAIL PROTECTED]">Folks,I have a simple stateless SessionBean packaged in a jar file. I cannot seemto look

[JBoss-user] Jsp & EJB's

2001-07-10 Thread Achilleus Mantzios
Is there a quick and dirty HOWTO of how can we run jsp's that access EJB's ??? by Simply <%@ page import="org.jboss.docs.interest.Interest" %> <%@ page import="org.jboss.docs.interest.InterestHome" %> jasper produces : Class org.jboss.docs.interest.Interest not found in import. Where can we

RE: [JBoss-user] running JBoss inside another app

2001-07-10 Thread marc fleury
|Before I beat my head bloody for too long, I thought I might ask if |anyone else has attempted this. I am working on booting JBoss inside of |an already running Java application. Aside from some hard coded "new |File("../..")" style issues in Main.java there are a lot of assumptions |made in the

Re: [JBoss-user] CMP Entity Bean using Opta2000 Driver - Has Anyone got this to work???

2001-07-10 Thread Ole Husgaard
Hi, IMHO making Xid an interface is a _big_ mistake: It should have been a final class. Maybe the JTA designers thought that a class implementing Xid and wrapping the OTS oid_t type could be useful, but IMO wrapping some often accessed data in a proxy or facade is a lot slower than copying at mo

Re: [JBoss-user] Closing connections, etc

2001-07-10 Thread Ole Husgaard
"jK.MkIII" wrote: > Wouldn't it be better to use.. > > finally { > try { > if (statement != null) statement.close(); > } catch (Exception e) {} > try { > if (connection != null) connection.close(); > } catch (Exception e) {} > } Or even better: resource = try {

Re: [JBoss-user] Jsp & EJB's

2001-07-10 Thread Allen Fogleson
Accessing EJB's directly in JSP is strongly discouraged, however if you are going to do this in a JSP you will have to include the home and remote classes in the WEB-INF/lib or WEB-INF/classes directory for them to be found. I would actually suggest using a java bean to encapsulate the calls m

RE: [JBoss-user] CMP Entity Bean using Opta2000 Driver - Has Anyone got this to work???

2001-07-10 Thread marc fleury
|IMHO making Xid an interface is a _big_ mistake: |It should have been a final class. nuff said. |There is _never_ more or less information in an |Xid, or interoperability with OTS/JTS and X/Open |DTP would be void. | |I don't know why Oracle made a version of their |JDBC driver dependent on a p

Re: [JBoss-user] 8083

2001-07-10 Thread Ingo Bruell
Hi Gregor, GR> What si the HTTP Server on this port good for? Dynamicly classloading, of for example home and remote interfaces. so long Ingo Bruell --- <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> OldenburgPGP-Fingerprint: CB01 AE12 B359 87C4 BF1C 953C 8FE7 C648 169E E5FC Germany PGP-

[JBoss-user] JBoss and J2SDKEE1.3

2001-07-10 Thread David M. Lang
Hi, I have a session bean that uses a delegate class (a standard Java class) to write a message to a JMS topic using the javax.jms package from Sun's J2SDKEE1.3 (Beta 2). The delegate class works fine stand-alone. I then add it to the bean, and run up JBoss (version 2.2.2). It complains that i

Re: [JBoss-user] Log4j configuration file location

2001-07-10 Thread Scott M Stark
- Original Message - From: "Saint-Martin Cecile" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, July 10, 2001 2:57 AM Subject: [JBoss-user] Log4j configuration file location > > Log4j is included in JBoss, and configuration file is log4j.propertie

Re: [JBoss-user] Adding web app to Jetty...pls help.

2001-07-10 Thread Burkhard Vogel
Yep, you are missing tools.jar on your calsspath. If youwould have started the jboss/jettx combo with the run_with_jetty:* batch and had JAVA_HOME set, this would have been added to yout classpath! Burkhard - Original Message - From: "Brian D. Brown" <[EMAIL PROTECTED]> To: <[EMAIL PROTECT

[JBoss-user] Re: JBoss shutdown

2001-07-10 Thread Richard Bottoms
With JBoss being used in conjunction with apache, jabber and other software running as daemons, is there are facility to start/stop those services from within JBoss? I am thinking of something like a 'service bean' that would be the first to fire off at shutdown to kill apache for instance, and t

Re: [JBoss-user] run_with_tomcat.sh | Error while starting tomcat-test.war: null

2001-07-10 Thread Burkhard Vogel
Hi, firrst of all, you are running JBoss/Tomcat yust fine, _ONLY_ tomcat-test.war is not deployed. This is porbably because you don't have an online connection up, the point is that the parser tries to lookup a dtd from suns server. Changing the URL of the dtd (I think its in web.xml (not sure)) w

[JBoss-user] NoClassDefFoundError: Referencing an EJB from another in a different jar file

2001-07-10 Thread Robert Bachan
Hi Guys, fairly new to JBoss and trying to call a session bean from another. I've installed a security manager but and the JNDI bean context lookup is fine, but when I try to cast the Home Interface I get: [CompanySearchBean] TRANSACTION ROLLBACK EXCEPTION:com/knet/session/utils/UtilitiesHome; n

Re: [JBoss-user] help needed with form-based authentification using jboss 2.2.2 & tomcat 3.2.2

2001-07-10 Thread Scott M Stark
You need to set the security-domain used by the web app in the jboss-web.xml descriptor as described in the JAAS tutorial: http://www.jboss.org/documentation/HTML/ch11s84.html - Original Message - From: "Jan Heise" <[EMAIL PROTECTED]> To: "jboss-user" <[EMAIL PROTECTED]> Sent: Tuesday, Ju

Re: [JBoss-user] Weird DNS problem

2001-07-10 Thread Tristan Donaldson
Gerry, The DTD it is probably trying to access is: http://java.sun.com/j2ee/dtds/web-app_2_2.dtd from the web.xml file. Are you sure the machine which you are running JBoss can access this url?? If not there is probably a firewall blocking outward traffic on port 80 (may have to run through

RE: [JBoss-user] Adding web app to Jetty...pls help.

2001-07-10 Thread Brian D. Brown
That was it. I had set the JAVA_HOME variable in the run.bat file, instead of run_with_jetty.bat (although I was using run_with_jetty to launch the process, which calls run.bat). Any ideas on the servlet issue? Thanks for the help. Brian -Original Message- From: [EMAIL PROTECTED] [mai

[JBoss-user] reloading classes

2001-07-10 Thread Emerson
I made a system that depending on the pathInfo calls a diferent comand class (command design pattern). The problem is that the class is not reloaded when I change it, is there any manner to accomplish that? Emerson Cargnin TRE-SC Setor de Desenvolvimento Tel: (48) 251-3700 - Ramal 3134 _

Re: [JBoss-user] running JBoss inside another app

2001-07-10 Thread Stewart Allen
Thanks for the response, Marc. I have proceeded to the point where, with the default settings, everything boots up until the InstantDB blocks on a pool call. At this point, JBoss is frozen. The log tail looks like this: [Hypersonic] Started [InstantDB] Starting [InstantDB] XA Connection pool I

Re: [JBoss-user] null finder parameter

2001-07-10 Thread Fred Loney
My mistake. I've been surprised by that distinction before; you'd think I'd learn. There is, however, a bigger problem that precludes any jboss declared cmp finder with a null argument. jboss gets the type of an argument by calling getClass() on the instance. If the argument is null, this rais

Re: [JBoss-user] NoClassDefFoundError: Referencing an EJB from another in a different jar file

2001-07-10 Thread tim . haley
Robert, It sounds like you have your session beans in separate jar files. If so, either 1) Include the Home and Remote Interfaces of the called session bean in the calling session beans jar file 2) Use jboss.xml to create the link between the ejb-ref and the Global namespace jndi-names that r

RE: [JBoss-user] IT'S ALIVE!!!!!

2001-07-10 Thread Patrick Munis
Title: RE: [JBoss-user] IT'S ALIVE! it's not working for me. -Original Message- From: marc fleury [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 10, 2001 2:07 PM To: Jboss-User@Lists. Sourceforge. Net; Jboss-Development@Lists. Sourceforge. Net Subject: [JBoss-user] IT'S ALI

RE: [JBoss-user] javax.jms.JMSException: Invalid configuration - how do I fix this ?

2001-07-10 Thread Jon Rose
The directory db/jbossmq/ is missing - do I have a valid - should I just create an empty dir db/jbossmq/ or should I download a different distro? (I will have a look on teh website) Thanks Jon > -Original Message- > From: Burkhard Vogel [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, July 10

[JBoss-user] (no subject)

2001-07-10 Thread Steve Zhang
It doesnot work for me either.. Best Wishes Steve Zhang Software Developer http://www.ensemble-systems.com ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

RE: [JBoss-user] javax.jms.JMSException: Invalid configuration - how do I fix this ?

2001-07-10 Thread Jon Rose
It works now - thanks! > -Original Message- > From: Jon Rose [SMTP:[EMAIL PROTECTED]] > Sent: Tuesday, July 10, 2001 11:11 AM > To: '[EMAIL PROTECTED]' > Cc: 'Burkhard Vogel' > Subject: RE: [JBoss-user] javax.jms.JMSException: Invalid > configuration - how do I fix this ? > >

RE: [JBoss-user] IT'S ALIVE!!!!!

2001-07-10 Thread Frank Marx
Hi Marc, for someone from France you are already pretty american you go girl ... LOL. Frank -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of marc fleury Sent: Tuesday, July 10, 2001 11:07 AM To: Jboss-User@Lists. Sourceforge. Net; Jboss-Development

Re: [JBoss-user] null finder parameter

2001-07-10 Thread Scott M Stark
Submit a bug report. - Original Message - From: "Fred Loney" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, July 10, 2001 10:32 AM Subject: Re: [JBoss-user] null finder parameter > My mistake. I've been surprised by that distinction before; you'd think I

[JBoss-user] ejb-ref error

2001-07-10 Thread Vikas . Chawla
Hi, I am getting the following error when trying to deploy my bean. But I have the jndi-name of the reference bean in my deployment descriptor. I am attaching my jboss.xml too. Thanks & Regards, Vikas JBoss.xml ConfigManage

[JBoss-user] Is JBoss/JBoss MQ XA-compliant ?

2001-07-10 Thread connecstasy
Hello, I have a slight problem involving message driven beans here : "ReaderMDB" listens on topic "Magazine" for messages containing "Reader" in the message-property "Receiver-Classes". It is a messagedriven bean able to handle state information in a database. onMessage() does the following

RE: [JBoss-user] IT'S ALIVE!!!!!

2001-07-10 Thread MicaCooper
Try this :) http://www.jboss.org/forums/index.jsp -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of marc fleury Sent: Tuesday, July 10, 2001 1:07 PM To: Jboss-User@Lists. Sourceforge. Net; Jboss-Development@Lists. Sourceforge. Net Subject: [JBoss-user] IT'S

Re: [JBoss-user] Diffence between connection pool and data source

2001-07-10 Thread David Jencks
Hi, I believe the first is the mbean name, so the mbean can be looked up in the mbean server by that name, whereas the PoolName is the jndi lookup name for the datasource fronting the connection pool. I'm pretty sure they don't have to be the same. david jencks On 2001.07.10 06:41:47 -0400 "Du

Re: [JBoss-user] running JBoss inside another app

2001-07-10 Thread David Jencks
Hi, I'm no expert on this, however I am very curious about a situation in which it is more appropriate to start an ejb container as part of another application rather than start the other application from an mbean described in jboss.jcml. Would you be willing to describe your situation further?

RE: [JBoss-user] IT'S ALIVE!!!!!

2001-07-10 Thread marc fleury
www.jboss.org/forums/index.jsp... for some reason index.jsp is not seen -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Patrick Munis Sent: Tuesday, July 10, 2001 2:14 PM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] IT'S ALIVE! it's not worki

RE: [JBoss-user] IT'S ALIVE!!!!!

2001-07-10 Thread Anderson L
Title: RE: [JBoss-user] IT'S ALIVE! Any chance of sticking it on port 80? Firewalls 'n all!   Lewis -Original Message-From: Patrick Munis [mailto:[EMAIL PROTECTED]]Sent: 10 July 2001 19:14To: [EMAIL PROTECTED]Subject: RE: [JBoss-user] IT'S ALIVE! it's not working f

RE: [JBoss-user] IT'S ALIVE!!!!!

2001-07-10 Thread Cor Hofman
Title: RE: [JBoss-user] IT'S ALIVE! Neither is it working for me.I cannot get to the URL marc supplied.   Regards,   Cor -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Patrick MunisSent: Tuesday, July 10, 2001 20:14To: [EMAIL PROTECT

[JBoss-user] Jetty

2001-07-10 Thread Patrick Munis
Title: Jetty Is Jetty a complete Java web container? Are there any major sites using Jetty? Is jetty recommended over tomcat.? thanks Patrick

Re: [JBoss-user] ejb-ref error

2001-07-10 Thread Scott M Stark
Its showing you a deployment exception. Your jboss.xml file is does not conform to the jboss.dtd because a session element has to be a child under the enterpise-beans element. See the DTD docs: http://www.jboss.org/documentation/HTML/ch06.html#N18b9 - Original Message - From: <[EMAIL PRO

Re: [JBoss-user] IT'S ALIVE!!!!!

2001-07-10 Thread Scott M Stark
Add a welcome-file-list element to the web.xml descriptor: index.jsp - Original Message - From: "marc fleury" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 10, 2001 11:42 AM Subject: RE: [JBoss-user] IT'S ALIVE! > www.jboss.org/forums/index

[JBoss-user] Is anyone using XADataSources with jboss?

2001-07-10 Thread Jord Sonneveld
Title: Is anyone using XADataSources with jboss? Hello all, Is anyone using XADataSources directly with jboss, and /not/ through the minerva xa wrappers? If so, what database and driver are you using? Thanks. jord sonneveld foundation developer the eon company www.eoncompany.com o

Re: [JBoss-user] IT'S ALIVE!!!!!

2001-07-10 Thread tim . haley
Is it still alive? I was in the middle of posting a new topic and the server went away. I can no longer connect to it. "Cannot find server or DNS Error" Original Message From: "marc fleury" <[EMAIL PROTECTED]> To: "Jboss-User@Lists. Sourceforge. Net" <[EMAI

[JBoss-user] In VM optimization between JBoss and Servlet Container

2001-07-10 Thread C Murphy @ Intechtual
Hello, I'm working on a presentation for a client and I have a quick question about the optimization of in VM EJB calls in JBoss. I read in the documentation about how EJB-to-EJB calls are automatically optimized by bypassing the network layer. I didn't find any specific documentation, but it m

[JBoss-user] log4j or JBoss logging

2001-07-10 Thread Dain Sundstrom
As I modify the JBossCMP code should I change the logging over to use log4j directly or should I leave the code logging via the JBoss log layer? If I should switch to direct log4j, how do we categorize the logs? I was thinking jboss.ejb.plugins.cmp.. or some thing like that. This way I could tur

RE: [JBoss-user] IT'S ALIVE!!!!!

2001-07-10 Thread David Green
[green@david green]$ telnet www.jboss.org 80 Trying 66.37.140.9... telnet: Unable to connect to remote host: Connection refused On Tue, 10 Jul 2001, Cor Hofman wrote: > RE: [JBoss-user] IT'S ALIVE!Neither is it working for me.I cannot get to > the URL marc supplied. > > Regards, > Cor >

[JBoss-user] Problem in passivation of session bean

2001-07-10 Thread Ajit Singh
I am using JBoss-2.2.2_Tomcat-3.2.2 version . I have one session bean MySessionBean ,one Entity bean MyDataEJB and On stopping server(hitting Ctrl-C) , jboss gives following exception. [Bean Cache] Aging out from cache bean MySessionEJBwith id = 994768575089; cache size = 1 [Container factory]

Re: [JBoss-user] In VM optimization between JBoss and Servlet Container

2001-07-10 Thread Julian Gosnell
This is my understanding of the situation. Provided that EJBs and Servlets/JSP are packaged within the same EAR file, the J2EEDeployer will coordinate their deployment to the EJB and Web Containers. This coordination involves passing the same ClassLoader to both Containers. Any components deplo

[JBoss-user] Tomcat & Jetty

2001-07-10 Thread Patrick Munis
Title: Tomcat & Jetty Can I run tomcat and Jetty on the machine with Jboss?That is, apache -->tomcat --->Jboss > Postgresql    Jetty thanks Patrick

Re: [JBoss-user] Tomcat & Jetty

2001-07-10 Thread Julian Gosnell
Patrick Munis wrote: Can I run tomcat and Jetty on the machine with Jboss?That is, apache -->tomcat --->Jboss > Postgresql    Jetty thanks Patrick Download one of the combined packages and all will become clear - in short - YES Jules  

Re: [JBoss-user] In VM optimization between JBoss and Servlet Container

2001-07-10 Thread Scott M Stark
Its true if the web container has been integrated to use the war deployment class loader as the parent class loader of the web application. Any in VM call can be optimized. - Original Message - From: "C Murphy @ Intechtual" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 1

Re: [JBoss-user] log4j or JBoss logging

2001-07-10 Thread Scott M Stark
Change to use log4j. The JBoss interface will disappear in 3.0 - Original Message - From: "Dain Sundstrom" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 10, 2001 12:08 PM Subject: [JBoss-user] log4j or JBoss logging > As I modify the JBossCMP code should I change the l

Re: [JBoss-user] Jetty

2001-07-10 Thread Julian Gosnell
Patrick Munis wrote: Is Jetty a complete Java web container? And more - it's an HTTP Server, which uses the same infrastructure to serve static as well as dynamic content. Are there any major sites using Jetty? try:  http://www.jboss.org/forums/index.jsp - it's being run by JBoss-Jetty - still

Re: [JBoss-user] IT'S ALIVE!!!!!

2001-07-10 Thread Guy Rouillier
Don't know what you are using as a web server, but with Apache you need to add index.jsp as an acceptable index page: DirectoryIndex index.html index.jsp - Original Message - From: "marc fleury" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 10, 2001 2:42 PM Subject: RE:

RE: [JBoss-user] Jetty

2001-07-10 Thread Patrick Munis
how does Jetty perform compared to resin. What are some the new features in Jetty 3.1.? -Original Message-From: Julian Gosnell [mailto:[EMAIL PROTECTED]]Sent: Tuesday, July 10, 2001 3:53 PMTo: [EMAIL PROTECTED]Cc: [EMAIL PROTECTED]Subject: Re: [JBoss-user] JettyPatrick M

[JBoss-user] Tomcat & Jetty

2001-07-10 Thread Kemp Randy-W18971
I'm not sure I understand your question, so let me paraphrase. Can apache pass control to JSP and sevlet pages in tomcat, access EJB in Jboss, that accesses the Postgresql database, in the same machine Jetty is running? Why not? The only thing I see is port contentions, and these are changea

Re: [JBoss-user] In VM optimization between JBoss and Servlet Container

2001-07-10 Thread Scott M Stark
Actually this is more correct than what I said. The strong type checking of Java won't allow a method invocation from a class loaded by one class loader on the same class loaded by another class loader, even if they have exactly the same bytecode. So only intra-ear calls are optimized. I'll double

Re: [JBoss-user] Jetty

2001-07-10 Thread Julian Gosnell
Patrick, You'll get a better response to these sort of questions on [EMAIL PROTECTED] As for comparisons with Resin - I haven't seen any recent ones My advice - suck-it-n-see, and when you have, I'm sure this list would like to know how it tasted.   Jules     Patrick Munis wrote:  how does Jetty

[JBoss-user] Problem installing petstore

2001-07-10 Thread Raimar Falke
I'm trying to install jboss and petstore. I have used to following versions: J2EE 1.3 beta2, JBoss 2.2.2, Tomcat 3.2.2 and jps 1.1.2. I did not apply petstore-1.1.1-patch.zip since this prohibits compiling of the petstore. I followed roughly the guide at

Re: [JBoss-user] log4j or JBoss logging

2001-07-10 Thread danch
Another thing I had in mind for the old jaws code was to go through and make sure that errors get logged as errors, not debug. One place in particular that that got changed in 2.4 was in JDBCCommand - the method that executes just about any SQL was pretty much silently discarding the SQLExcept

[JBoss-user] unsubscribe

2001-07-10 Thread Faisal Naveed
- Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 10, 2001 11:10 PM Subject: JBoss-user digest, Vol 1 #1079 - 9 msgs > Send JBoss-user mailing list submissions to > [EMAIL PROTECTED] > > To subscribe or unsubscribe via the World Wide Web, visit >

[JBoss-user] trying to look up a datasource what am i doing wrong?

2001-07-10 Thread Larry Kim
this is my client: try { InitialContext initialContext = new InitialContext(); Object ref = initialContext.lookup( "DefaultDS"); // i have also tried "java:/DefaultDS" //that line causes an exception. I also tried: //DataSource ds = (DataSource)P

RE: [JBoss-user] trying to look up a datasource what am i doing wrong?

2001-07-10 Thread Jord Sonneveld
Title: RE: [JBoss-user] trying to look up a datasource what am i doing wrong? I have in jboss.jcml:     Oracle     etc. etc. etc.     In my bean code, I do:     DataSource ds;     ds=(DataSource) ( ( new InitialContext() ).lookup("java:/Oracle") ); What is the exception

[JBoss-user] looking for example of retrieve a data source

2001-07-10 Thread Larry Kim
can anybody point me to an example of how to look up a datasource? thank you. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

[JBoss-user] INSERTING AN ALREADY EXISTING BEAN..... problem

2001-07-10 Thread Maraya Michael
I'm developing an application that takes data from our legacy system and loads that data into the new system using Entity EJBs but when it starts to load a certain amount of records from our Accounts table, I get an IllegalStateException from AbstractInstanceCache.insert(). I believe thi

[JBoss-user] ClassLoader not finding resource

2001-07-10 Thread Leonard Kierstead
  When my application is running as a service under JBoss the ClassLoader can't find a resource (an XML file) that is in one of my application jar files.  The following code returns null.       java.net.URL url = ClassLoader.getSystemResource(fileName);   It works fine outside of JBoss.  T

Re: [JBoss-user] looking for example of retrieve a data source

2001-07-10 Thread Emerson
Is there a way to launch TOMCAT alone without jboss??? I mean using the jboss distribution... When i use jboss_with_tomcat it works fine, but the startup process is too slow... And when I use startup i got some error due to packages not found. At 16:54 10/07/01 -0400, you wrote: >can anybody poin

[JBoss-user] DeadLock in ECPERF 1.0

2001-07-10 Thread atabak
Hi, It is trying to run ecperf 1.0 (ECperf is a Enterprise JavaBeans(EJB)TM benchmark meant to measure the scalability and performance of J2EE servers and containers.)in jboss, but has to produce many deadlock. Someone had deadlock problems in ECperf ? This is part of the LOG [AssemblyEnt] LOCK

RE: [JBoss-user] INSERTING AN ALREADY EXISTING BEAN..... problem

2001-07-10 Thread Bill Burke
Michael, What version of JBoss are you running? 2.2.x, 2.4Beta, or 2.5 mainline? What commit Option? A, B, or C? Also what kind of things are you doing(get/sets, creates, removes)? And are you doing them in one transaction? You definately have a corrupted cache here and I need more information

RE: [JBoss-user] trying to look up a datasource what am i doing wrong?

2001-07-10 Thread Alan McDade
Title: RE: [JBoss-user] trying to look up a datasource what am i doing wrong? There are three steps to keeping an Oracle data source.   1) Copy the oracle classes12.zip to %JBOSS_HOME%/lib/ext directory   2) Edit the jboss.jcml file with entries something like   oracle.jdbc.driver.OracleDri

RE: [JBoss-user] trying to look up a datasource what am i doing wrong?

2001-07-10 Thread Maraya Michael
I don't believe that datasources are available in the global JNDI namespace. IIRC, they are only available in the java:comp/env/jdbc context (only from EJBs). --- Michael R. Maraya > -- > From: Larry Kim[SMTP:[EMAIL PROTECTED]] > Reply To: [EMAIL PROTECTED] > Sent:

RE: [JBoss-user] ClassLoader not finding resource

2001-07-10 Thread Maraya Michael
Try using the following call instead (I use a similar call to make sure I'm pulling in the right jndi.properties file): URL url = getClass().getResource(fileName); HTH. --- Michael R. Maraya > -- > From: Leonard Kierstead[SMTP:[EMAIL PROTECTED]] > Repl

RE: [JBoss-user] DeadLock in ECPERF 1.0

2001-07-10 Thread Maraya Michael
I haven't run ECPerf myself but in case you haven't read them, there are instructions on getting ECPerf to work using JBoss here: http://www.jboss.org/ECPerf.html. I believe it requires a patch to JBoss first. HTH. --- Michael R. Maraya > -- > From: [EMAIL PROT

RE: [JBoss-user] INSERTING AN ALREADY EXISTING BEAN..... problem

2001-07-10 Thread Maraya Michael
Thanks for replying, Bill. I'm using JBoss 2.2.2 and the Entity Bean is configured as a "Standard BMP EntityBean" (see jboss.xml below) -- I don't know which commit-option that is resolved as. I guess as a last resort, I can use a custom configuration but I'd like to make this w

[JBoss-user] EJB data transfer monitoring

2001-07-10 Thread Nordahl, David C
What is the best way to monitor the status of data transfer from ejbs? If the object being returned by a bean's method is large, is it possible to setup some kind of event or messaging stuff to monitor the progress? How is this kind of thing normally handled with ejbs? David Nordahl [EMAIL PROT

  1   2   >