Re: [Re: [JBoss-user] How can i view the deployed Beans JNDI name]

2001-05-24 Thread Dinesh


hi,

   Thanx for responding. 

But i don't see any jar file named jndiView.jar in the bin directory. I can
see only BeanCacheMonitorJMS & BeanCacheMonitorJMX.jar & run.jar. I am using
jboss server 2.2.1.

Is there any way to see the jndi tree. 

looking forward for ur reply..

thanx,
dinesh.




"Rama Rao" <[EMAIL PROTECTED]> wrote:
Hi,
You can go to jboss_home/bin directory and type java -jar jndiView.jar. 
That will display all the beans bound to your JNDI tree.
bye
rama rao
- Original Message - 
From: Dinesh <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 25, 2001 2:06 PM
Subject: [JBoss-user] How can i view the deployed Beans JNDI name


> hi all,
> 
>How can i view the JNDI names of the deployed EntityBeans in Jboss
> server2.2.1.
> 
>when i run the client, i am getting an Exception ...
> javax.naming.NameNotFoundException: com.client.EmployeeHome not bound .
> But, no exception in the jboss server.
> 
> Is there any way to chech whether my EJB is deployed correctly.
> 
> Any idea.
> 
> 
> thanx,
> dinesh.
> 
> 
> Get free email and a permanent address at http://www.netaddress.com/?N=1
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Get free email and a permanent address at http://www.netaddress.com/?N=1

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] URGENT

2001-05-24 Thread Shake



Hi,
 
I 'm trying to run a simple ejb pog.But when I run 
the jsp in the Browser I get erros like this
 
please help
 

Error: 500
Location: /examples/jsp/interest.jspInternal Servlet Error:javax.servlet.ServletException: sun/tools/javac/Main
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:399)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
	at org.apache.tomcat.core.Handler.service(Handler.java:286)
	at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
	at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
	at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
	at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
	at java.lang.Thread.run(Thread.java:484)
Root cause: java.lang.NoClassDefFoundError: sun/tools/javac/Main
	at org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:128)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:245)
	at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:462)
	at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
	at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:433)
	at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:152)
	at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:164)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
	at org.apache.tomcat.core.Handler.service(Handler.java:286)
	at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
	at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
	at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
	at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
	at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
	at java.lang.Thread.run(Thread.java:484)



Re: [JBoss-user] How can i view the deployed Beans JNDI name

2001-05-24 Thread Rama Rao

Hi,
You can go to jboss_home/bin directory and type java -jar jndiView.jar. 
That will display all the beans bound to your JNDI tree.
bye
rama rao
- Original Message - 
From: Dinesh <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 25, 2001 2:06 PM
Subject: [JBoss-user] How can i view the deployed Beans JNDI name


> hi all,
> 
>How can i view the JNDI names of the deployed EntityBeans in Jboss
> server2.2.1.
> 
>when i run the client, i am getting an Exception ...
> javax.naming.NameNotFoundException: com.client.EmployeeHome not bound .
> But, no exception in the jboss server.
> 
> Is there any way to chech whether my EJB is deployed correctly.
> 
> Any idea.
> 
> 
> thanx,
> dinesh.
> 
> 
> Get free email and a permanent address at http://www.netaddress.com/?N=1
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] embedded Tomcat or not?

2001-05-24 Thread Maarten Roosendaal



 Hi,  Do i need to use embedded Tomcat, stand-alone 
Tomcat or the tomcat.jar = that JBoss provides for running the petstore 
1.1.2.?  If i change the database settings to use MySQL do i need 
to change = things in the build.bat/xml from the 
petstore?  Thanks, Maarten


[JBoss-user] Please unsubscribe from this list

2001-05-24 Thread Mukul Kumar



___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Communication Exception in JBOSS/TOMCAT

2001-05-24 Thread Venkat Ammisetty


Hi friends

.
I got struck up at CommunicationException in JBOSS/TOMCAT.
I am able to deploy the EJB's in JBOSS.
And I placed all of my JSP pages in a folder called netcrm in jsp folder of
examples directory in TOMCAT server.
I changed the TOMCAT port to 8000 as mentioned in  PDF(Avilable in
www.kevinboone.com JBOSS help site).
I followed the steps as mention in PDF.copying ejb.jar,ejb-client.jar to lib
folder in TOMCAT.
I started two servers independently( i.e I am not using EMBEDEDTOMCAT).
Now I am calling my Logon JSP page,which will call my LOGON BEAN.
At this stage I getting CommuniactionException.
I guess I did mistake in setting classpath.
I would like to know where I did mistake to get exception.
I am fighting with this error from 3 days,please help me.

As a trail and error method,I did the following.
I set classpath intomcat.batas

  set cp=%cp%;%TOMCAT_HOME%\lib\crmLogon.jar

it is working fine,with one and only one bean.

If I set classpath again in tomcat.bat in addition to logon bean   as

  set cp=%cp%;%TOMCAT_HOME%\lib\crmLogon.jar
  set cp=%cp%;%TOMCAT_HOME%\lib\crmBrowse.jar

 I am getting  CommunicationException.
My question is "where do I set the classpath to tomcat to read the jar file
in jboss and how"

I am pasting the exception I got.

I hope I explained it clearly,Please help me,I did not found much help
regarding this exception exclusively for JBOSS.
waiting for your reply
Thnak's for reading this mail
---Venkat Ammisetty

Error: 500
Location: /examples/jsp/netcrm/BrowseEjb.jsp
Internal Servlet Error:
javax.servlet.ServletException
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:459)
at
jsp.netcrm._0002fjsp_0002fnetcrm_0002fBrowseEjb_0002ejspBrowseEjb_jsp_2._jsp
Service(_0002fjsp_0002fnetcrm_0002fBrowseEjb_0002ejspBrowseEjb_jsp_2.java:67
9)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:177)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
at org.apache.tomcat.core.Handler.service(Handler.java:286)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:210)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)
Root cause:
javax.naming.CommunicationException.  Root exception is
java.lang.ClassNotFoundException: crmBrowse.BrowseHome
at
org.apache.tomcat.loader.AdaptiveClassLoader.loadClass(AdaptiveClassLoader.j
ava:524)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:195)
at
sun.rmi.server.MarshalInputStream.resolveProxyClass(MarshalInputStream.java:
183)
at
java.io.ObjectInputStream.inputProxyClassDescriptor(ObjectInputStream.java:9
82)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at java.rmi.MarshalledObject.get(MarshalledObject.java:138)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:299)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:279)
at javax.naming.InitialContext.lookup(InitialContext.java:350)
at
jsp.netcrm._0002fjsp_0002fnetcrm_0002fBrowseEjb_0002ejspBrowseEjb_jsp_2._jsp
Service(_0002fjsp_0002fnetcrm_0002fBrowseEjb_0002ejspBrowseEjb_jsp_2.java:22
8)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:177)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
at javax.servle

[JBoss-user] How can i view the deployed Beans JNDI name

2001-05-24 Thread Dinesh

hi all,

   How can i view the JNDI names of the deployed EntityBeans in Jboss
server2.2.1.

   when i run the client, i am getting an Exception ...
javax.naming.NameNotFoundException: com.client.EmployeeHome not bound .
But, no exception in the jboss server.

Is there any way to chech whether my EJB is deployed correctly.

Any idea.


thanx,
dinesh.


Get free email and a permanent address at http://www.netaddress.com/?N=1

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] URGENT

2001-05-24 Thread Dewayne McNair

You need to add tools.jar from the JDK to either your classpath or
$JBOSS_HOME/lib/ext/

-- Dewayne


- Original Message -
From: Shake
To: [EMAIL PROTECTED]
Sent: Friday, May 25, 2001 9:40 PM
Subject: [JBoss-user] URGENT


Hi,

I 'm trying to run a simple ejb pog.But when I run the jsp in the Browser I
get erros like this

please help

Error: 500
Location: /examples/jsp/interest.jsp
Internal Servlet Error:

javax.servlet.ServletException: sun/tools/javac/Main
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:399)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
 at org.apache.tomcat.core.Handler.service(Handler.java:286)
 at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
 at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
 at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
 at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:210)
 at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
 at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
 at java.lang.Thread.run(Thread.java:484)

Root cause:
java.lang.NoClassDefFoundError: sun/tools/javac/Main
 at
org.apache.jasper.compiler.SunJavaCompiler.compile(SunJavaCompiler.java:128)
 at org.apache.jasper.compiler.Compiler.compile(Compiler.java:245)
 at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:462)
 at
org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
 at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:433)
 at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspSe
rvlet.java:152)
 at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:164)
 at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
 at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
 at org.apache.tomcat.core.Handler.service(Handler.java:286)
 at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
 at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
 at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
 at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:210)
 at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
 at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
 at java.lang.Thread.run(Thread.java:484)


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Communication Exception in JBOSS/TOMCAT

2001-05-24 Thread Venkat Ammisetty

Hi friends

.
I got struck up at CommunicationException in JBOSS/TOMCAT.
I am able to deploy the EJB's in JBOSS.
And I placed all of my JSP pages in a folder called netcrm in jsp folder of
examples directory in TOMCAT server.
I changed the TOMCAT port to 8000 as mentioned in  PDF(Avilable in
www.kevinboone.com JBOSS help site).
I followed the steps as mention in PDF.copying ejb.jar,ejb-client.jar to lib
folder in TOMCAT.
I started two servers independently( i.e I am not using EMBEDEDTOMCAT).
Now I am calling my Logon JSP page,which will call my LOGON BEAN.
At this stage I getting CommuniactionException.
I guess I did mistake in setting classpath.
I would like to know where I did mistake to get exception.
I am fighting with this error from 3 days,please help me.

As a trail and error method,I did the following.
I set classpath intomcat.batas

  set cp=%cp%;%TOMCAT_HOME%\lib\crmLogon.jar

it is working fine,with one and only one bean.

If I set classpath again in tomcat.bat in addition to logon bean   as

  set cp=%cp%;%TOMCAT_HOME%\lib\crmLogon.jar
  set cp=%cp%;%TOMCAT_HOME%\lib\crmBrowse.jar

 I am getting  CommunicationException.
My question is "where do I set the classpath to tomcat to read the jar file
in jboss and how"

I am pasting the exception I got.

I hope I explained it clearly,Please help me,I did not found much help
regarding this exception exclusively for JBOSS.
waiting for your reply
Thnak's for reading this mail
---Venkat Ammisetty

Error: 500
Location: /examples/jsp/netcrm/BrowseEjb.jsp
Internal Servlet Error:
javax.servlet.ServletException
at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp
l.java:459)
at
jsp.netcrm._0002fjsp_0002fnetcrm_0002fBrowseEjb_0002ejspBrowseEjb_jsp_2._jsp
Service(_0002fjsp_0002fnetcrm_0002fBrowseEjb_0002ejspBrowseEjb_jsp_2.java:67
9)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:177)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
at org.apache.tomcat.core.Handler.service(Handler.java:286)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:210)
at
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)
Root cause:
javax.naming.CommunicationException.  Root exception is
java.lang.ClassNotFoundException: crmBrowse.BrowseHome
at
org.apache.tomcat.loader.AdaptiveClassLoader.loadClass(AdaptiveClassLoader.j
ava:524)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:195)
at
sun.rmi.server.MarshalInputStream.resolveProxyClass(MarshalInputStream.java:
183)
at
java.io.ObjectInputStream.inputProxyClassDescriptor(ObjectInputStream.java:9
82)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at java.rmi.MarshalledObject.get(MarshalledObject.java:138)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:299)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:279)
at javax.naming.InitialContext.lookup(InitialContext.java:350)
at
jsp.netcrm._0002fjsp_0002fnetcrm_0002fBrowseEjb_0002ejspBrowseEjb_jsp_2._jsp
Service(_0002fjsp_0002fnetcrm_0002fBrowseEjb_0002ejspBrowseEjb_jsp_2.java:22
8)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:177)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
at javax.servlet

RE: [JBoss-user] JDK 1.4 Beta Release Today!

2001-05-24 Thread Tim McCune

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I tried it for a while today.  Swing looks quite buggy, and I ran
into a bug in the version of Xalan (2.0.1) that's built into the JDK.
 I have a feeling that with all the new features in 1.4, this will be
in beta for a long time. ;-)

> -Original Message-
> From: Hunter Hillegas [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 23, 2001 9:44 PM
> To: JBoss 2
> Subject: Re: [JBoss-user] JDK 1.4 Beta Release Today!
> 
> 
> Anyone tried it yet?
> 
> Unfortunately I am running my dev stuff on MacOS X so I can't 
> test it just
> yet...
> 
> Have to put it on one of the Linux staging servers at work...
> 
> Also, does anyone know what Java2 1.4 should bring to us 
> EJBers and where
> the timeline for a final release sits?
> 
> Hunter
> 
> > From: Stephan Gruschke <[EMAIL PROTECTED]>
> > Organization: Commedia
> > Reply-To: [EMAIL PROTECTED]
> > Date: Thu, 24 May 2001 02:58:31 +0200
> > To: [EMAIL PROTECTED]
> > Subject: [JBoss-user] JDK 1.4 Beta Release Today!
> > 
> > Hi,
> > 
> > just want to mention that Sun has published the
> > Java Standard Edition 1.4 Beta on their
> > website today:
> > 
> > http://www.javasoft.com/j2se/1.4/?frontpage-hottopics
> > 
> > Stephan Gruschke
> > 
> > 
> > 
> > ___
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/jboss-user
> > 
> 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 

-BEGIN PGP SIGNATURE-
Version: PGPfreeware 6.5.3 for non-commercial use 

iQA/AwUBOw3SAtUPOr8a7vy5EQIaqACeOGXSqeX5cddP5OENdME/SnaW3l0AoOQU
hr2/ycrKbMTcUoV3tq2mLIMF
=Dfmc
-END PGP SIGNATURE-

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] JBoss components doing System.out or System.err?

2001-05-24 Thread Scott M Stark

The use of System.out will be updated as the main branch is switched to use log4j.

- Original Message - 
From: "Guy Rouillier" <[EMAIL PROTECTED]>
To: "JBoss User" <[EMAIL PROTECTED]>
Sent: Thursday, May 24, 2001 5:31 PM
Subject: [JBoss-user] JBoss components doing System.out or System.err?


> I switched to log4j and turned off console logging.  But I still get the
> lines at the end of this message output to the terminal.  Are some JBoss
> components doing System.out or System.err calls?  Is there any plan to
> update these to logging calls?  There aren't that many, so I'll volunteer to
> start knocking them out if the powers that be give the okay.
> 



___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] JBoss components doing System.out or System.err?

2001-05-24 Thread Guy Rouillier

I switched to log4j and turned off console logging.  But I still get the
lines at the end of this message output to the terminal.  Are some JBoss
components doing System.out or System.err calls?  Is there any plan to
update these to logging calls?  There aren't that many, so I'll volunteer to
start knocking them out if the powers that be give the okay.

Also, on a Unix (Solaris) box, modified run.sh and simply put a & at the end
of the java command like so:

java -server $JAXP -classpath $JBOSS_CLASSPATH org.jboss.Main $@ &

But I'm not being returned a PID which I intend to use to kill the process.
Anyone know why I'm not getting a PID?

Here are the messages with console logging turned off:

STARTUP
---

JBOSS_CLASSPATH=:run.jar:../lib/crimson.jar
jboss.home = /home/guyr/JBoss-2.2.1
Using configuration "default"
JAAS.startService, cachePolicy=null
JAAS.startService,
SecurityProxyFactory=org.jboss.security.SubjectSecurityProxyFactory@513cf0
Server 1.4 is running
Press [Ctrl]+[C] to abort
Enhydra InstantDB - Version 3.26
The Initial Developer of the Original Code is Lutris Technologies Inc.
Portions created by Lutris are Copyright (C) 1997-2001 Lutris Technologies,
Inc.
All Rights Reserved.
Server Version 0.8 Started
DEBUG: not loading system providers in /lib
DEBUG: not loading optional custom providers file:
/META-INF/javamail.providers
DEBUG: successfully loaded default providers

DEBUG: Tables of loaded providers
DEBUG: Providers Listed By Class Name:
DEBUG: Providers Listed By Protocol:
DEBUG: not loading optional address map file: /META-INF/javamail.address.map
JBoss 2.2.1 Started in 0m:36s

SHUTDOWN


Unregistering 'JMS:service=JMSServer'
Unregistering 'JMS:service=DistributedJMSServerSetup,type=OIL'
Unregistering 'JMS:service=DistributedConnectionFactory,type=OIL'
Unregistering 'JMS:service=DistributedJMSServerSetup,type=UIL'
Unregistering 'JMS:service=DistributedConnectionFactory,type=UIL'
Unregistering 'JMS:service=DistributedJMSServerSetup,type=RMI'
Unregistering 'JMS:service=DistributedConnectionFactory,type=RMI'
Database instantdb is shutting down...
Database instantdb shutdown complete.
Shutdown complete




___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] org.jboss.deployment.J2eeDeploymentException

2001-05-24 Thread Scott M Stark



Try using the run_with_tomcat.sh script

- Original Message -
From: Scott Salisbury
To: [EMAIL PROTECTED]
Sent: Thursday, May 24, 2001 4:30 PM
Subject: [JBoss-user] org.jboss.deployment.J2eeDeploymentException


Hello,

I have installed JBoss.  It seems to start OK except for the following errors related 
to Tomcat.  Is there something I should be
doing to start TomCat?
JBoss-2.2.1_Tomcat-3.2.1.zip is the file that I installed from.  I am running on Linux 
Redhat 7.0

Thanks,
Scott





___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] async logging

2001-05-24 Thread Guy Rouillier

Async logging is already implemented.  Look at the JMSAppender in the log4j
documentation.  Don't know if this is officially sanctioned code yet, but
it's in there.

- Original Message -
From: "Gabor Dolla" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 24, 2001 4:38 AM
Subject: [JBoss-user] async logging


> Hi
>
> Is there any plan to implement async logging ?
> I saw an implementation of it recently in a commercial product.
> I guess it could be implemented on top of log4j and JMS easily and
> this could be transparent to the users of log4j.
> When the user call log.info("Hello"); it'd generate a message
> and a separate mbean would process it asynchronously maybe in a different
> VM on a different machine. Also this would allow central logging.
>
> Sorry if this has been discussed earlier.
>
> Gabor
>
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] log4j+JBoss

2001-05-24 Thread Guy Rouillier

Sure, here are the relevant lines form jboss.conf in 2.2.1:


<-- MLET CODE = "org.jboss.logging.Log4jService"
ARCHIVE="jboss.jar,log4j.jar" CODEBASE="../../lib/ext/">
<-- /MLET>

I have a follow-up question, though.  Will we eventually see jboss.conf go
away and have everything in jboss.jcml?  I'm confused about what goes where.

- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 24, 2001 4:37 AM
Subject: Re: [JBoss-user] log4j+JBoss



The log4j setup is in jboss.conf (to be uncommented)? Not in my version
(JBoss 2.2.0 FINAL) - Just checked my older versions (2.1 and 2.0) and
neither do they.

(I don't think I deleted them)

Sean

--
Dr Sean Radford, MBBS, MSc
Senior Consultant
Agora Professional Services Ltd
[EMAIL PROTECTED]
http://www.agora.co.uk






"Guy Rouillier"
<[EMAIL PROTECTED]>To:
<[EMAIL PROTECTED]>
Sent by:cc:
[EMAIL PROTECTED]Subject: Re:
[JBoss-user] log4j+JBoss
eforge.net


24/05/2001 00:44
Please respond to jboss-user







I have a grand total of about 18 hrs experience  with log4j, so put the
following remarks in that context, but what you discuss  below doesn't put
the power and flexibility to maximum use. Here is the  total of the
statements needed in the EJB code:

import org.apache.log4j.Category;

public class OurBean implements  SessionBean
{
private final Category log =  Category.getInstance(getClass().getName
());

public void ourMethod()
{
  log.info("ourMethod called");
}
}

Everything else you show below can be configured in  log4j.properties in
the jboss/conf directory. That way, your logging code  is independent of
its final format and destination. You can change the  format and
destination without making a single change to your source  code.

To the original appender, log4j is already  installed. Just use the above
statements in your source. Then  configure how you want your output to
look and where you want it to go in  log4j.properties. The existing one
will get you started. Finally,  you need to update jboss.conf to disable
consolelogging and filelogging and  enable log4j. All the statements are
already in the file, just  comment and uncomment. From trial and error,
you can't comment by just  surrounding the block of statements with . The  statements are executed anyway. You need to remove the
starting  <.

Documentation for log4j can be found at
http://www.apache.org/foundation/projects.html.   Look for log4j and follow
the links.

- Original Message -
From:  Jaime, Paul
To: '[EMAIL PROTECTED]'
Sent: Wednesday, May 23, 2001 9:46  AM
Subject: RE: [JBoss-user]  log4j+JBoss

You should be able to use log4j the same way as you do for any  class. See
the examples on the Log4J docs.

This is my code on a state-full session bean,

file://*** IMPORT AS NEEDED  ***//
import org.apache.log4j.Category;
import org.apache.log4j.PatternLayout;
import org.apache.log4j.Layout;
import  org.apache.log4j.FileAppender;
import  org.apache.log4j.PropertyConfigurator;

file://** ON MY ejbCreate **//

file://set logging options
try{
Layout layout = new  PatternLayout("%d{HH:mm:ss,SSS}%r [%t] %c %x -
%m%n");
cat.addAppender(new  FileAppender(layout,"C:/temp/your.log",true));
cat.info("Started Log for EJB");
} catch(IOException e){
isDebug = false;
};

___
Paul  Jaime
[EMAIL PROTECTED]
___

-Original Message-
From:  Isidoro Fernandez Diaz [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 23, 2001 9:03  AM
To:   [EMAIL PROTECTED]
Subject: [JBoss-user]  log4j+JBoss

Hi!

  I need to download  log4j for JBoss... Can help me
anybody?
  Also I need to learn  how to install and to configure
log4j for JBoss.

Thanks folks.  Bye.

Isidoro Fernández Díaz
mailto:[EMAIL PROTECTED]
Software Engineer
TELENIUM, The New  Millennium Telecom Company
Agustín de Foxá, 25, plta.  13
28036 MADRID
Tel. +34 91  315 85 62
Fax +34 91 315 63 37
http://www.telenium.es

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user





___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] org.jboss.deployment.J2eeDeploymentException

2001-05-24 Thread Steve Magoun

When you start, make sure you're using run_with_tomcat.bat (or
run_with_tomcat.sh on unix) instead of run.bat/run.sh. If tomcat is
indeed starting, you should see the following in your console during
startup:
 
[...]
[EmbeddedTomcat] Initializing
[EmbeddedTomcat] Initialized
[...]
 
If it's not there, tomcat (the web container) isn't running.
 
 
Steve


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Scott
Salisbury
Sent: Thursday, May 24, 2001 7:30 PM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] org.jboss.deployment.J2eeDeploymentException


Hello, 

I have installed JBoss.  It seems to start OK except for the following
errors related to Tomcat.  Is there something I should be doing to start
TomCat?
JBoss-2.2.1_Tomcat-3.2.1.zip is the file that I installed from.  I am
running on Linux Redhat 7.0

Thanks,
Scott 



[J2EE Deployer Default] Started
[Auto deploy] Starting
[Auto deploy] Watching /usr/JBoss-2.2.1_Tomcat-3.2.1/jboss/deploy
[Auto deploy] Auto deploy of
file:/usr/JBoss-2.2.1_Tomcat-3.2.1/jboss/deploy/tomcat-test.ear
[J2EE Deployer Default] Deploy J2EE application:
file:/usr/JBoss-2.2.1_Tomcat-3.2.1/jboss/deploy/tomcat-test.ear
[J2EE Deployer Default] Create application tomcat-test.ear
[J2EE Deployer Default] inflate and install module tomcat-test.war
[J2EE Deployer Default] install module tomcat-test.jar
[J2EE Deployer Default] add all ejb jar files to the common classpath
[J2EE Deployer Default] Module tomcat-test.ear is not running
[J2EE Deployer Default] Unable to stop module tomcat-test.war:
DefaultDomain:service=EmbeddedTomcat
[J2EE Deployer Default] unable to stop application tomcat-test.ear:
org.jboss.deployment.J2eeDeploymentException: Error(s) on stopping
application tomcat-test.ear:
Unable to stop module tomcat-test.war: fatal error while calling
:service=EmbeddedTomcat: DefaultDomain:service=EmbeddedTomcat/n
[J2EE Deployer Default] Destroying application tomcat-test.ear
[Auto deploy] Deployment
failed:file:/usr/JBoss-2.2.1_Tomcat-3.2.1/jboss/deploy/tomcat-test.ear
[Auto deploy] org.jboss.deployment.J2eeDeploymentException: application
contains war files but no web container available
[Auto deploy]   at
org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:406
)
[Auto deploy]   at
org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:178)
[Auto deploy]   at java.lang.reflect.Method.invoke(Native Method)
[Auto deploy]   at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[Auto deploy]   at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[Auto deploy]   at
org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:358)
[Auto deploy]   at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:221)
[Auto deploy]   at
org.jboss.ejb.AutoDeployer.startService(AutoDeployer.java:332)
[Auto deploy]   at
org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:93)
[Auto deploy]   at java.lang.reflect.Method.invoke(Native Method)
[Auto deploy]   at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[Auto deploy]   at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[Auto deploy]   at
org.jboss.util.ServiceControl.start(ServiceControl.java:97)
[Auto deploy]   at java.lang.reflect.Method.invoke(Native Method)
[Auto deploy]   at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[Auto deploy]   at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[Auto deploy]   at org.jboss.Main.(Main.java:203)
[Auto deploy]   at org.jboss.Main$1.run(Main.java:107)
[Auto deploy]   at java.security.AccessController.doPrivileged(Native
Method)
[Auto deploy]   at org.jboss.Main.main(Main.java:103)
[Auto deploy] Started
[RARDeployer] Starting
[RARDeployer] Started
[MinervaNoTransCMFactory] Starting
[MinervaNoTransCMFactory] Connection manager factory
'MinervaNoTransCMFactory bound to 'java:/MinervaNoTransCMFactory'
[MinervaNoTransCMFactory] Started

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] org.jboss.deployment.J2eeDeploymentException

2001-05-24 Thread Scott Salisbury




Hello, 
 
I have installed JBoss.  It seems to start OK 
except for the following errors related to Tomcat.  Is there something I 
should be doing to start TomCat?
JBoss-2.2.1_Tomcat-3.2.1.zip is the file that I 
installed from.  I am running on Linux Redhat 7.0
 
Thanks,
Scott 
 
 
 
[J2EE Deployer Default] Started[Auto deploy] 
Starting[Auto deploy] Watching 
/usr/JBoss-2.2.1_Tomcat-3.2.1/jboss/deploy[Auto deploy] Auto deploy of 
file:/usr/JBoss-2.2.1_Tomcat-3.2.1/jboss/deploy/tomcat-test.ear[J2EE 
Deployer Default] Deploy J2EE application: 
file:/usr/JBoss-2.2.1_Tomcat-3.2.1/jboss/deploy/tomcat-test.ear[J2EE 
Deployer Default] Create application tomcat-test.ear[J2EE Deployer Default] 
inflate and install module tomcat-test.war[J2EE Deployer Default] install 
module tomcat-test.jar[J2EE Deployer Default] add all ejb jar files to the 
common classpath[J2EE Deployer Default] Module tomcat-test.ear is not 
running[J2EE Deployer Default] Unable to stop module tomcat-test.war: 
DefaultDomain:service=EmbeddedTomcat[J2EE Deployer Default] unable 
to stop application tomcat-test.ear: 
org.jboss.deployment.J2eeDeploymentException: Error(s) on stopping application 
tomcat-test.ear:Unable to stop module tomcat-test.war: fatal error while 
calling :service=EmbeddedTomcat: DefaultDomain:service=EmbeddedTomcat/n[J2EE 
Deployer Default] Destroying application tomcat-test.ear[Auto deploy] 
Deployment 
failed:file:/usr/JBoss-2.2.1_Tomcat-3.2.1/jboss/deploy/tomcat-test.ear[Auto 
deploy] org.jboss.deployment.J2eeDeploymentException: application contains war 
files but no web container available[Auto deploy]   at 
org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:406)[Auto 
deploy]   at 
org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:178)[Auto 
deploy]   at java.lang.reflect.Method.invoke(Native Method)[Auto 
deploy]   at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)[Auto 
deploy]   at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)[Auto 
deploy]   at 
org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:358)[Auto 
deploy]   at 
org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:221)[Auto 
deploy]   at 
org.jboss.ejb.AutoDeployer.startService(AutoDeployer.java:332)[Auto 
deploy]   at 
org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:93)[Auto 
deploy]   at java.lang.reflect.Method.invoke(Native Method)[Auto 
deploy]   at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)[Auto 
deploy]   at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)[Auto 
deploy]   at 
org.jboss.util.ServiceControl.start(ServiceControl.java:97)[Auto 
deploy]   at java.lang.reflect.Method.invoke(Native Method)[Auto 
deploy]   at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)[Auto 
deploy]   at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)[Auto 
deploy]   at org.jboss.Main.(Main.java:203)[Auto 
deploy]   at org.jboss.Main$1.run(Main.java:107)[Auto 
deploy]   at java.security.AccessController.doPrivileged(Native 
Method)[Auto deploy]   at 
org.jboss.Main.main(Main.java:103)[Auto deploy] 
Started[RARDeployer] Starting[RARDeployer] 
Started[MinervaNoTransCMFactory] Starting[MinervaNoTransCMFactory] 
Connection manager factory 'MinervaNoTransCMFactory bound to 
'java:/MinervaNoTransCMFactory'[MinervaNoTransCMFactory] 
Started


RE: [JBoss-user] A message appears millions times in my JBoss startup window until I kill the window

2001-05-24 Thread Han-Shen Yuan
Title: RE: [JBoss-user] A message appears millions times in my JBoss startup window until I kill the window





Are session beans pooled initially?  And if they are, wouldn't the create method be called?


Han Yuan


-Original Message-
From: Toby Allsopp [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 24, 2001 3:26 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] A message appears millions times in my JBoss
startup window until I kill the window



On Thu, May 24, 2001 at 04:51:30PM -0500, Zhou Cai wrote:
> Hello,
>    I met a problem: I created a stateful session bean. In the construction
> method of this bean, I write something like
>   System.out.println("This is a test");
>    Then I generate a JAR file and copy the JAR file into the directory
> $JBoss\deploy.
>    Then I start JBoss, In the startup window, the message "This is a test"
> appears millions times until I kill this window. Could somebody give me a
> hint how to avoid it?
>    My enviroment is Windows 2000.


That's interesting.  Can you post a very simple example that demonstrates
this?  At least post the actual code for the bean you're talking about,
and also your ejb-jar.xml and jboss.xml.  If you've changed standardjboss.xml
then post that as well.


Toby.


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user





Re: [JBoss-user] A message appears millions times in my JBoss startup window until I kill the window

2001-05-24 Thread Toby Allsopp

On Thu, May 24, 2001 at 04:51:30PM -0500, Zhou Cai wrote:
> Hello,
>I met a problem: I created a stateful session bean. In the construction
> method of this bean, I write something like
>   System.out.println("This is a test");
>Then I generate a JAR file and copy the JAR file into the directory
> $JBoss\deploy.
>Then I start JBoss, In the startup window, the message "This is a test"
> appears millions times until I kill this window. Could somebody give me a
> hint how to avoid it?
>My enviroment is Windows 2000.

That's interesting.  Can you post a very simple example that demonstrates
this?  At least post the actual code for the bean you're talking about,
and also your ejb-jar.xml and jboss.xml.  If you've changed standardjboss.xml
then post that as well.

Toby.

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Could not start Jboss 2.2.1 in windows 2000 Server -- to Lewis L in for Message: 5816630

2001-05-24 Thread Lewis Lin

Hi, Jimmy,
  I think your problem is different. It seems like your jboss couldn't find
the Crimson parser. Can you check if you have the crimson.jar in jboss\lib?
And does your start batch include that in your start classpath?

Lewis

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Wu, Jimmy
Sent: Thursday, May 24, 2001 5:09 PM
To: '[EMAIL PROTECTED]'
Subject: [JBoss-user] Could not start Jboss 2.2.1 in windows 2000 Server
-- to Lewis L in for Message: 5816630


Hi, Lewis,

I saw your posted message 5816630 about "Could not start Jboss 2.2.1 in
windows 2000 Server"

I am getting the same error msg even though I had installed JDK1.3.1

What exactly did you do to make it work?

By the way, I tried Jboss 2.2.1 on my NT 4.0  SP5, and it works great.

Thanks a lot.

Jimmy.

=

jboss.home = D:\jboss
Using configuration "default"
[Info] Java version: 1.3.1,Sun Microsystems Inc.
[Info] Java VM: Java HotSpot(TM) Client VM 1.3.1-b24,Sun Microsystems Inc.
[Info] System: Windows 2000 5.0,x86
[Shutdown] Shutdown hook added
[Service Control] Registered with server
Exception in thread "main" [Default]
javax.xml.parsers.FactoryConfigurationError
: java.lang.ClassNotFoundException:
org.apache.crimson.jaxp.DocumentBuilderFacto
ryImpl
[Default]   at
javax.xml.parsers.DocumentBuilderFactory.newInstance(Document
BuilderFactory.java:118)
[Default]   at org.jboss.Main.(Main.java:192)
[Default]   at org.jboss.Main$1.run(Main.java:107)
[Default]   at java.security.AccessController.doPrivileged(Native
Method)
[Default]   at org.jboss.Main.main(Main.java:103)
[Default] Shutting down
[Service Control] Stopping 0 MBeans
[Service Control] Stopped 0 services
[Service Control] Destroying 0 MBeans
[Service Control] Destroyed 0 services
[Default] Shutdown complete

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user


==
 PC home §K¶O¹q¤l«H½c¡A¥Ó½Ð½Ð¦Ü: http://www.pchome.com.tw 
 PC home Online ºô¸ô®a®x¡@¡@ ·|­û²Ä¤@¡A¥xÆW³Ì¤jªº¤J¤fºô¯¸ 
==

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] A message appears millions times in my JBoss startup window until I kill the window

2001-05-24 Thread Zhou Cai

Hello,
   I met a problem: I created a stateful session bean. In the construction
method of this bean, I write something like
  System.out.println("This is a test");
   Then I generate a JAR file and copy the JAR file into the directory
$JBoss\deploy.
   Then I start JBoss, In the startup window, the message "This is a test"
appears millions times until I kill this window. Could somebody give me a
hint how to avoid it?
   My enviroment is Windows 2000.

   Thanks in advance.

Zhou



___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] no web container found

2001-05-24 Thread Michael Davis

Have you tried the newest binary release jboss-2.2.1_Tomcat-3.2.1.zip. Its all 
automatically setup for you in this release.

MikeD

>Hai,
>
>I'm trying to install Jboss with Tomcat.When I run the server I get 
>errors like this.
>Please help
>
>
>[J2EE Deployer Default] Create application interest.jar
>[J2EE Deployer Default] install module interest.jar
>[Container factory] 
>Deploying:file:/D:/JbTom/jboss/tmp/deploy/Default/interest.jar
>[Verifier] Verifying 
>file:/D:/JbTom/jboss/tmp/deploy/Default/interest.jar/ejb1001.jar
>[Container factory] Deploying Interest
>[Container factory] Deployed application: 
>file:/D:/JbTom/jboss/tmp/deploy/Default/interest.jar
>[J2EE Deployer Default] J2EE application: 
>file:/D:/JbTom/jboss/deploy/interest.jar is deployed.
>[Auto deploy] Auto deploy of file:/D:/JbTom/jboss/deploy/tomcat-test.ear
>[J2EE Deployer Default] Deploy J2EE application: 
>file:/D:/JbTom/jboss/deploy/tomcat-test.ear
>[J2EE Deployer Default] Create application tomcat-test.ear
>[J2EE Deployer Default] inflate and install module tomcat-test.war
>[J2EE Deployer Default] install module tomcat-test.jar
>[J2EE Deployer Default] add all ejb jar files to the common classpath
>[J2EE Deployer Default] Module tomcat-test.ear is not running
>[J2EE Deployer Default] Unable to stop module tomcat-test.war: 
>DefaultDomain:service=EmbeddedTomcat
>[J2EE Deployer Default] unable to stop application tomcat-test.ear: 
>org.jboss.deployment.J2eeDeploymentException: Error(s) on stopping 
>application tomcat-te
>Unable to stop module tomcat-test.war: fatal error while calling 
>:service=EmbeddedTomcat: DefaultDomain:service=EmbeddedTomcat/n
>[J2EE Deployer Default] Destroying application tomcat-test.ear
>[Auto deploy] Deployment 
>failed:file:/D:/JbTom/jboss/deploy/tomcat-test.ear
>[Auto deploy] org.jboss.deployment.J2eeDeploymentException: application 
>contains war files but no web container available
>[Auto deploy]   at 
>org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:406)
>
>[Auto deploy]   at 
>org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:178)
>[Auto deploy]   at java.lang.reflect.Method.invoke(Native Method)
>[Auto deploy]   at 
>com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
>[Auto deploy]   at 
>com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
>[Auto deploy]   at 
>org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:358)
>[Auto deploy]   at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:221)
>[Auto deploy]   at 
>org.jboss.ejb.AutoDeployer.startService(AutoDeployer.java:332)
>[Auto deploy]   at 
>org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:93)
>[Auto deploy]   at java.lang.reflect.Method.invoke(Native Method)
>[Auto deploy]   at 
>com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
>[Auto deploy]   at 
>com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
>[Auto deploy]   at 
>org.jboss.util.ServiceControl.start(ServiceControl.java:97)
>[Auto deploy]   at java.lang.reflect.Method.invoke(Native Method)
>[Auto deploy]   at 
>com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
>[Auto deploy]   at 
>com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
>[Auto deploy]   at org.jboss.Main.(Main.java:203)
>[Auto deploy]   at org.jboss.Main$1.run(Main.java:107)
>[Auto deploy]   at java.security.AccessController.doPrivileged(Native 
>Method)
>[Auto deploy]   at org.jboss.Main.main(Main.java:103)
>[Auto deploy] Started
>[RARDeployer] Starting
>[RARDeployer] Started
>
>
>sekhar



___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Could not start Jboss 2.2.1 in windows 2000 Server -- to Lewis Lin for Message: 5816630

2001-05-24 Thread Wu, Jimmy

Hi, Lewis,

I saw your posted message 5816630 about "Could not start Jboss 2.2.1 in
windows 2000 Server"

I am getting the same error msg even though I had installed JDK1.3.1

What exactly did you do to make it work?

By the way, I tried Jboss 2.2.1 on my NT 4.0  SP5, and it works great.

Thanks a lot.

Jimmy.

=

jboss.home = D:\jboss
Using configuration "default"
[Info] Java version: 1.3.1,Sun Microsystems Inc.
[Info] Java VM: Java HotSpot(TM) Client VM 1.3.1-b24,Sun Microsystems Inc.
[Info] System: Windows 2000 5.0,x86
[Shutdown] Shutdown hook added
[Service Control] Registered with server
Exception in thread "main" [Default]
javax.xml.parsers.FactoryConfigurationError
: java.lang.ClassNotFoundException:
org.apache.crimson.jaxp.DocumentBuilderFacto
ryImpl
[Default]   at
javax.xml.parsers.DocumentBuilderFactory.newInstance(Document
BuilderFactory.java:118)
[Default]   at org.jboss.Main.(Main.java:192)
[Default]   at org.jboss.Main$1.run(Main.java:107)
[Default]   at java.security.AccessController.doPrivileged(Native
Method)
[Default]   at org.jboss.Main.main(Main.java:103)
[Default] Shutting down
[Service Control] Stopping 0 MBeans
[Service Control] Stopped 0 services
[Service Control] Destroying 0 MBeans
[Service Control] Destroyed 0 services
[Default] Shutdown complete

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Deploying Multiple Web Apps with EJBs into JBoss+Tomcat

2001-05-24 Thread Hunter Hillegas

We are re-implementing part of our JavaBeans/JSP/Servlet content management
system as EJBs.

We host this system for several clients whom we service with virtual hosts.

Will we be able deploy multiple copies of the application (the beans will
have the same names but be based off of different database instances) into
one running copy of Jboss or will there be some kind of clash?

Right now we use different Tomcat contexts, which we will continue to do.
When we call EJBs from those contexts, will there be confusion? Does JBoss
support that kind of partitioning? If not, what are my options? Playing
tricks with JNDI naming?

Hunter


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Source for opentools minerva pool?

2001-05-24 Thread Toby Allsopp

On Thu, May 24, 2001 at 11:00:00AM -0700, Murali Rangan wrote:
> Hi,
> 
>   I have downloaded JBoss 2.2.1 with Tomcat 3.2.1, released on April 19th. I
> could not find the source code for Minerva pools, which are in the package
> org.opentools.minerva... in that package. The latest browsable source in
> jboss website have them packaged differently under org.jboss.minerva...
> packages. Where can I download minerva pool source code, released with JBoss
> 2.2.1?

Please check the list archives before asking.

For the 2.2 branch, the Minerva source code is in a zip file in the
jbosscx module, under src/external.  In the current 2.3 sources, Minerva
has been forked and appears, named JBossPool, in the jbosspool module.

Toby.

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] automatic generated primarykey ???

2001-05-24 Thread Nicholas

A failsafe method I use for generating database based
primary keys is to create a session bean that invokes
a call to the database. In my case I simply select a
value from an Oracle sequence.

If you want to be more creative, you could probably
cache values somewhere, provided you did not need to
guarantee consecutive values.

//Nicholas

--- gizmo <[EMAIL PROTECTED]> wrote:
> i don't need the primarykey in my application, so i
> want jboss or the
> database to generate my primarykey automaticly.
> i read i can do this when i use a java.lang.Object
> as a primarykey, but it
> didn't work - jboss throwed something like a
> NotSerializableException.
> then i tried java.lang.Integer - then jboss said i
> would need the follow
> cmp-fields in my bean : MIN_VALUE, MAX_VALUE, TYPE.
> so i did, even when i don't know what's meant by
> TYPE.
> after it i could deploy my bean without problems.
> but when i executed the home.create - method, there
> occurred loads of
> exceptions saying it's not possible to create a
> primarykey.
> 
> is there any way to generate the primarykeys
> automaticly, the same way when
> the database does it for me with AUTOINCREMENT ???
> 
> Thanks in advantage
> 
> 
> here the code when i used a java.lang.Object as the
> primarykey :
> 
> > I don't want to generate a primary key and i did
> read it's possible the
> > container can do this for me.
> > I just need to act with java.lang.Object as key
> the way I show in the code
> > below.
> > The bean is very simple and handle with a string.
> I can deploy the bean
> > without problems.
> > But when i try to access with a client I get an
> error.
> > By the way has someone a good and safe algorithm
> to generate a unique key
> ?
> >
> > thanks in advantage
> >
> >
> >
>

> > package com.test.string;
> >
> > import java.rmi.RemoteException;
> > import javax.ejb.CreateException;
> > import javax.ejb.FinderException;
> > import java.util.*;
> >
> > public interface MyStringHome extends
> javax.ejb.EJBHome {
> >   public MyString create()
> > throws CreateException, RemoteException;
> >
> >   public MyString
> findByPrimaryKey(java.lang.Object id)
> > throws FinderException, RemoteException;
> >
> >   public Collection findAll()
> > throws FinderException, RemoteException;
> > }
> >
>

> >
> > package com.test.string;
> >
> > import java.rmi.RemoteException;
> >
> > public interface MyString extends
> javax.ejb.EJBObject {
> >   public String getString() throws
> RemoteException;
> >   public void setString(String string) throws
> RemoteException;
> > }
> >
>

> >
> > package com.test.string;
> >
> > import javax.ejb.EntityContext;
> >
> > public class MyStringBean implements
> javax.ejb.EntityBean {
> >
> >   transient private EntityContext ctx;
> >   public String myString;
> >
> >   public java.lang.Object ejbCreate() {
> > return null;
> >   }
> >
> >   public void ejbPostCreate() {}
> >
> >   public String getString(){
> > return myString;
> >   }
> >
> >   public void setString(String string) {
> > myString = string;
> >   }
> >
> >   public void setEntityContext(EntityContext ctx)
> { this.ctx = ctx; }
> >   public void unsetEntityContext() { ctx = null; }
> >   public void ejbActivate() {}
> >   public void ejbPassivate() {}
> >   public void ejbLoad() {}
> >   public void ejbStore() {}
> >   public void ejbRemove() {}
> > }
> >
>

> > 
> >
> >  Inc.//DTD Enterprise
> > JavaBeans 1.1//EN"
> "http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd";>
> >
> > 
> >   Strings
> >   
> >
> > 
> >   Handle a String
> >   MyStringBean
> >   com.test.string.MyStringHome
> >   com.test.string.MyString
> >  
> com.test.string.MyStringBean
> >  
> Container
> >  
> java.lang.Object
> >   False
> >  
>
myString
> >  >   
> >
> >   
> > 
> >   
> > MyStringBean
> > *
> >   
> >   Required
> > 
> >   
> > 
> >
>

> 
> 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
>
http://lists.sourceforge.net/lists/listinfo/jboss-user


=
Nicholas Whitehead
Home: (973) 377 9335
Cell: (973) 615 9646
[EMAIL PROTECTED]

Laugh your pants off with Lionel at eYada.com.

__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] RE: CMP OrderBy DESC problem

2001-05-24 Thread danch (Dan Christopherson)

You should probably upgrade to version 2.2.1 - The bug you've hit was 
fixed just before the release of JBoss 2.2.

See the online documentation page for information on transitioning from 
2.0 to 2.2 - there are some changes in how the datasources are configured.

-danch

Dave, Pragnesh wrote:

> Dan, here is the server log
> 
> (I am using JBoss 2.0 final, SQL Server 6.5, and inet tds "UNA" driver)
> 
> [JAWS] java.sql.SQLException: [RFSRVDEV]Incorrect syntax near the keyword
> 'DESC'.
> [JAWS]at com.inet.tds.TdsConnection.a(Unknown Source)
> [JAWS]at com.inet.tds.TdsStatement.if(Unknown Source)
> [JAWS]at com.inet.tds.TdsStatement.a(Unknown Source)
> [JAWS]at com.inet.tds.TdsStatement.executeQuery(Unknown Source)
> [JAWS]at
> org.jboss.minerva.jdbc.PreparedStatementInPool.executeQuery(PreparedStatemen
> tInPool.java:70)
> [JAWS]at
> org.jboss.ejb.plugins.jaws.jdbc.JDBCQueryCommand.executeStatementAndHandleRe
> sult(JDBCQueryCommand.java:58)
> [JAWS]at
> org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.jdbcExecute(JDBCCommand.java:158
> )
> [JAWS]at
> org.jboss.ejb.plugins.jaws.jdbc.JDBCFinderCommand.execute(JDBCFinderCommand.
> java:60)
> [JAWS]at
> org.jboss.ejb.plugins.jaws.jdbc.JDBCFindEntitiesCommand.execute(JDBCFindEnti
> tiesCommand.java:114)
> [JAWS]at
> org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.findEntities(JAWSPersisten
> ceManager.java:138)
> [JAWS]at
> org.jboss.ejb.plugins.CMPPersistenceManager.findEntities(CMPPersistenceManag
> er.java:216)
> [JAWS]at org.jboss.ejb.EntityContainer.find(EntityContainer.java:392)
> [JAWS]at java.lang.reflect.Method.invoke(Native Method)
> [JAWS]at
> org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContaine
> r.java:639)
> [JAWS]at
> org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySync
> hronizationInterceptor.java:160)
> [JAWS]at
> org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInt
> erceptor.java:86)
> [JAWS]at
> org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:135)
> [JAWS]at
> org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.
> java:263)
> [JAWS]at
> org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:86)
> [JAWS]at
> org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.jav
> a:126)
> [JAWS]at
> org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:106)
> [JAWS]at
> org.jboss.ejb.EntityContainer.invokeHome(EntityContainer.java:316)
> [JAWS]at
> org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invokeHome(JRMPContai
> nerInvoker.java:143)
> [JAWS]at java.lang.reflect.Method.invoke(Native Method)
> [JAWS]at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
> [JAWS]at sun.rmi.transport.Transport$1.run(Unknown Source)
> [JAWS]at java.security.AccessController.doPrivileged(Native Method)
> [JAWS]at sun.rmi.transport.Transport.serviceCall(Unknown Source)
> [JAWS]at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
> [JAWS]at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown
> Source)
> [JAWS]at java.lang.Thread.run(Unknown Source)
> 
> 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 




___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] RE: CMP OrderBy DESC problem

2001-05-24 Thread Dave, Pragnesh

Dan, here is the server log

(I am using JBoss 2.0 final, SQL Server 6.5, and inet tds "UNA" driver)

[JAWS] java.sql.SQLException: [RFSRVDEV]Incorrect syntax near the keyword
'DESC'.
[JAWS]  at com.inet.tds.TdsConnection.a(Unknown Source)
[JAWS]  at com.inet.tds.TdsStatement.if(Unknown Source)
[JAWS]  at com.inet.tds.TdsStatement.a(Unknown Source)
[JAWS]  at com.inet.tds.TdsStatement.executeQuery(Unknown Source)
[JAWS]  at
org.jboss.minerva.jdbc.PreparedStatementInPool.executeQuery(PreparedStatemen
tInPool.java:70)
[JAWS]  at
org.jboss.ejb.plugins.jaws.jdbc.JDBCQueryCommand.executeStatementAndHandleRe
sult(JDBCQueryCommand.java:58)
[JAWS]  at
org.jboss.ejb.plugins.jaws.jdbc.JDBCCommand.jdbcExecute(JDBCCommand.java:158
)
[JAWS]  at
org.jboss.ejb.plugins.jaws.jdbc.JDBCFinderCommand.execute(JDBCFinderCommand.
java:60)
[JAWS]  at
org.jboss.ejb.plugins.jaws.jdbc.JDBCFindEntitiesCommand.execute(JDBCFindEnti
tiesCommand.java:114)
[JAWS]  at
org.jboss.ejb.plugins.jaws.JAWSPersistenceManager.findEntities(JAWSPersisten
ceManager.java:138)
[JAWS]  at
org.jboss.ejb.plugins.CMPPersistenceManager.findEntities(CMPPersistenceManag
er.java:216)
[JAWS]  at org.jboss.ejb.EntityContainer.find(EntityContainer.java:392)
[JAWS]  at java.lang.reflect.Method.invoke(Native Method)
[JAWS]  at
org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContaine
r.java:639)
[JAWS]  at
org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySync
hronizationInterceptor.java:160)
[JAWS]  at
org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInt
erceptor.java:86)
[JAWS]  at
org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:135)
[JAWS]  at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.
java:263)
[JAWS]  at
org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:86)
[JAWS]  at
org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.jav
a:126)
[JAWS]  at
org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:106)
[JAWS]  at
org.jboss.ejb.EntityContainer.invokeHome(EntityContainer.java:316)
[JAWS]  at
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invokeHome(JRMPContai
nerInvoker.java:143)
[JAWS]  at java.lang.reflect.Method.invoke(Native Method)
[JAWS]  at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
[JAWS]  at sun.rmi.transport.Transport$1.run(Unknown Source)
[JAWS]  at java.security.AccessController.doPrivileged(Native Method)
[JAWS]  at sun.rmi.transport.Transport.serviceCall(Unknown Source)
[JAWS]  at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
[JAWS]  at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown
Source)
[JAWS]  at java.lang.Thread.run(Unknown Source)



___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] no web container found

2001-05-24 Thread Shake



Hai,
 
I'm trying to install Jboss with Tomcat.When I run 
the server I get errors like this.
Please help
 
 
[J2EE Deployer Default] Create application 
interest.jar[J2EE Deployer Default] install module 
interest.jar[Container factory] 
Deploying:file:/D:/JbTom/jboss/tmp/deploy/Default/interest.jar[Verifier] 
Verifying 
file:/D:/JbTom/jboss/tmp/deploy/Default/interest.jar/ejb1001.jar[Container 
factory] Deploying Interest[Container factory] Deployed application: 
file:/D:/JbTom/jboss/tmp/deploy/Default/interest.jar[J2EE Deployer Default] 
J2EE application: file:/D:/JbTom/jboss/deploy/interest.jar is deployed.[Auto 
deploy] Auto deploy of file:/D:/JbTom/jboss/deploy/tomcat-test.ear[J2EE 
Deployer Default] Deploy J2EE application: 
file:/D:/JbTom/jboss/deploy/tomcat-test.ear[J2EE Deployer Default] Create 
application tomcat-test.ear[J2EE Deployer Default] inflate and install 
module tomcat-test.war[J2EE Deployer Default] install module 
tomcat-test.jar[J2EE Deployer Default] add all ejb jar files to the common 
classpath[J2EE Deployer Default] Module tomcat-test.ear is not 
running[J2EE Deployer Default] Unable to stop module 
tomcat-test.war: DefaultDomain:service=EmbeddedTomcat[J2EE Deployer Default] 
unable to stop application tomcat-test.ear: 
org.jboss.deployment.J2eeDeploymentException: Error(s) on stopping application 
tomcat-teUnable to stop module tomcat-test.war: fatal error while calling 
:service=EmbeddedTomcat: DefaultDomain:service=EmbeddedTomcat/n[J2EE 
Deployer Default] Destroying application tomcat-test.ear[Auto deploy] 
Deployment failed:file:/D:/JbTom/jboss/deploy/tomcat-test.ear[Auto deploy] 
org.jboss.deployment.J2eeDeploymentException: application 
contains war files but no web container available[Auto 
deploy]   at 
org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:406)[Auto 
deploy]   at 
org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:178)[Auto 
deploy]   at java.lang.reflect.Method.invoke(Native Method)[Auto 
deploy]   at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)[Auto 
deploy]   at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)[Auto 
deploy]   at 
org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:358)[Auto 
deploy]   at 
org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:221)[Auto 
deploy]   at 
org.jboss.ejb.AutoDeployer.startService(AutoDeployer.java:332)[Auto 
deploy]   at 
org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:93)[Auto 
deploy]   at java.lang.reflect.Method.invoke(Native Method)[Auto 
deploy]   at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)[Auto 
deploy]   at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)[Auto 
deploy]   at 
org.jboss.util.ServiceControl.start(ServiceControl.java:97)[Auto 
deploy]   at java.lang.reflect.Method.invoke(Native Method)[Auto 
deploy]   at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)[Auto 
deploy]   at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)[Auto 
deploy]   at org.jboss.Main.(Main.java:203)[Auto 
deploy]   at org.jboss.Main$1.run(Main.java:107)[Auto 
deploy]   at java.security.AccessController.doPrivileged(Native 
Method)[Auto deploy]   at 
org.jboss.Main.main(Main.java:103)[Auto deploy] Started[RARDeployer] 
Starting[RARDeployer] Started
 
 
sekhar


[JBoss-user] Mosaic Filter Mail

2001-05-24 Thread James L Robinson

Hello,

I am out of the office today. I shall be back in the office
on Friday, May 25.

James

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Source for opentools minerva pool?

2001-05-24 Thread Murali Rangan

Hi,

I have downloaded JBoss 2.2.1 with Tomcat 3.2.1, released on April 19th. I
could not find the source code for Minerva pools, which are in the package
org.opentools.minerva... in that package. The latest browsable source in
jboss website have them packaged differently under org.jboss.minerva...
packages. Where can I download minerva pool source code, released with JBoss
2.2.1?

Thanks,
Murali


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] RE: CMP OrderBy DESC problem

2001-05-24 Thread danch (Dan Christopherson)

Dave, Pragnesh wrote:

> Dan, the following is the stack trace on the client when the finder fails
> 
> javax.ejb.FinderException: Find failed
> javax.ejb.FinderException: Find failed
> at
> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown
> Source)
> at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
> at sun.rmi.server.UnicastRef.invoke(Unknown Source)
> at
> org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker_Stub.invokeHome(Unkno
> wn Source)
> at
> org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java:221)
> at $Proxy0.findTicketsFacility(Unknown Source)
> at FacilityClient.main(FacilityClient.java:42)
> 
> Nothing is displayed on the Jboss console/log file for this exception.

take a look in $JBOSS_HOME/logs/server.log - if you have a stock logging 
setup, you may see a stack trace there.

-danch


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] Persistence Queue with Message Driven Bean

2001-05-24 Thread Howard Ginsburg

>From looking at the documentation, there is nothing that points to durable
queues.  Should I be using a topic instead even though I only ever need one
subscriber?

-Original Message-
From: Howard Ginsburg [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 24, 2001 12:46 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [JBoss-user] Persistence Queue with Message Driven Bean


I am using JBoss 2.2.1.  Here is some sample code from my client:

//Get a handle to the JMS queue.
  Context context = new InitialContext();

  String QUEUE_FACTORY = "QueueConnectionFactory";
  QueueConnectionFactory queueFactory =
(QueueConnectionFactory)context.lookup(QUEUE_FACTORY);
  queueConnection = queueFactory.createQueueConnection();

  session =
queueConnection.createQueueSession(false,javax.jms.Session.AUTO_ACKNOWLEDGE)
;
  Queue queue = (Queue)context.lookup("queue/MyQueue");

  sender = session.createSender(queue);

  //Create a message object to use.
  ObjectMessage message = session.createObjectMessage();

//Set the message.
  message.setObject(MySerializableObject);

//Send the message.
  sender.send(message);

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Rama Rao
Sent: Thursday, May 24, 2001 11:47 AM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] Persistence Queue with Message Driven Bean


Hi,
That is the way it should work. Once you restart the server it should
process all the messages. That is happening with us.
Your XMLs seems to be OK. Which version of JBoss you are using?
Can u post the few lines of code which puts the messages in queue?
bye
rama rao
- Original Message -
From: Howard Ginsburg <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 24, 2001 8:14 PM
Subject: [JBoss-user] Persistence Queue with Message Driven Bean


> I have my client send messages to a persistent queue, then have a mdb
> listening on that queue.  At runtime, everything seems to work correctly.
I
> am now trying to verify the persistence of the queue.  To do this, I
remove
> the mdb from my deployment, send messages from my client, shutdown jboss,
> redeploy my mdb, and restart jboss.  My understanding is that the messages
> should automatically get restored and triggered to my mdb.  This isn't the
> behavior I get.  It appears the messages are lost.  Any thoughts?  Here is
> my configuration:
>
> ejb-jar.xml
>
> 
> 
> 
> 
> 
> MDBBean
> com.test.MDBBean
> 
> Container
> AUTO_ACKNOWLEDGE
> 
> javax.jms.Queue
> Durable
> 
> 
>
> 
> 
> 
> 
> MDBBean
> *
> 
> Required
> 
>
> 
> 
>
> jboss.xml
>
> 
>
> 
> 
>
> 
> MDBBean
> 
> queue/MyQueue
> 
>
> 
> 
>
> jbossmq.xml
>
> 
> MyQueue
> 
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] RE: CMP OrderBy DESC problem

2001-05-24 Thread danch (Dan Christopherson)

Try enabling jaws SQL tracing by adding 'true' to the top 
level of your jaws.xml file. Also, make sure that debugging information 
is output to the logs, either in jboss.conf (for old-style logging) or 
in log4j.properties (for log4j logging).

Dave, Pragnesh wrote:

> Dan, the following is the stack trace on the client when the finder fails
> 
> javax.ejb.FinderException: Find failed
> javax.ejb.FinderException: Find failed
> at
> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown
> Source)
> at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
> at sun.rmi.server.UnicastRef.invoke(Unknown Source)
> at
> org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker_Stub.invokeHome(Unkno
> wn Source)
> at
> org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java:221)
> at $Proxy0.findTicketsFacility(Unknown Source)
> at FacilityClient.main(FacilityClient.java:42)
> 
> Nothing is displayed on the Jboss console/log file for this exception.
> 
> Date: Thu, 24 May 2001 10:24:13 -0500
> From: "danch (Dan Christopherson)" <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] RE: CMP OrderBy DESC problem
> Reply-To: [EMAIL PROTECTED]
> 
> Dave, Pragnesh wrote:
> 
> 
>>Gang, still NO response on my question.
>>
>>Some additional info-
>>Here is my jaws.xml file
>>
>>  rfsrvdev
>>  MS SQLSERVER
>>  
>>
>>  Facility
>>  facility
>>  false
>>  
>>  findTicketsFacility
>>  fac_num < {0}
>>  fac_num
>>  
>>
>>  
>>
>>
>>Everything works fine with the above config.
>>As soon as I change the
>>  fac_num
>>to
>>  fac_num DESC
>>things break.
>>
> 
> Do you have a server-side stack trace? How do things break?
> 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 




___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Auto deploy failing

2001-05-24 Thread danch (Dan Christopherson)

Does your servlet override 'init(ServletConfig)'? If so, does it call 
'super.init(config)'? If not, that would tend to cause null pointer 
exceptions when things try to log.

-danch

Jonathan Holloway wrote:

> Could anybody tell me why auto-deploy fails on the following ear file, 
> is this a bug in jboss
> or a mistake I've made in the creation of the ear file and config files 
> or possible the configuration
> I've currently got with jboss.  I've had this problem since version 2.0 
> FINAL.
> 
> Thanks.
> 
> Jon.
> 
> [Auto deploy] Auto deploy of 
> file:/C:/jboss-tomcat-2.2/jboss-2.2/deploy/test.ear
> [J2EE Deployer Default] Stopping module test.ear
> [Container factory] 
> Undeploying:file:/C:/jboss-tomcat-2.2/jboss-2.2/tmp/deploy/Default/test.ear
> [Container factory] Undeployed application: 
> file:/C:/jboss-tomcat-2.2/jboss-2.2/tmp/deploy/Default/test.ear
> [J2EE Deployer Default] Stopping module test.war
> 2001-05-24 04:36:39 - ContextManager: Removing context Ctx(  )
> [J2EE Deployer Default] Destroying application test.ear
> 2001-05-24 04:36:39 - Ctx(  ): Error in destroy  - 
> java.lang.NullPointerException
> at 
> javax.servlet.GenericServlet.getServletContext(GenericServlet.java:205)
> at javax.servlet.GenericServlet.log(GenericServlet.java:300)
> at javax.servlet.GenericServlet.destroy(GenericServlet.java:122)
> at 
> org.apache.tomcat.core.ServletWrapper.doDestroy(ServletWrapper.java:241)
> at org.apache.tomcat.core.Handler.destroy(Handler.java:186)
> at 
> org.apache.tomcat.core.ContextManager.shutdownContext(ContextManager.java:509) 
> 
> at 
> org.apache.tomcat.core.ContextManager.removeContext(ContextManager.java:591) 
> 
> at org.jboss.tomcat.TomcatEntry.removeContext(TomcatEntry.java:115)
> at 
> org.jboss.tomcat.EmbeddedTomcatService.undeploy(EmbeddedTomcatService.java:135) 
> 
> at java.lang.reflect.Method.invoke(Native Method)
> at 
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
> at 
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
> at 
> org.jboss.deployment.J2eeDeployer.stopModule(J2eeDeployer.java:515)
> at 
> org.jboss.deployment.J2eeDeployer.stopApplication(J2eeDeployer.java:488)
> at 
> org.jboss.deployment.J2eeDeployer.undeploy(J2eeDeployer.java:232)
> at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:166)
> at java.lang.reflect.Method.invoke(Native Method)
> at 
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
> at 
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
> at org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:358)
> at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:221)
> at java.lang.Thread.run(Unknown Source)
> 
> 2001-05-24 04:36:39 - Ctx(  ): Error in destroy  - 
> java.lang.NullPointerException
> at 
> javax.servlet.GenericServlet.getServletContext(GenericServlet.java:205)
> at javax.servlet.GenericServlet.log(GenericServlet.java:300)
> at javax.servlet.GenericServlet.destroy(GenericServlet.java:122)
> at 
> org.apache.tomcat.core.ServletWrapper.doDestroy(ServletWrapper.java:241)
> at org.apache.tomcat.core.Handler.destroy(Handler.java:186)
> at 
> org.apache.tomcat.core.ContextManager.shutdownContext(ContextManager.java:509) 
> 
> at 
> org.apache.tomcat.core.ContextManager.removeContext(ContextManager.java:591) 
> 
> at org.jboss.tomcat.TomcatEntry.removeContext(TomcatEntry.java:115)
> at 
> org.jboss.tomcat.EmbeddedTomcatService.undeploy(EmbeddedTomcatService.java:135) 
> 
> at java.lang.reflect.Method.invoke(Native Method)
> at 
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
> at 
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
> at 
> org.jboss.deployment.J2eeDeployer.stopModule(J2eeDeployer.java:515)
> at 
> org.jboss.deployment.J2eeDeployer.stopApplication(J2eeDeployer.java:488)
> at 
> org.jboss.deployment.J2eeDeployer.undeploy(J2eeDeployer.java:232)
> at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:166)
> at java.lang.reflect.Method.invoke(Native Method)
> at 
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
> at 
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
> at org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:358)
> at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:221)
> at java.lang.Thread.run(Unknown Source)
> 
> [J2EE Deployer Default] Deploy J2EE application: 
> file:/C:/jboss-tomcat-2.2/jboss-2.2/deploy/test.ear
> [J2EE Deployer Default] Create application test.ear
> [J2EE Deployer Default] inflate and install module test.war
> [J2EE Deployer Defa

Re: [JBoss-user] JBoss 2.2.1 and Windows 2000

2001-05-24 Thread Scott M Stark

The run with the -verbose mode VM flag and find where the
crimson xml classes are coming from because the error at
org.apache.crimson.tree.AttributeSet.(AttributeSet.jav:139)
does not match the crimson 1.1 source.

- Original Message - 
From: "Michael Haupt" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 24, 2001 9:56 AM
Subject: Re: [JBoss-user] JBoss 2.2.1 and Windows 2000


> Hi Scott,
> 
> Scott M Stark wrote:
> > Your picking up an old version of the org.xml.sax.Attributes class.
> > You must have some xml classes in your VM lib/ext directory.
> 
> I don't think so; the Linux installation is *exactly* the same (IBM JDK
> 1.3), and it works perfectly. :-(
> 
> Bye,
> 
> Michael
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] RE: CMP OrderBy DESC problem

2001-05-24 Thread Dave, Pragnesh

Dan, the following is the stack trace on the client when the finder fails

javax.ejb.FinderException: Find failed
javax.ejb.FinderException: Find failed
at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown
Source)
at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker_Stub.invokeHome(Unkno
wn Source)
at
org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java:221)
at $Proxy0.findTicketsFacility(Unknown Source)
at FacilityClient.main(FacilityClient.java:42)

Nothing is displayed on the Jboss console/log file for this exception.

Date: Thu, 24 May 2001 10:24:13 -0500
From: "danch (Dan Christopherson)" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] RE: CMP OrderBy DESC problem
Reply-To: [EMAIL PROTECTED]

Dave, Pragnesh wrote:

> Gang, still NO response on my question.
> 
> Some additional info-
> Here is my jaws.xml file
> 
>   rfsrvdev
>   MS SQLSERVER
>   
> 
>   Facility
>   facility
>   false
>   
>   findTicketsFacility
>   fac_num < {0}
>   fac_num
>   
> 
>   
> 
> 
> Everything works fine with the above config.
> As soon as I change the
>   fac_num
> to
>   fac_num DESC
> things break.

Do you have a server-side stack trace? How do things break?


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Mosaic Filter Mail

2001-05-24 Thread James L Robinson

Hello,

I am out of the office today. I shall be back in the office
on Friday, May 25.

James

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Persistence Queue with Message Driven Bean

2001-05-24 Thread Rama Rao

Hi,
That is the way it should work. Once you restart the server it should
process all the messages. That is happening with us.
Your XMLs seems to be OK. Which version of JBoss you are using?
Can u post the few lines of code which puts the messages in queue?
bye
rama rao
- Original Message -
From: Howard Ginsburg <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 24, 2001 8:14 PM
Subject: [JBoss-user] Persistence Queue with Message Driven Bean


> I have my client send messages to a persistent queue, then have a mdb
> listening on that queue.  At runtime, everything seems to work correctly.
I
> am now trying to verify the persistence of the queue.  To do this, I
remove
> the mdb from my deployment, send messages from my client, shutdown jboss,
> redeploy my mdb, and restart jboss.  My understanding is that the messages
> should automatically get restored and triggered to my mdb.  This isn't the
> behavior I get.  It appears the messages are lost.  Any thoughts?  Here is
> my configuration:
>
> ejb-jar.xml
>
> 
> 
> 
> 
> 
> MDBBean
> com.test.MDBBean
> 
> Container
> AUTO_ACKNOWLEDGE
> 
> javax.jms.Queue
> Durable
> 
> 
>
> 
> 
> 
> 
> MDBBean
> *
> 
> Required
> 
>
> 
> 
>
> jboss.xml
>
> 
>
> 
> 
>
> 
> MDBBean
> 
> queue/MyQueue
> 
>
> 
> 
>
> jbossmq.xml
>
> 
> MyQueue
> 
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Auto deploy failing

2001-05-24 Thread Jonathan Holloway

Could anybody tell me why auto-deploy fails on the following ear file, is 
this a bug in jboss
or a mistake I've made in the creation of the ear file and config files or 
possible the configuration
I've currently got with jboss.  I've had this problem since version 2.0 FINAL.

Thanks.

Jon.

[Auto deploy] Auto deploy of 
file:/C:/jboss-tomcat-2.2/jboss-2.2/deploy/test.ear
[J2EE Deployer Default] Stopping module test.ear
[Container factory] 
Undeploying:file:/C:/jboss-tomcat-2.2/jboss-2.2/tmp/deploy/Default/test.ear
[Container factory] Undeployed application: 
file:/C:/jboss-tomcat-2.2/jboss-2.2/tmp/deploy/Default/test.ear
[J2EE Deployer Default] Stopping module test.war
2001-05-24 04:36:39 - ContextManager: Removing context Ctx(  )
[J2EE Deployer Default] Destroying application test.ear
2001-05-24 04:36:39 - Ctx(  ): Error in destroy  - 
java.lang.NullPointerException
 at 
javax.servlet.GenericServlet.getServletContext(GenericServlet.java:205)
 at javax.servlet.GenericServlet.log(GenericServlet.java:300)
 at javax.servlet.GenericServlet.destroy(GenericServlet.java:122)
 at 
org.apache.tomcat.core.ServletWrapper.doDestroy(ServletWrapper.java:241)
 at org.apache.tomcat.core.Handler.destroy(Handler.java:186)
 at 
org.apache.tomcat.core.ContextManager.shutdownContext(ContextManager.java:509)
 at 
org.apache.tomcat.core.ContextManager.removeContext(ContextManager.java:591)
 at org.jboss.tomcat.TomcatEntry.removeContext(TomcatEntry.java:115)
 at 
org.jboss.tomcat.EmbeddedTomcatService.undeploy(EmbeddedTomcatService.java:135)
 at java.lang.reflect.Method.invoke(Native Method)
 at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
 at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
 at org.jboss.deployment.J2eeDeployer.stopModule(J2eeDeployer.java:515)
 at 
org.jboss.deployment.J2eeDeployer.stopApplication(J2eeDeployer.java:488)
 at org.jboss.deployment.J2eeDeployer.undeploy(J2eeDeployer.java:232)
 at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:166)
 at java.lang.reflect.Method.invoke(Native Method)
 at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
 at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
 at org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:358)
 at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:221)
 at java.lang.Thread.run(Unknown Source)

2001-05-24 04:36:39 - Ctx(  ): Error in destroy  - 
java.lang.NullPointerException
 at 
javax.servlet.GenericServlet.getServletContext(GenericServlet.java:205)
 at javax.servlet.GenericServlet.log(GenericServlet.java:300)
 at javax.servlet.GenericServlet.destroy(GenericServlet.java:122)
 at 
org.apache.tomcat.core.ServletWrapper.doDestroy(ServletWrapper.java:241)
 at org.apache.tomcat.core.Handler.destroy(Handler.java:186)
 at 
org.apache.tomcat.core.ContextManager.shutdownContext(ContextManager.java:509)
 at 
org.apache.tomcat.core.ContextManager.removeContext(ContextManager.java:591)
 at org.jboss.tomcat.TomcatEntry.removeContext(TomcatEntry.java:115)
 at 
org.jboss.tomcat.EmbeddedTomcatService.undeploy(EmbeddedTomcatService.java:135)
 at java.lang.reflect.Method.invoke(Native Method)
 at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
 at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
 at org.jboss.deployment.J2eeDeployer.stopModule(J2eeDeployer.java:515)
 at 
org.jboss.deployment.J2eeDeployer.stopApplication(J2eeDeployer.java:488)
 at org.jboss.deployment.J2eeDeployer.undeploy(J2eeDeployer.java:232)
 at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:166)
 at java.lang.reflect.Method.invoke(Native Method)
 at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
 at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
 at org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:358)
 at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:221)
 at java.lang.Thread.run(Unknown Source)

[J2EE Deployer Default] Deploy J2EE application: 
file:/C:/jboss-tomcat-2.2/jboss-2.2/deploy/test.ear
[J2EE Deployer Default] Create application test.ear
[J2EE Deployer Default] inflate and install module test.war
[J2EE Deployer Default] couldnt add . to common classpath: 
java.lang.StringIndexOutOfBoundsException: String index out of range: 4
[J2EE Deployer Default] couldnt add lib/xmlrpc.jar to common classpath: JAR 
entry lib/xmlrpc.jar not found in 
C:\jboss-tomcat-2.2\jboss-2.2\tmp\deploy\Default\copy1004.zip
[J2EE Deployer Default] couldnt add lib/openxml-1.2.jar to common 
classpath: JAR entry lib/openxml-1.2.jar 

Re: [JBoss-user] JBoss 2.2.1 and Windows 2000

2001-05-24 Thread Scott M Stark

Your picking up an old version of the org.xml.sax.Attributes class.
You must have some xml classes in your VM lib/ext directory.

- Original Message - 
From: "Michael Haupt" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 24, 2001 7:43 AM
Subject: [JBoss-user] JBoss 2.2.1 and Windows 2000


> Hello all,
> 
> I am trying to use JBoss 2.2.1 on Linux as well on Windows 2000. While
> everything is quite fine on Linux, JBoss won't start on Windows 2000.
> Below is what it says.
> 
> Thanks for any help,
> 
> Michael Haupt
> 
> --cut--
> C:\JBoss-2.2.1_Tomcat-3.2.1\jboss\bin>run
> JBOSS_CLASSPATH=;run.jar;../lib/crimson.jar
> jboss.home = C:\JBoss-2.2.1_Tomcat-3.2.1\jboss
> Using configuration "default"
> [Info] Java version: 1.3.0,IBM Corporation
> [Info] Java VM: Classic VM 1.3.0,IBM Corporation
> [Info] System: Windows 2000 5.0,x86
> [Shutdown] Shutdown hook added
> [Service Control] Registered with server
> [Default] Runtime error
> [Default] java.lang.NoSuchMethodError: org.xml.sax.Attributes: method
> getQName(
> )Ljava/lang/String; not found
> [Default]   at
> org.apache.crimson.tree.AttributeSet.(AttributeSet.jav
> :139)
> [Default]   at
> org.apache.crimson.tree.XmlDocumentBuilder.startElement(XmlD
> cumentBuilder.java:463)
> [Default]   at
> org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:
> 449)
> [Default]   at
> org.apache.crimson.parser.Parser2.content(Parser2.java:1700)
> [Default]   at
> org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:
> 468)
> [Default]   at
> org.apache.crimson.parser.Parser2.parseInternal(Parser2.java
> 499)
> [Default]   at
> org.apache.crimson.parser.Parser2.parse(Parser2.java:304)
> [Default]   at
> org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.
> ava:433)
> [Default]   at
> org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBu
> lderImpl.java:179)
> [Default]   at
> org.jboss.configuration.ConfigurationService.loadConfigurati
> n(ConfigurationService.java:263)
> [Default]   at java.lang.reflect.Method.invoke(Native Method)
> [Default]   at
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImp
> .java:1628)
> [Default]   at
> com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImp
> .java:1523)
> [Default]   at org.jboss.Main.(Main.java:195)
> [Default]   at org.jboss.Main$1.run(Main.java:107)
> [Default]   at java.security.AccessController.doPrivileged(Native
> Method)
> [Default]   at org.jboss.Main.main(Main.java:103)
> [Default] JBoss 2.2.1 Started in 0m:1s
> [Default] Shutting down
> [Service Control] Stopping 0 MBeans
> [Service Control] Stopped 0 services
> [Service Control] Destroying 0 MBeans
> [Service Control] Destroyed 0 services
> [Default] Shutdown complete
> --uncut--
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Using another JMS provider

2001-05-24 Thread Breslauer, Don

I'm new to JBoss, so I apologize in advance if has be covered already.

Is there any documentation available on how to deploy MDB beans on JBOSS,
but using another JMS provider, such as fioranomq?  I imagine I would modify
the JMS defalts in the jboss.jcml file?

thanks,
Don

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Mosaic Filter Mail

2001-05-24 Thread James L Robinson

Hello,

I am out of the office today. I shall be back in the office
on Friday, May 25.

James

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] RE: CMP OrderBy DESC problem

2001-05-24 Thread danch (Dan Christopherson)

Dave, Pragnesh wrote:

> Gang, still NO response on my question.
> 
> Some additional info-
> Here is my jaws.xml file
> 
>   rfsrvdev
>   MS SQLSERVER
>   
> 
>   Facility
>   facility
>   false
>   
>   findTicketsFacility
>   fac_num < {0}
>   fac_num
>   
> 
>   
> 
> 
> Everything works fine with the above config.
> As soon as I change the
>   fac_num
> to
>   fac_num DESC
> things break.

Do you have a server-side stack trace? How do things break?


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Container generated PrimaryKey ?

2001-05-24 Thread Jacob Andresen

hi!
You could take a look at the Sequence generator in OsCore from OpenSymphony at 
http://www.opensymphony.com

hope this helps,
Jacob
- Original Message - 
From: "gizmo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 24, 2001 3:46 PM
Subject: [JBoss-user] Container generated PrimaryKey ?


> I don't want to generate a primary key and i did read it's possible the
> container can do this for me.
> I just need to act with java.lang.Object as key the way I show in the code
> below.
> The bean is very simple and handle with a string. I can deploy the bean
> without problems.
> But when i try to access with a client I get an error.
> By the way has someone a good and safe algorithm to generate a unique key ?
> 
> thanks in advantage
> 
> 
> 
> package com.test.string;
> 
> import java.rmi.RemoteException;
> import javax.ejb.CreateException;
> import javax.ejb.FinderException;
> import java.util.*;
> 
> public interface MyStringHome extends javax.ejb.EJBHome {
>   public MyString create()
> throws CreateException, RemoteException;
> 
>   public MyString findByPrimaryKey(java.lang.Object id)
> throws FinderException, RemoteException;
> 
>   public Collection findAll()
> throws FinderException, RemoteException;
> }
> 
> 
> package com.test.string;
> 
> import java.rmi.RemoteException;
> 
> public interface MyString extends javax.ejb.EJBObject {
>   public String getString() throws RemoteException;
>   public void setString(String string) throws RemoteException;
> }
> 
> 
> package com.test.string;
> 
> import javax.ejb.EntityContext;
> 
> public class MyStringBean implements javax.ejb.EntityBean {
> 
>   transient private EntityContext ctx;
>   public String myString;
> 
>   public java.lang.Object ejbCreate() {
> return null;
>   }
> 
>   public void ejbPostCreate() {}
> 
>   public String getString(){
> return myString;
>   }
> 
>   public void setString(String string) {
> myString = string;
>   }
> 
>   public void setEntityContext(EntityContext ctx) { this.ctx = ctx; }
>   public void unsetEntityContext() { ctx = null; }
>   public void ejbActivate() {}
>   public void ejbPassivate() {}
>   public void ejbLoad() {}
>   public void ejbStore() {}
>   public void ejbRemove() {}
> }
> 
> 
> 
>  JavaBeans 1.1//EN" "http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd";>
> 
> 
>   Strings
>   
> 
> 
>   Handle a String
>   MyStringBean
>   com.test.string.MyStringHome
>   com.test.string.MyString
>   com.test.string.MyStringBean
>   Container
>   java.lang.Object
>   False
>   myString
>
> 
>   
> 
>   
> MyStringBean
> *
>   
>   Required
> 
>   
> 
> 
> 
> 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Persistence Queue with Message Driven Bean

2001-05-24 Thread Howard Ginsburg

I have my client send messages to a persistent queue, then have a mdb
listening on that queue.  At runtime, everything seems to work correctly.  I
am now trying to verify the persistence of the queue.  To do this, I remove
the mdb from my deployment, send messages from my client, shutdown jboss,
redeploy my mdb, and restart jboss.  My understanding is that the messages
should automatically get restored and triggered to my mdb.  This isn't the
behavior I get.  It appears the messages are lost.  Any thoughts?  Here is
my configuration:

ejb-jar.xml






MDBBean
com.test.MDBBean

Container
AUTO_ACKNOWLEDGE

javax.jms.Queue

Durable







MDBBean
*

Required





jboss.xml







MDBBean

queue/MyQueue





jbossmq.xml


MyQueue


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] JBoss 2.2.1 and Windows 2000

2001-05-24 Thread Michael Haupt

Hello all,

I am trying to use JBoss 2.2.1 on Linux as well on Windows 2000. While
everything is quite fine on Linux, JBoss won't start on Windows 2000.
Below is what it says.

Thanks for any help,

Michael Haupt

--cut--
C:\JBoss-2.2.1_Tomcat-3.2.1\jboss\bin>run
JBOSS_CLASSPATH=;run.jar;../lib/crimson.jar
jboss.home = C:\JBoss-2.2.1_Tomcat-3.2.1\jboss
Using configuration "default"
[Info] Java version: 1.3.0,IBM Corporation
[Info] Java VM: Classic VM 1.3.0,IBM Corporation
[Info] System: Windows 2000 5.0,x86
[Shutdown] Shutdown hook added
[Service Control] Registered with server
[Default] Runtime error
[Default] java.lang.NoSuchMethodError: org.xml.sax.Attributes: method
getQName(
)Ljava/lang/String; not found
[Default]   at
org.apache.crimson.tree.AttributeSet.(AttributeSet.jav
:139)
[Default]   at
org.apache.crimson.tree.XmlDocumentBuilder.startElement(XmlD
cumentBuilder.java:463)
[Default]   at
org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:
449)
[Default]   at
org.apache.crimson.parser.Parser2.content(Parser2.java:1700)
[Default]   at
org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:
468)
[Default]   at
org.apache.crimson.parser.Parser2.parseInternal(Parser2.java
499)
[Default]   at
org.apache.crimson.parser.Parser2.parse(Parser2.java:304)
[Default]   at
org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.
ava:433)
[Default]   at
org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBu
lderImpl.java:179)
[Default]   at
org.jboss.configuration.ConfigurationService.loadConfigurati
n(ConfigurationService.java:263)
[Default]   at java.lang.reflect.Method.invoke(Native Method)
[Default]   at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImp
.java:1628)
[Default]   at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImp
.java:1523)
[Default]   at org.jboss.Main.(Main.java:195)
[Default]   at org.jboss.Main$1.run(Main.java:107)
[Default]   at java.security.AccessController.doPrivileged(Native
Method)
[Default]   at org.jboss.Main.main(Main.java:103)
[Default] JBoss 2.2.1 Started in 0m:1s
[Default] Shutting down
[Service Control] Stopping 0 MBeans
[Service Control] Stopped 0 services
[Service Control] Destroying 0 MBeans
[Service Control] Destroyed 0 services
[Default] Shutdown complete
--uncut--

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] (no subject)

2001-05-24 Thread Simon BATESON

hello everyone

i'm new to jboss, managed to get it up and running and co-operating happily
with tomcat and an oracle db without help so far, but i'm getting a bit
stuck with the infamous pet store.

note - i'm using the 1.2 version of pet store that doesn't - i presume -
need patching.

when i try to deploy the petstore, petstoreadmin and mailerapp .ear files, i
get the following error messages from jboss:

[Container factory] No resource manager found for jdbc/EstoreDataSource
[Container factory] No resource manager found for jdbc/EstoreDataSource
[Container factory] No resource manager found for jdbc/EstoreDataSource
[Container factory] No resource manager found for jdbc/SignOnDataSource
[Container factory] No resource manager found for mail/MailSession
[Container factory] No resource manager found for jdbc/EstoreDataSource
[Container factory] No resource manager found for jdbc/InventoryDataSource

the log gives a bit more information:

[Container factory] javax.naming.NameNotFoundException: DefaultDS not bound
[Container factory]  at
org.jnp.server.NamingServer.getBinding(NamingServer.java:474)
[Container factory]  at
org.jnp.server.NamingServer.getBinding(NamingServer.java:482)
[Container factory]  at
org.jnp.server.NamingServer.getObject(NamingServer.java:488)
[Container factory]  at
org.jnp.server.NamingServer.lookup(NamingServer.java:283)
[Container factory]  at
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:295)
[Container factory]  at
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:279)
[Container factory]  at
javax.naming.InitialContext.lookup(InitialContext.java:350)
[Container factory]  at
org.jboss.ejb.Container.setupEnvironment(Container.java:483)
[Container factory]  at org.jboss.ejb.Container.init(Container.java:298)
[Container factory]  at
org.jboss.ejb.EntityContainer.init(EntityContainer.java:180)
[Container factory]  at org.jboss.ejb.Application.init(Application.java:183)
[Container factory]  at
org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:337)
[Container factory]  at
org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:275)
[Container factory]  at java.lang.reflect.Method.invoke(Native Method)
[Container factory]  at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[Container factory]  at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[Container factory]  at
org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:435)
[Container factory]  at
org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:178)
[Container factory]  at java.lang.reflect.Method.invoke(Native Method)
[Container factory]  at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[Container factory]  at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[Container factory]  at
org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:358)
[Container factory]  at
org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:221)
[Container factory]  at
org.jboss.ejb.AutoDeployer.startService(AutoDeployer.java:332)
[Container factory]  at
org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:93)
[Container factory]  at java.lang.reflect.Method.invoke(Native Method)
[Container factory]  at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[Container factory]  at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[Container factory]  at
org.jboss.util.ServiceControl.start(ServiceControl.java:97)
[Container factory]  at java.lang.reflect.Method.invoke(Native Method)
[Container factory]  at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[Container factory]  at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[Container factory]  at org.jboss.Main.(Main.java:203)
[Container factory]  at org.jboss.Main$1.run(Main.java:107)
[Container factory]  at java.security.AccessController.doPrivileged(Native
Method)
[Container factory]  at org.jboss.Main.main(Main.java:103)
[Container factory] No resource manager found for jdbc/EstoreDataSource

(plus similar errors for mailsession and signondatasource)

i think i've got to define my datasource instead of the defaultds, but i
can't find out exactly where i've got to do this.

all advice greatfully accepted

thanks in advance

Simon Bateson
ICTeam S.p.A
Italia



___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] ** title for my previous email should read "jboss/petstore help needed", sorry**

2001-05-24 Thread Simon BATESON

** title for my previous email should read "jboss/petstore help needed",
sorry**

Simon Bateson
ICTeam S.p.A
Italia


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] RE: CMP OrderBy DESC problem

2001-05-24 Thread Dave, Pragnesh

Gang, still NO response on my question.

Some additional info-
Here is my jaws.xml file

  rfsrvdev
  MS SQLSERVER
  

  Facility
  facility
  false
  
findTicketsFacility
fac_num < {0}
fac_num
  

  


Everything works fine with the above config.
As soon as I change the
fac_num
to
fac_num DESC
things break.

It seems that I may be missing something for getting data in DESC order !

> -Original Message-
> From: Dave, Pragnesh 
> Sent: Wednesday, May 23, 2001 11:18 AM
> To:   '[EMAIL PROTECTED]'
> Subject:  CMP OrderBy DESC problem
> 
> Greetings !
> 
> Gang, I have developed a CMP under Jboss 2.0 final and I have run into a
> issue.
> I am able to order a field using field, but when I try to
> set a desc order it fails when I do field DESC.
> 
> Any ideas ?
> 
> Regards,
> Pragnesh Dave

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Log4j xml configuration in the log4j service mbean

2001-05-24 Thread Scott M Stark

Add it as a feature request at sourceforge.net

- Original Message - 
From: Paul Austin 
To: [EMAIL PROTECTED] 
Sent: Thursday, May 24, 2001 4:46 AM
Subject: [JBoss-user] Log4j xml configuration in the log4j service mbean


Are there any plans to modify the Log4jService to use the DOMConfigurator if the user 
specifies a xml config file?

cheers,
Paul

Paul Austin
Viant
Tel: +44-20-7984-7158
Fax: +44-20-7984-7101
AIM: PaustinViant
YahooIM: p_d_austin
JabberIM: paustin


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Container generated PrimaryKey ?

2001-05-24 Thread Emanuel Galindo


I'm using Integer or Long, or in the id generator i use a String.

On Thu, 24 May 2001, gizmo wrote:

> I don't want to generate a primary key and i did read it's possible the
> container can do this for me.
> I just need to act with java.lang.Object as key the way I show in the code
> below.
> The bean is very simple and handle with a string. I can deploy the bean
> without problems.
> But when i try to access with a client I get an error.
> By the way has someone a good and safe algorithm to generate a unique key ?
> 
> thanks in advantage
> 
> 
> 
> package com.test.string;
> 
> import java.rmi.RemoteException;
> import javax.ejb.CreateException;
> import javax.ejb.FinderException;
> import java.util.*;
> 
> public interface MyStringHome extends javax.ejb.EJBHome {
>   public MyString create()
> throws CreateException, RemoteException;
> 
>   public MyString findByPrimaryKey(java.lang.Object id)
> throws FinderException, RemoteException;
> 
>   public Collection findAll()
> throws FinderException, RemoteException;
> }
> 
> 
> package com.test.string;
> 
> import java.rmi.RemoteException;
> 
> public interface MyString extends javax.ejb.EJBObject {
>   public String getString() throws RemoteException;
>   public void setString(String string) throws RemoteException;
> }
> 
> 
> package com.test.string;
> 
> import javax.ejb.EntityContext;
> 
> public class MyStringBean implements javax.ejb.EntityBean {
> 
>   transient private EntityContext ctx;
>   public String myString;
> 
>   public java.lang.Object ejbCreate() {
> return null;
>   }
> 
>   public void ejbPostCreate() {}
> 
>   public String getString(){
> return myString;
>   }
> 
>   public void setString(String string) {
> myString = string;
>   }
> 
>   public void setEntityContext(EntityContext ctx) { this.ctx = ctx; }
>   public void unsetEntityContext() { ctx = null; }
>   public void ejbActivate() {}
>   public void ejbPassivate() {}
>   public void ejbLoad() {}
>   public void ejbStore() {}
>   public void ejbRemove() {}
> }
> 
> 
> 
>  JavaBeans 1.1//EN" "http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd";>
> 
> 
>   Strings
>   
> 
> 
>   Handle a String
>   MyStringBean
>   com.test.string.MyStringHome
>   com.test.string.MyString
>   com.test.string.MyStringBean
>   Container
>   java.lang.Object
>   False
>   myString
>
> 
>   
> 
>   
> MyStringBean
> *
>   
>   Required
> 
>   
> 
> 
> 
> 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Pointbase and InstanceDB problem

2001-05-24 Thread Ben Hui

I am using the pointbase database. After I put the driver and connection
pool parameters into jboss.jcml, the original InstanceDB connection pool
failed to start. It just hang up forever. Is there any conflict between
InstanceDB and Pointbase? 

I am using jboss 2.2.1

btw, is the hypersonic database a "fake" database?? it has no driver

thanks

Ben Hui


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Connection Pooling

2001-05-24 Thread Michael Davis

In an EJB or anything that needs a connection you need to look up the connection.
Something like the following:

...
  private Connection dbCon = null;

  private Connection getConnection()
  {
if( dbCon == null )
{
try
{
  InitialContext ic = new InitialContext();
  DataSource ds = (DataSource)ic.lookup("java:/OracleDS");
  dbCon = ds.getConnection();
}
catch( Exception e )
{
  e.printStackTrace();
}
}
return dbCon;
  }
...

Let me know if that is what you're looking for...

>*This message was transferred with a trial version of CommuniGate(tm) Pro*
>Hi Everyone;
>
>After you modify the jboss.jcml to include
>name="DefaultDomain:service=XADataSource,name=OracleDS">
> OracleDS
> name="DataSourceClass">org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImp
>l
> name="URL">jdbc:oracle:thin:@serverhostname:1521:ORCL
> scott
> tiger
>
>
>how do you access this connection pool in the client program??
>
>ps - does any one have an example of a client program for connection
>pooling??
>Thank
>
>-Lan
>
>
>___
>JBoss-user mailing list
>[EMAIL PROTECTED]
>http://lists.sourceforge.net/lists/listinfo/jboss-user



___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Stateless Session Bean and CallableStatement

2001-05-24 Thread David Ward

As much as I made it clear (via earlier response) that I don't think 
clients should have access to DB resources like your CallableStatement, 
it is understandable that a client could very well want to display 
something like a JTable with the results of a query.  In which case, you 
still need the data packaged up for the clients use.

Saying that, you might want to look at Sun's disconnected CachedRowSet 
stuff, available here:
http://developer.java.sun.com/developer/earlyAccess/crs/

There's a great tutorial here (with an EJB example usage with *MUCH* 
more sound advice than that "developerworks" example had):
http://developer.java.sun.com/developer/Books/JDBCTutorial/chapter5.html

Here's a pertinant snippet:

public RowSet getCoffees() throws SQLException {
 Connection con = null;
 try {
 con = ds.getConnection("managerID", "mgrPassword");
 Statement stmt = con.createStatement();
 ResultSet rs =
 stmt.executeQuery("SELECT COF_NAME, PRICE FROM COFFEES");
 CachedRowSet rset = new CachedRowSet();
 crset.populate(rs);
 rs.close();
 stmt.close();
 return crset;
 } finally {
 if (con != null) con.close();
 }
 return null;
}


On that page, make sure you read section 5.3.2.  The above CachedRowSet 
is *non-updatable*.  It provides a read-only copy of the data.  Exactly 
what responses to your original note on this email thread have been 
heralding.

Hope this helps,
David

--

Per Lewau wrote:

> On Wed, 23 May 2001, Guy Rouillier wrote:
> 
> 
>> I also didn't read the article, but in my not so humble opinion, this is **
>> terrible ** advice.   Keeping a database statement (and hence connection)
>> open for use by a client is just asking for trouble in a network
>> environment.  First is the pandora's box of possible failure points in the
>> point-to-point connection.  But even if you have a perfect network, you have
>> no idea what the caller is going to do with that statement.  He may do
>> nothing and just sit on it for the next 3 weeks!  I read the other response
>> to this post, and I don't think allow remote iteration to a collection is a
>> good idea for similar reasons.  You want to design your system to maximize
>> robustness, concurrency and performance.  All of these benefit from
>> finishing a logical unit of work completely in a single method before
>> returning to the client.  We've opted to serialize our database results into
>> an xml string, close the db connection (which returns it to the pool) and
>> then send the xml string back to the client.
> 
> 
> You're absolutely right. I'll have to back down on my suggested solution
> (remote iteration). It was more of a work-around really, but you're
> right.
> 
> Don't let the clients near the database.
> 
> (The good thing about being rash is that hindsight comes quicker ;)
> 
> 
> 
> 
>> - Original Message -
>> From: "Dave, Pragnesh" <[EMAIL PROTECTED]>
>> To: <[EMAIL PROTECTED]>
>> Sent: Wednesday, May 23, 2001 4:03 PM
>> Subject: Re: [JBoss-user] Stateless Session Bean and CallableStatement
>> 
>> 
>> 
>>> In one the articles at developerworks, Cynthia Saracco actually says that
>>> wrapping DBMS stored proc under stateless session beans is a "good" idea
>> 
>> and
>> 
>>> passing the Serialized CallableStatement back to the client a better
>>> approach then creating your own Collection.
>>> 
>> 
>> 
>> ___
>> JBoss-user mailing list
>> [EMAIL PROTECTED]
>> http://lists.sourceforge.net/lists/listinfo/jboss-user
>> 
> 
> 
> ---
> Per Lewau ([EMAIL PROTECTED]) 
> 
> "Why waste time learning, when ignorance is instantaneous?"
>   - Hobbes
> 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


-- 

---
David Ward[EMAIL PROTECTED]
Senior Software Engineer  http://www.dotech.com
Distributed Object Technologies, Inc. 716-381-8320 (phone)
500 Linden Oaks, Rochester, NY 14625  716-381-0598 (fax)


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Need help in starting jboss and Tomcat

2001-05-24 Thread Scott M Stark


Using what version of the tomcat/jboss bundle? 
- Original Message - 
From: Francesco Marchioni 
To: [EMAIL PROTECTED] 
Sent: Thursday, May 24, 2001 5:31 AM
Subject: [JBoss-user] Need help in starting jboss and Tomcat


Hello,
I'm having problems in starting tomcat + jboss.
I get the following server trace. Does anybody has a clue for me how
to fix it?
Thank you very much in advance.
Francesco


[Container factory] Started
[EmbeddedTomcat] Starting
[EmbeddedTomcat] Starting EmbeddedTomcat
2001-05-24 02:25:19 - ContextManager: Adding context Ctx( /examples )
2001-05-24 02:25:19 - ContextManager: Adding context Ctx( /admin )
[EmbeddedTomcat] Starting tomcat. Check logs/tomcat.log for error messages
2001-05-24 02:25:19 - ContextManager: Adding context Ctx(  )
2001-05-24 02:25:19 - ContextManager: Adding context Ctx( /test )
[EmbeddedTomcat] java.lang.NullPointerException
[EmbeddedTomcat]at 
org.jboss.tomcat.ContextClassLoaderInterceptor.contextInit(ContextClassLo
aderInterceptor.java:28)
[EmbeddedTomcat]at 
org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491
)
[EmbeddedTomcat]at 
org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
[EmbeddedTomcat]at org.jboss.tomcat.TomcatEntry.execute(TomcatEntry.java:325)
[EmbeddedTomcat]at org.jboss.tomcat.TomcatEntry.(TomcatEntry.java:72)
[EmbeddedTomcat]at 
org.jboss.tomcat.EmbeddedTomcatService.startService(EmbeddedTomcatService
.java:69)
[EmbeddedTomcat]at 
org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:93)
[EmbeddedTomcat]at java.lang.reflect.Method.invoke(Native Method)
[EmbeddedTomcat]at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[EmbeddedTomcat]at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[EmbeddedTomcat]at org.jboss.util.ServiceControl.start(ServiceControl.java:97)
[EmbeddedTomcat]at java.lang.reflect.Method.invoke(Native Method)
[EmbeddedTomcat]at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[EmbeddedTomcat]at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[EmbeddedTomcat]at org.jboss.Main.(Main.java:203)
[EmbeddedTomcat]at org.jboss.Main$1.run(Main.java:107)
[EmbeddedTomcat]at java.security.AccessController.doPrivileged(Native Method)
[EmbeddedTomcat]at org.jboss.Main.main(Main.java:103)
[EmbeddedTomcat] OK
[EmbeddedTomcat] Started


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Container generated PrimaryKey ?

2001-05-24 Thread gizmo

I don't want to generate a primary key and i did read it's possible the
container can do this for me.
I just need to act with java.lang.Object as key the way I show in the code
below.
The bean is very simple and handle with a string. I can deploy the bean
without problems.
But when i try to access with a client I get an error.
By the way has someone a good and safe algorithm to generate a unique key ?

thanks in advantage



package com.test.string;

import java.rmi.RemoteException;
import javax.ejb.CreateException;
import javax.ejb.FinderException;
import java.util.*;

public interface MyStringHome extends javax.ejb.EJBHome {
  public MyString create()
throws CreateException, RemoteException;

  public MyString findByPrimaryKey(java.lang.Object id)
throws FinderException, RemoteException;

  public Collection findAll()
throws FinderException, RemoteException;
}


package com.test.string;

import java.rmi.RemoteException;

public interface MyString extends javax.ejb.EJBObject {
  public String getString() throws RemoteException;
  public void setString(String string) throws RemoteException;
}


package com.test.string;

import javax.ejb.EntityContext;

public class MyStringBean implements javax.ejb.EntityBean {

  transient private EntityContext ctx;
  public String myString;

  public java.lang.Object ejbCreate() {
return null;
  }

  public void ejbPostCreate() {}

  public String getString(){
return myString;
  }

  public void setString(String string) {
myString = string;
  }

  public void setEntityContext(EntityContext ctx) { this.ctx = ctx; }
  public void unsetEntityContext() { ctx = null; }
  public void ejbActivate() {}
  public void ejbPassivate() {}
  public void ejbLoad() {}
  public void ejbStore() {}
  public void ejbRemove() {}
}



http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd";>


  Strings
  


  Handle a String
  MyStringBean
  com.test.string.MyStringHome
  com.test.string.MyString
  com.test.string.MyStringBean
  Container
  java.lang.Object
  False
  myString


  

  
MyStringBean
*
  
  Required

  





___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] jsp cannot import classes from the common classpath. Will it be fixed?

2001-05-24 Thread David Ward

The thing to remember here is the main goal of WAR packaging: 
portability.  The idea is that everything a web application needs should 
be inside the WAR file.  The web container should not have to try to 
find things like classes outside of the WAR file for any given web app. 
  **Exception:** The only things it should look for outside of itself 
are made available via JNDI references - references to EJBs, etc.  One 
might ask, "What if my web app needs to write to disk?"  In that case, 
if all you have is a web container, then okay.  However, if you've got a 
full J2EE stack, in a perfect world I would suggest that you put those 
kind of functions in EJBs, that way the functionality (in the EJBs) 
could be shared by GUI clients, etc.

--

Keith Kee wrote:

> According to the JBOSS manual, I can specify a "common" classpath in the
> Class-Path directive of the MANIFEST file. This should cause the libraries
> listed by the directive to be loaded by the application classloader as such
> these classes would be visible to the jsps. However, it does not seem to
> pass this classpath information to the jspC when it tries to compile the
> jsps in the war file.
> 
> Thanks
> keith
> 
> 
> 
> 
>> Keith,
>> 
>> What do you mean by the "common" classpath?  Hopefully you're not
>> talking about what is traditionally in the $CLASSPATH env variable.  If
>> your JSP needs some of your own defined classes to work, they should be
>> put in your WAR file in the WEB-INF/classes directory.  These will be
>> automatically loaded by Tomcat so they are available to your web app.
>> All this is in the servlet2.2 spec.
>> 
>> Of course, maybe you mean something completely different and I'm just
>> being ignorant (it's been known to happen).  ;)
>> 
>> Hope this helps,
>> David
>> 
>> -->
>> 
>> Keith Kee wrote:
>> 
>> Hi:
>>I'm a newbie trying to get my jsps to run on JBoss 2.2.1 and embedded
>> tomcat 3.2.1. It seems like the jspc cannot find the classes on the common
>> path (using the Class-Path directive) which my jsp is trying to import. I
>> searched in the mailing list archive and found that a lot of the people
> 
> had
> 
>> the same problem.
>>I was wondering if this problem will be fixed, or it is a limitation of
>> tomcat?
>> 
>> Thanks
>> keith
>> 
>> 
> 
> 
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


-- 

---
David Ward[EMAIL PROTECTED]
Senior Software Engineer  http://www.dotech.com
Distributed Object Technologies, Inc. 716-381-8320 (phone)
500 Linden Oaks, Rochester, NY 14625  716-381-0598 (fax)


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Need help in starting jboss and Tomcat

2001-05-24 Thread Nirvana




remove the TOMCAT_HOME env variable and then 
try
 
cheers,
Nirvana
 

-Original Message-From: 
Francesco Marchioni <[EMAIL PROTECTED]>To: 
[EMAIL PROTECTED] 
<[EMAIL PROTECTED]>Date: 
Thursday, May 24, 2001 7:03 PMSubject: [JBoss-user] Need help 
in starting jboss and Tomcat
Hello,
I'm having problems in starting tomcat + 
jboss.
I get the following server trace. Does anybody 
has a clue for me how
to fix it?
Thank you very much in advance.
Francesco
 
 
[Container factory] Started[EmbeddedTomcat] 
Starting[EmbeddedTomcat] Starting EmbeddedTomcat2001-05-24 
02:25:19 - ContextManager: Adding context Ctx( /examples )2001-05-24 
02:25:19 - ContextManager: Adding context Ctx( /admin )[EmbeddedTomcat] 
Starting tomcat. Check logs/tomcat.log for error messages2001-05-24 
02:25:19 - ContextManager: Adding context Ctx(  )2001-05-24 
02:25:19 - ContextManager: Adding context Ctx( /test )[EmbeddedTomcat] 
java.lang.NullPointerException[EmbeddedTomcat]    
at 
org.jboss.tomcat.ContextClassLoaderInterceptor.contextInit(ContextClassLoaderInterceptor.java:28)[EmbeddedTomcat]    
at 
org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)[EmbeddedTomcat]    
at 
org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)[EmbeddedTomcat]    
at 
org.jboss.tomcat.TomcatEntry.execute(TomcatEntry.java:325)[EmbeddedTomcat]    
at 
org.jboss.tomcat.TomcatEntry.(TomcatEntry.java:72)[EmbeddedTomcat]    
at 
org.jboss.tomcat.EmbeddedTomcatService.startService(EmbeddedTomcatService.java:69)[EmbeddedTomcat]    
at 
org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:93)[EmbeddedTomcat]    
at java.lang.reflect.Method.invoke(Native 
Method)[EmbeddedTomcat]    at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)[EmbeddedTomcat]    
at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)[EmbeddedTomcat]    
at 
org.jboss.util.ServiceControl.start(ServiceControl.java:97)[EmbeddedTomcat]    
at java.lang.reflect.Method.invoke(Native 
Method)[EmbeddedTomcat]    at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)[EmbeddedTomcat]    
at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)[EmbeddedTomcat]    
at 
org.jboss.Main.(Main.java:203)[EmbeddedTomcat]    
at 
org.jboss.Main$1.run(Main.java:107)[EmbeddedTomcat]    
at java.security.AccessController.doPrivileged(Native 
Method)[EmbeddedTomcat]    at 
org.jboss.Main.main(Main.java:103)[EmbeddedTomcat] 
OK[EmbeddedTomcat] Started


Re: [JBoss-user] javax.naming.NameNotFoundException: com.client.EmployeeHome not bound

2001-05-24 Thread Nirvana

make sure your application jar file is in the class path.
I have a feeling that you lookup methodology also has some problems.
follow the first chapter of the documentation..it's very straight
forward...it woked fine for me today

cheers,
nirvana
-Original Message-
From: Dinesh <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Thursday, May 24, 2001 6:15 PM
Subject: [JBoss-user] javax.naming.NameNotFoundException:
com.client.EmployeeHome not bound


>hi all,
>
>   I tryied to deploy a sample ejb application in jboss2.2.1 and it is
>also deployed successfully.
>
>   but, when i run the client, it is giving the following exception..
>
>---Exception -
>C:\JBOSS-SERVER\employee>java EmployeeClient
>Got context
>javax.naming.NameNotFoundException: com.client.EmployeeHome not bound
>
>---
>
>
>I specified the JNDI name as -->  "com.client.Employeehome"
>
>How can i view the entitybeans JNDI name in JBOSS server 2.2.1.
>
>
>
>Any idea...
>
>thanx,
>dinesh.
>
>
>Get free email and a permanent address at http://www.netaddress.com/?N=1
>
>___
>JBoss-user mailing list
>[EMAIL PROTECTED]
>http://lists.sourceforge.net/lists/listinfo/jboss-user
>
>


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Need help in starting jboss and Tomcat

2001-05-24 Thread Francesco Marchioni



Hello,
I'm having problems in starting tomcat + 
jboss.
I get the following server trace. Does anybody has 
a clue for me how
to fix it?
Thank you very much in advance.
Francesco
 
 
[Container factory] Started[EmbeddedTomcat] 
Starting[EmbeddedTomcat] Starting EmbeddedTomcat2001-05-24 02:25:19 
- ContextManager: Adding context Ctx( /examples )2001-05-24 02:25:19 - 
ContextManager: Adding context Ctx( /admin )[EmbeddedTomcat] Starting 
tomcat. Check logs/tomcat.log for error messages2001-05-24 02:25:19 - 
ContextManager: Adding context Ctx(  )2001-05-24 02:25:19 - 
ContextManager: Adding context Ctx( /test )[EmbeddedTomcat] 
java.lang.NullPointerException[EmbeddedTomcat]    
at 
org.jboss.tomcat.ContextClassLoaderInterceptor.contextInit(ContextClassLoaderInterceptor.java:28)[EmbeddedTomcat]    
at 
org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)[EmbeddedTomcat]    
at 
org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)[EmbeddedTomcat]    
at 
org.jboss.tomcat.TomcatEntry.execute(TomcatEntry.java:325)[EmbeddedTomcat]    
at 
org.jboss.tomcat.TomcatEntry.(TomcatEntry.java:72)[EmbeddedTomcat]    
at 
org.jboss.tomcat.EmbeddedTomcatService.startService(EmbeddedTomcatService.java:69)[EmbeddedTomcat]    
at 
org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:93)[EmbeddedTomcat]    
at java.lang.reflect.Method.invoke(Native 
Method)[EmbeddedTomcat]    at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)[EmbeddedTomcat]    
at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)[EmbeddedTomcat]    
at 
org.jboss.util.ServiceControl.start(ServiceControl.java:97)[EmbeddedTomcat]    
at java.lang.reflect.Method.invoke(Native 
Method)[EmbeddedTomcat]    at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)[EmbeddedTomcat]    
at 
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)[EmbeddedTomcat]    
at 
org.jboss.Main.(Main.java:203)[EmbeddedTomcat]    
at 
org.jboss.Main$1.run(Main.java:107)[EmbeddedTomcat]    
at java.security.AccessController.doPrivileged(Native 
Method)[EmbeddedTomcat]    at 
org.jboss.Main.main(Main.java:103)[EmbeddedTomcat] OK[EmbeddedTomcat] 
Started


[JBoss-user] Log4j xml configuration in the log4j service mbean

2001-05-24 Thread Paul Austin



Are there any plans 
to modify the Log4jService to use the DOMConfigurator if the user specifies a 
xml config file?
 
cheers,
Paul
 
Paul 
Austin
Viant
Tel: +44-20-7984-7158
Fax: +44-20-7984-7101
AIM: PaustinViant
YahooIM: p_d_austin
JabberIM: paustin
 
 


[JBoss-user] javax.naming.NameNotFoundException: com.client.EmployeeHome not bound

2001-05-24 Thread Dinesh

hi all,

   I tryied to deploy a sample ejb application in jboss2.2.1 and it is
also deployed successfully. 

   but, when i run the client, it is giving the following exception..

---Exception -
C:\JBOSS-SERVER\employee>java EmployeeClient
Got context
javax.naming.NameNotFoundException: com.client.EmployeeHome not bound

---


I specified the JNDI name as -->  "com.client.Employeehome"

How can i view the entitybeans JNDI name in JBOSS server 2.2.1. 



Any idea...

thanx,
dinesh.


Get free email and a permanent address at http://www.netaddress.com/?N=1

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] About JBoss HA: Simply curiosity

2001-05-24 Thread jsoriano

Hello Matthew:
That's all that i know about JBoss HA --> http://194.38.95.241/jboss/
In this web you'll find a list of features about JBoss HA, a download 
link, and
information about installing JBoss HA (i suggest you to download the 
compiled
version).

Regards:
__
Jaume Soriano Sivera <[EMAIL PROTECTED]>
Tel: 96504 -ext. 44744 Fax: 965040047
Portal y servicios multimedia - Nuevas tecnologias 
W a n a d o o E s p a n a - http://www.wanadoo.es 
__




[EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
24/05/2001 12:31
Please respond to jboss-user

 
To: [EMAIL PROTECTED]
cc: 
Subject:RE: [JBoss-user] About JBoss HA: Simply curiosity


Hi,

Where can I find out more about JbossHA?

Is there a list of features that it will have?

Thanks
Matt

> -Original Message-
> From: Sacha Labourey [mailto:[EMAIL PROTECTED]]
> Sent: 24 May 2001 10:49
> To: jboss-user
> Subject: RE: [JBoss-user] About JBoss HA: Simply curiosity




This email may contain information which is privileged or confidential. If 
you are not the intended recipient of this email, please notify the sender 
immediately by email or telephone and delete it without reading, copying, 
storing, forwarding or disclosing its contents to any other person
Thank you

Check us out at http://www.syntegra.com



___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user




___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] About JBoss HA: Simply curiosity

2001-05-24 Thread Sacha Labourey

Hello Matthew,

> Where can I find out more about JbossHA?

Here : http://194.38.95.241/jboss/

You'll find some information about a *first* test implementation of HA for
SLSB (features, installation, ...). There's currently no document about
future features. As said before, I will write a small document about future
features, design ideas, ... that I will submit to the list for feedback,
ideas, ...

Cheers,


Sacha

> Is there a list of features that it will have?
>
> Thanks
> Matt
>
> > -Original Message-
> > From: Sacha Labourey [mailto:[EMAIL PROTECTED]]
> > Sent: 24 May 2001 10:49
> > To: jboss-user
> > Subject: RE: [JBoss-user] About JBoss HA: Simply curiosity
>
>
> 
>
> This email may contain information which is privileged or
> confidential. If you are not the intended recipient of this
> email, please notify the sender immediately by email or telephone
> and delete it without reading, copying, storing, forwarding or
> disclosing its contents to any other person
> Thank you
>
> Check us out at http://www.syntegra.com
>
> 
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] About JBoss HA: Simply curiosity

2001-05-24 Thread jsoriano

Hello Sacha:
You're really quick! Thanks


> When you say you are
>interested about it, you mean by curiousity or as a developer (both cases
>are interesting!) let us know! ;)

Sorry, i'm not a developer :-( but more than a curious user...
By the moment i'm only testing JBoss as a very good option for EJBs 
deployment,
and the H.A. feature is really attractive too, good job!

Regards:
__
Jaume Soriano Sivera <[EMAIL PROTECTED]>
Tel: 96504 -ext. 44744 Fax: 965040047
Portal y servicios multimedia - Nuevas tecnologias 
W a n a d o o E s p a n a - http://www.wanadoo.es 
__



___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] About JBoss HA: Simply curiosity

2001-05-24 Thread Matthew . GREEN

Hi,

Where can I find out more about JbossHA?

Is there a list of features that it will have?

Thanks
Matt

> -Original Message-
> From: Sacha Labourey [mailto:[EMAIL PROTECTED]]
> Sent: 24 May 2001 10:49
> To: jboss-user
> Subject: RE: [JBoss-user] About JBoss HA: Simply curiosity




This email may contain information which is privileged or confidential. If you are not 
the intended recipient of this email, please notify the sender immediately by email or 
telephone and delete it without reading, copying, storing, forwarding or disclosing 
its contents to any other person
Thank you

Check us out at http://www.syntegra.com



___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Cant run the JBoss example client

2001-05-24 Thread Tobias Frech

Hi again!
In the test client you define the JNDI settings. One of those values is
java.naming.provider.url . Can you ping the host which is given in the
url ? Please try it.

If you install a TCP/IP sniffer, can you see the client trying to
connect on that porton the server ?

Please also make sure that there is NO jndi.properties file in your
client directory or in any jar or directory included into the classpath
for this example client. A jndi.properties file will override the
settings in the client program !
Strip down the classpath to the minimum needed by the client.

What are your results now ?

Ciao,
Tobias

[EMAIL PROTECTED] wrote:
> 
> Hi,
> 
> Yes the client & server both are in the same machine.
> Can somebody help me out of this situation please...
> I'm unable to proceed further .. :(
> 
> Thanks,
> -Swam
> 
> -- Original Message --
> 
> >Are you starting the client on the server or from a remote host ?
> >
> >Cheers,
> >Tobias
> >
> >
> >[EMAIL PROTECTED] wrote:
> >>
> >> I should have written my previous mail in detail.
> >>
> >> Yes.. the Bean is properly deployed in the JBoss server.
> >>
> >> This is what is printed in my console when I added interest.jar in 'deploy'
> >> folder.
> >> 
> >> [Auto deploy] Auto deploy of file:/D:/program 
>files/JBoss-2.2.1/deploy/interest.jar
> >> [J2EE Deployer Default] Deploy J2EE application: file:/D:/program 
>files/JBoss-2.2.1/deploy/interest.jar
> >> [J2EE Deployer Default] Create application interest.jar
> >> [J2EE Deployer Default] install module interest.jar
> >> [Container factory] Deploying:file:/D:/program 
>files/JBoss-2.2.1/tmp/deploy/Default/interest.jar
> >> [Verifier] Verifying file:/D:/program 
>files/JBoss-2.2.1/tmp/deploy/Default/interest.jar/ejb1002.jar
> >> [Container factory] Deploying Interest
> >> [Container factory] Deployed application: file:/D:/program 
>files/JBoss-2.2.1/tmp/deploy/Default/interest.jar
> >> [J2EE Deployer Default] J2EE application: file:/D:/program 
>files/JBoss-2.2.1/deploy/interest.jar
> >> is deployed.
> >>
> >> 
> >> I'm using JBoss 2.2.1, OS is  Windows NT, JDK version 1.3.
> >> When I run the InterestClient it gets the Context, and then a 
>ServiceUnavailableException
> >> is thrown, reason given is ConnectException ..Connection Refused.
> >>
> 
>  This is what is printed in the console when I start the InterestClient
> :
> 
> 
> >> >D:\My Working Folder\XYZ\Beans\interest>java InterestClient
> >> >Got context
> >> >javax.naming.ServiceUnavailableException: Connection refused: no further
> >> >information [Root exception is java.net.ConnectException: Connection
> >> >refused:
> >> >no further information]
> >
> 
> 
> >> What is the problem ? Please help me!
> >>
> >> Thanks,
> >> -Swam

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Scrollable ResultSet

2001-05-24 Thread Richard Conway


Since upgrading from JBoss 2.0 FINAL to 2.2.1 my system has developed a bug
- an exception is thrown from a call to ResultSet.last(). The exception is
thrown because the ResultSet is of type TYPE_FORWARD_ONLY.

>From searching the mail-archive it appears that this is down to a bug in the
minerva XADataSourceImpl which always returns a ResultSet of type
TYPE_FORWARD_ONLY.

My system configuration is JBoss 2.2.1 with embedded Tomcat 3.2.1 on Solaris
2.6 with Oracle 8.1.7.

In an attempt to fix my bug I have tried using Oracle's XADataSource classes
(classes12.zip). I have tried the following datasource configurations:

  
OracleDS
oracle.jdbc.xa.client.OracleXADataSource
URL=jdbc:oracle:thin:user/password@host:1521:sid
  

and

  
OracleDS
oracle.jdbc.xa.client.OracleXADataSource
jdbc:oracle:thin:@host:1521:sid
user
password
  

Whilst both of these services initialise without error - the behaviour of
the running application is unreliable in either configuration, (transaction
timeouts etc.).

So where do I go from here ?

My next step is to go back to the minerva XADataSourceImpl and re-work the
code to remove the need for scrollable ResultSets.

Any better suggestions ?

Richard.

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



RE: [JBoss-user] About JBoss HA: Simply curiosity

2001-05-24 Thread Sacha Labourey

Hello Jaume,


> Hello: nowadays i'm testing High Availability with JBoss
> (http://194.38.95.241).

great!

in fact, it is http://194.38.95.241/jboss/

> I've installed and configured JBoss HA in two different PCs
> running Linux Mandrake 7.2.
> I've deployed the 'testbean.jar' and later i've run 5 instances of
> TestGUI.jar, and...it RUNS!!! : every node in the cluster is serving
> the same bean.

ok, like me. so it seems to be deterministic code... good news... ;)

> But now i wonder:
> if i have configured NOWHERE the physical location of my Nodes,
> how JBoss HA can found each node in the cluster in our LAN?
> Perhaps is the 'JavaGroupsSettings' doing this job?

Exactly. In the configuration file of the HAConfigService MBean, in you can
set a JavaGroups setting string indicating how the communication must be
handeled, how the failure detection should be done, ... It can be udp,
multicast, tcp, ... This is where the magic of JavaGroups takes place.

> P.D.: is HA project still alive?, i'm very interested on it.

Yes, sure. It should be integrated in the 3.0 release as lots of work (tons
of features to add, only SLSB for now) and testing and testing (and testing)
are necessary. You'll hear much about it shortly. When you say you are
interested about it, you mean by curiousity or as a developer (both cases
are interesting!) let us know! ;)

Cheers,




Sacha


> __
> Jaume Soriano Sivera <[EMAIL PROTECTED]>
> Tel: 96504 -ext. 44744 Fax: 965040047
> Portal y servicios multimedia - Nuevas tecnologias
> W a n a d o o E s p a n a - http://www.wanadoo.es
> __
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
>


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Connection Pooling

2001-05-24 Thread Darius Davidavicius

in JBoss.xml I define:
 
   
 oraclePool
 oraclePool
   
 

in the java source code you can do like:
  protected Connection getConnection() throws SQLException
  {
InitialContext initCtx = null;
String aOraclePoolName = "java:comp/env/jdbc/oraclePool";
try {
  initCtx = new InitialContext();
  DataSource ds = (DataSource) initCtx.lookup(aOraclePoolName);
  return ds.getConnection();
} 

 }

On Wed, 23 May 2001 21:30:31 -0700, Lan Nguyen wrote:

>*This message was transferred with a trial version of CommuniGate(tm) Pro*
>Hi Everyone;
>
>After you modify the jboss.jcml to include
>name="DefaultDomain:service=XADataSource,name=OracleDS">
> OracleDS
> name="DataSourceClass">org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImp
>l
> name="URL">jdbc:oracle:thin:@serverhostname:1521:ORCL
> scott
> tiger
>
>
>how do you access this connection pool in the client program??
>
>ps - does any one have an example of a client program for connection
>pooling??
>Thank
>
>-Lan
>
>
>___
>JBoss-user mailing list
>[EMAIL PROTECTED]
>http://lists.sourceforge.net/lists/listinfo/jboss-user




___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] Tomcat and Jboss

2001-05-24 Thread Thomas Wrobel

Hello,

I've some problems installing Tomcat and JBOSS.
Followed the instructions in the documentation i couldn't start Tomcat.
I get the following errors:

[EmbeddedTomcat] Starting
[EmbeddedTomcat] Starting EmbeddedTomcat
2001-05-24 10:42:39 - ContextManager: Adding context Ctx( /examples )
2001-05-24 10:42:39 - ContextManager: Adding context Ctx( /admin )
[EmbeddedTomcat] Starting tomcat. Check logs/tomcat.log for error messages
2001-05-24 10:42:39 - ContextManager: Adding context Ctx(  )
2001-05-24 10:42:39 - ContextManager: Adding context Ctx( /test )
[Service Control] Could not start DefaultDomain:service=EmbeddedTomcat
[Service Control] java.lang.NoClassDefFoundError:
org/apache/tomcat/logging/Logger
[Service Control]   at
org.apache.jasper.Constants.message(Constants.java:237)
[Service Control]   at
org.apache.jasper.servlet.JspServlet.init(JspServlet.java:265)
[Service Control]   at
org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
[Service Control]   at
org.apache.tomcat.core.Handler.init(Handler.java:215)
[Service Control]   at
org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
[Service Control]   at
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartup
Interceptor.java:130)
[Service Control]   at
org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
[Service Control]   at
org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
[Service Control]   at
org.jboss.tomcat.TomcatEntry.execute(TomcatEntry.java:325)
[Service Control]   at
org.jboss.tomcat.TomcatEntry.(TomcatEntry.java:72)
[Service Control]   at
org.jboss.tomcat.EmbeddedTomcatService.startService(EmbeddedTomcatService.ja
va:69)
[Service Control]   at
org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:93)
[Service Control]   at java.lang.reflect.Method.invoke(Native Method)
[Service Control]   at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[Service Control]   at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[Service Control]   at
org.jboss.util.ServiceControl.start(ServiceControl.java:97)
[Service Control]   at java.lang.reflect.Method.invoke(Native Method)
[Service Control]   at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[Service Control]   at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[Service Control]   at org.jboss.Main.(Main.java:203)
[Service Control]   at org.jboss.Main$1.run(Main.java:107)
[Service Control]   at
java.security.AccessController.doPrivileged(Native Method)
[Service Control]   at org.jboss.Main.main(Main.java:103)

My server.xml of Tomcat has these entries:









 







  















 




















   





  



























Can everyone help me?

Best regards
Thomas Wrobel


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] how to configure jboss for forwarding?

2001-05-24 Thread Rogelio Triviño

Hi:
I'm using a linux machine for firewall and forwarding. I try to connect 
jboss from a client applet that I serve with jboss. The applet connect
to my public ip in internet, and the firewall redirects the input to the 
jboss server (another linux machine) I have enabled forwarding for ports 
1099, ,  and 1024 finally. And I see that the applet hangs 
because the server declare a service in local_ip_of_jboss_server:1024.
I think that I only must say the server to configure itself in the 
public ip that the firewall has in internet, any clues?
thanks in advance.
Rogelio Triviño




_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] async logging

2001-05-24 Thread Gabor Dolla

Hi

Is there any plan to implement async logging ?
I saw an implementation of it recently in a commercial product.
I guess it could be implemented on top of log4j and JMS easily and
this could be transparent to the users of log4j.
When the user call log.info("Hello"); it'd generate a message
and a separate mbean would process it asynchronously maybe in a different
VM on a different machine. Also this would allow central logging.

Sorry if this has been discussed earlier.

Gabor


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] log4j+JBoss

2001-05-24 Thread SRadford


The log4j setup is in jboss.conf (to be uncommented)? Not in my version
(JBoss 2.2.0 FINAL) - Just checked my older versions (2.1 and 2.0) and
neither do they.

(I don't think I deleted them)

Sean

--
Dr Sean Radford, MBBS, MSc
Senior Consultant
Agora Professional Services Ltd
[EMAIL PROTECTED]
http://www.agora.co.uk





   
  
"Guy Rouillier"
  
<[EMAIL PROTECTED]>To: 
<[EMAIL PROTECTED]>   
Sent by:cc:
  
[EMAIL PROTECTED]Subject: Re: [JBoss-user] 
log4j+JBoss
eforge.net 
  
   
  
   
  
24/05/2001 00:44   
  
Please respond to jboss-user   
  
   
  
   
  





I have a grand total of about 18 hrs experience  with log4j, so put the
following remarks in that context, but what you discuss  below doesn't put
the power and flexibility to maximum use.  Here is the  total of the
statements needed in the EJB code:

import org.apache.log4j.Category;

public class OurBean implements  SessionBean
   {
   private final Category log =  Category.getInstance(getClass().getName
());

   public void ourMethod()
   {
    log.info("ourMethod called");
   }
   }

Everything else you show below can be configured in  log4j.properties in
the jboss/conf directory.  That way, your logging code  is independent of
its final format and destination.  You can change the  format and
destination without making a single change to your source  code.

To the original appender, log4j is already  installed.  Just use the above
statements in your source.  Then  configure how you want your output to
look and where you want it to go in  log4j.properties.  The existing one
will get you started.  Finally,  you need to update jboss.conf to disable
consolelogging and filelogging and  enable log4j.  All  the statements are
already in the file, just  comment and uncomment.  From trial and error,
you can't comment by just  surrounding the block of statements with .  The  statements are executed anyway.  You need to remove the
starting  <.

Documentation for log4j can be found at
http://www.apache.org/foundation/projects.html.   Look for log4j and follow
the links.

- Original Message -
From:  Jaime, Paul
To: '[EMAIL PROTECTED]'
Sent: Wednesday, May 23, 2001 9:46  AM
Subject: RE: [JBoss-user]  log4j+JBoss

You should be able to use log4j the same way as you do for any  class. See
the examples on the Log4J docs.

This is my code on a state-full session bean,

file://*** IMPORT AS NEEDED  ***//
import org.apache.log4j.Category;
import org.apache.log4j.PatternLayout;
import org.apache.log4j.Layout;
import  org.apache.log4j.FileAppender;
import  org.apache.log4j.PropertyConfigurator;

//** ON MY ejbCreate **//

    //set logging options
    try{
  Layout layout = new  PatternLayout("%d{HH:mm:ss,SSS}%r [%t] %c %x -
%m%n");
  cat.addAppender(new  FileAppender(layout,"C:/temp/your.log",true));
  cat.info("Started Log for EJB");
    } catch(IOException e){
  isDebug = false;
    };

___
Paul  Jaime
[EMAIL PROTECTED]
___

 -Original Message-
From:    Isidoro Fernandez Diaz [mailto:[EMAIL PROTECTED]]
Sent:   Wednesday, May 23, 2001 9:03  AM
To:  [EMAIL PROTECTED]
Subject:    [JBoss-user]  log4j+JBoss

    Hi!

         I need to download  log4j for JBoss... Can help me
anybody?
         Also I need to learn  how to install and to configure
log4j for JBoss.

    Thanks folks.  Bye.

Isidoro Fernández Díaz
mailto:[EMAIL PROTECTED]
Software Engineer
TELENIUM, The New  Millennium Telecom Company
Agustín de Foxá, 25, plta.  13
28036 MADRID
Tel. +34 91  315 85 62
Fax +34 91 31

[JBoss-user] About JBoss HA: Simply curiosity

2001-05-24 Thread jsoriano

Hello: nowadays i'm testing High Availability with JBoss
(http://194.38.95.241).
I've installed and configured JBoss HA in two different PCs
running Linux Mandrake 7.2.
I've deployed the 'testbean.jar' and later i've run 5 instances of
TestGUI.jar, and...it RUNS!!! : every node in the cluster is serving
the same bean.

But now i wonder:
if i have configured NOWHERE the physical location of my Nodes,
how JBoss HA can found each node in the cluster in our LAN?
Perhaps is the 'JavaGroupsSettings' doing this job?

Thanks in advance:

P.D.: is HA project still alive?, i'm very interested on it.
__
Jaume Soriano Sivera <[EMAIL PROTECTED]>
Tel: 96504 -ext. 44744 Fax: 965040047
Portal y servicios multimedia - Nuevas tecnologias 
W a n a d o o E s p a n a - http://www.wanadoo.es 
__

___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [Re: [JBoss-user] Cant run the JBoss example client]

2001-05-24 Thread swamy

Hi,

The problem is solved now. I dunno how. I restarted the JBoss server and
executed the client again it is working fine for one of my test bean, but
still the Interest example bean is not working.
This is the o/p I get is as follows ...

Got context
Got reference
Interest on 1000 units, at 10% per period, compounded over 2 periods is:

... and the program is stuck here, I mean it just waits without proceeding
further.

If anyone knows what the problem is...then please reply.

Thanks for the support,
-Swam


--
hi,

you may get this error only if ur client is not able to loacte the jboss
server.

pls make sure the server is running when you are running the client program.

All the best..

cheers,
dinesh.



[EMAIL PROTECTED] wrote:
Hi,

Yes the client & server both are in the same machine.
Can somebody help me out of this situation please...
I'm unable to proceed further .. :(

Thanks,
-Swam


-- Original Message --

>Are you starting the client on the server or from a remote host ?
>
>Cheers,
>Tobias
>
>
>[EMAIL PROTECTED] wrote:
>>
>> I should have written my previous mail in detail.
>>
>> Yes.. the Bean is properly deployed in the JBoss server.
>>
>> This is what is printed in my console when I added interest.jar in
'deploy'
>> folder.
>> 
>> [Auto deploy] Auto deploy of file:/D:/program
files/JBoss-2.2.1/deploy/interest.jar
>> [J2EE Deployer Default] Deploy J2EE application: file:/D:/program
files/JBoss-2.2.1/deploy/interest.jar
>> [J2EE Deployer Default] Create application interest.jar
>> [J2EE Deployer Default] install module interest.jar
>> [Container factory] Deploying:file:/D:/program
files/JBoss-2.2.1/tmp/deploy/Default/interest.jar
>> [Verifier] Verifying file:/D:/program
files/JBoss-2.2.1/tmp/deploy/Default/interest.jar/ejb1002.jar
>> [Container factory] Deploying Interest
>> [Container factory] Deployed application: file:/D:/program
files/JBoss-2.2.1/tmp/deploy/Default/interest.jar
>> [J2EE Deployer Default] J2EE application: file:/D:/program
files/JBoss-2.2.1/deploy/interest.jar
>> is deployed.
>>
>> 
>> I'm using JBoss 2.2.1, OS is  Windows NT, JDK version 1.3.
>> When I run the InterestClient it gets the Context, and then a
ServiceUnavailableException
>> is thrown, reason given is ConnectException ..Connection Refused.
>>

 This is what is printed in the console when I start the InterestClient
:



>> >D:\My Working Folder\XYZ\Beans\interest>java InterestClient
>> >Got context
>> >javax.naming.ServiceUnavailableException: Connection refused: no further
>> >information [Root exception is java.net.ConnectException: Connection
>> >refused:
>> >no further information]
>


>> What is the problem ? Please help me!
>>
>> Thanks,
>> -Swam








Get your free email at www.friendlyemail.com


___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user



Re: [JBoss-user] Connection Pooling

2001-05-24 Thread Toby Allsopp

Lan Nguyen wrote:

> *This message was transferred with a trial version of CommuniGate(tm) Pro*


That's nice.


> Hi Everyone;
> 
> After you modify the jboss.jcml to include
...
> how do you access this connection pool in the client program??


Define "client program".  Connection pools are for the use of components 
running in the JBoss JVM, e.g. EJBs, servlets, MBeans.  They cannot be 
used from outside that JVM.

Toby.



___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user