Re: [JBoss-user] How can I use a background process with JBoss

2002-02-14 Thread Ivan Bolcina
Hi. Interesting question... How about that you write a entry in database table after order processing with status. Now every struts action should check it and if order id matches order id of current user, it can notify him. This is server-pull, since you pull data from server and

[JBoss-user] File RAR (was: How can I use a background process with JBoss)

2002-02-14 Thread Edward Q. Bridges
can this be both possible and useful? as far as i can tell from reading a tutorial on JCA, when the server starts up it spawns several connections to a resource via the ManagedConnectionFactory. then the client requests one of these connections via a ConnectionFactory. the connections are

[JBoss-user] How can I have fileaccess (copy) within or from a EJB

2002-02-14 Thread Dirk Storck
I have a bean wich processes my order. In case that the order is a downloadable file I need to copy that file from one location to another cause only that location can be accessed my user to download. How can I achieve this? Can I use the JCA for that? Did anyone ever had the same problem and

[JBoss-user] How can I have fileaccess (copy) within or from a EJB

2002-02-14 Thread Dirk Storck
I have a bean wich processes my order. In case that the order is a downloadable file I need to copy that file from one location to another cause only that location can be accessed my user to download. How can I achieve this? Can I use the JCA for that? Did anyone ever had the same problem and

[JBoss-user] JBoss (244) and Apache Nightmares...

2002-02-14 Thread Jarecsni Jnos
Hi, finally I was able to configure Apache and JBoss to work together. There are only two problems remaining (the ones I know of now :) 1. Eliminating the webcontext from URLs since the DocumentRoot in Apache httpd.conf points right to the expanded WAR directory under JBoss/deploy, all static

[JBoss-user] Jboss 3.0 security

2002-02-14 Thread Achilleus Mantzios
Hi i installed jboss 3.0, to see the new features/clustering, etc.. just for testing, and also to see how jetty performs. In previous jboss 2.x versions i used to have my own login module (against a rather wierd (lotus) ldap server), and i had to add my .jar package in the JBOSS_CLASSPATH

[JBoss-user] Jboss 3.0 postgresql, ~/tmp files, jetty configuration and friends!!

2002-02-14 Thread Achilleus Mantzios
It seems that i am a REAL newbie in jboss 3.0 :) well to start: 1) Anyone know howto define a postgresql datasource, a connection pool and the like, using the new way (JCA??) ?? I found some pgsql-service.xml file on the cvs, but i had no clue where to stick them to. 2) Anyone knows howto

Re: [JBoss-user] File RAR (was: How can I use a background process with JBoss)

2002-02-14 Thread David Jencks
On 2002.02.14 03:30:25 -0500 Edward Q. Bridges wrote: can this be both possible and useful? It's definitely possible. Useful is another question. Normally a jca connector is useful when you want to communicate with something that has: --limited, resource-expensive resources required for a

Re: [JBoss-user] Jboss 3.0 security

2002-02-14 Thread David Jencks
At least with cvs jboss 3- have you tried simply putting your jars in lib/ext and leaving the startup classpath alone? david jencks On 2002.02.14 06:05:33 -0500 Achilleus Mantzios wrote: Hi i installed jboss 3.0, to see the new features/clustering, etc.. just for testing, and also to see how

Re: [JBoss-user] Jboss 3.0 postgresql, ~/tmp files, jetty configuration and friends!!

2002-02-14 Thread David Jencks
On 2002.02.14 06:13:41 -0500 Achilleus Mantzios wrote: It seems that i am a REAL newbie in jboss 3.0 :) well to start: 1) Anyone know howto define a postgresql datasource, a connection pool and the like, using the new way (JCA??) ?? I found some pgsql-service.xml file on the cvs, but i

[JBoss-user] RemoteMBeanServer by using RMIConnector

2002-02-14 Thread Ramesh Gadde
Hi all I want to connect to the RemoteMBeanServer.In the jboss site i didnt find any documentation on RMIConnector. I found the following code saying that to get RemoteMBeanServer you need get RMI Adapter. RemoteMBeanServer lServer = new RMIConnectorImpl( lRMIAdaptor ); how can i get the RMI

[JBoss-user] jboss 2.4.4 and mysql: Unknown Source

2002-02-14 Thread Pavel Kolesnikov
Hallo, I've tried to configure Jboss 2.4.4 to use MySQL database. Unfortunatelly I found only JBoss 3.0 configuration on Jboss site, so I tried some directions found on the web with Google. So I've changed JdbcProvider mbean in jboss.jcml to: mbean code=org.jboss.jdbc.JdbcProvider

Re: [JBoss-user] RemoteMBeanServer by using RMIConnector

2002-02-14 Thread David Jencks
As usual, which jboss? for 3, look at the testsuite (JBossTestServices) for some examples david jencks On 2002.02.14 10:10:01 -0500 Ramesh Gadde wrote: Hi all I want to connect to the RemoteMBeanServer.In the jboss site i didnt find any documentation on RMIConnector. I found the

[JBoss-user] Migration from JBoss 2.2.2 to JBoss 2.4.3 Problem

2002-02-14 Thread Dirk Storck
Hi, currently I have migrated form 2.2.2 to 2.4.3. I have copied my jar to the deploy dir and the jar jar got deployed correct. But when I want to access my Bean I get the following exception. Could someone tell me why? [java] 2002-02-14 16:45:44,068 [Thread-18] ERROR

Re: [JBoss-user] jboss 2.4.4 and mysql: Unknown Source

2002-02-14 Thread David Jencks
The driver can't connect to the database. Usually its a url problem david jencks On 2002.02.14 10:58:47 -0500 Pavel Kolesnikov wrote: Hallo, I've tried to configure Jboss 2.4.4 to use MySQL database. Unfortunatelly I found only JBoss 3.0 configuration on Jboss site, so I tried some

Re: [JBoss-user] Jboss 3.0 security

2002-02-14 Thread Achilleus Mantzios
At least with cvs jboss 3- have you tried simply putting your jars in lib/ext and leaving the startup classpath alone? david jencks Sure, as i told, i tried also with the jboss-shipped LadpLoginModule, which indeed resides in lib/ext/jbosssx.jar. The output is:

[JBoss-user] Re: Jboss 3.0 postgresql, ~/tmp files, jetty configuration and friends!!

2002-02-14 Thread Achilleus Mantzios
deploy folder. Watch the log, check the mbeans to make sure they started. Read ch. 3 of the free docs. I found out already, postgresql accepts the connections ok, however the rest of the situation (problems) prevents from testing the application on jboss 3.0. Thanx anyway. -- Achilleus

AW: [JBoss-user] jboss 2.4.4 and mysql: Unknown Source

2002-02-14 Thread Jan Heise
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 attribute name=URLjdbc:mysql:/localhost/test/attribute try jdbc:mysql://localhost/test instead. if this doesn't do the trick, the root pwd could also be wrong. hth, jan - -- Jan Heise / Tel. +49-163-4803237 / [EMAIL PROTECTED] -

[JBoss-user] JNDI in Jboss

2002-02-14 Thread Srinivas . Kotamraju
hi all, I get the following error javax.naming.NameNotFoundException: Queue not bound at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteC all.java:245) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220)

Re: [JBoss-user] jboss 2.4.4 and mysql: Unknown Source

2002-02-14 Thread Dennis Keller
Pavel - I had similar problems when I was starting out with JBoss. Turns out that I was configuration the wrong jboss.jcml file. If you're running jboss with catalina built-in, then you need to be editing the jboss.jcml file under JBoss-2.4.4_Tomcat-4.0.1/jboss/conf/catalina. Be sure you're not

RE: [JBoss-user] JNDI in Jboss

2002-02-14 Thread Jim Birchfield
Try ' Queue t = (Queue)context.lookup(queue/testQueue); ' Notice the lower case q... James Birchfield Development Manager Genscape, Inc. (502) 583-2298 (o) (502) 639-3136 (c) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 14, 2002 1:57

[JBoss-user] ejb exception handling

2002-02-14 Thread Eric Kaplan
Hi Having a strange problem. I have an entity bean with a custom finder method. This custom finder method throws an ObjectNotFoundException if no rows were found. I then have a session bean which calls this custom finder method inside a try and expects to catch ObjectNotFoundException.

[JBoss-user] About petstore 1.1.2

2002-02-14 Thread Jaime21
People: I try to run petstore 1.1.2 in JBoss , but i like to use postgresql how database, becaues i have problem with cloudscape, JBoss not connnect to cloudscape. Is possible to run Petstore with postgresql, where i find information how setup this connection? I hope their help Regards Jaime

RE: [JBoss-user] JNDI in Jboss

2002-02-14 Thread Srinivas . Kotamraju
hi james, Thanks for the advise..I changed it lower-case queue but now get.. java.lang.ClassCastException: javax.naming.Reference at com.bms.ecp.oms.jms.ManualJNDI.main(ManualJNDI.java:59) any ideas?? -Original Message- From: Jim Birchfield [mailto:[EMAIL PROTECTED]] Sent:

[JBoss-user] About petstore 1.1.2 - problem with cloudscape

2002-02-14 Thread Jaime21
I have the following message when install Petstore 1.1.2 with cloudscape, anybody have idea of what's the problem Jaime 2/14/02 3:11 PM Thread[main,5,main] Class COM.jbms._177._2426 java.lang.reflect.InvocationTargetException, module ignored.

RE: [JBoss-user] ejb exception handling

2002-02-14 Thread Eric Kaplan
Solved this problem. Turned out the error was buried on my side. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 14, 2002 2:35 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] ejb exception handling Hi Having a