Re: [JBoss-user] startup script for linux?

2001-12-06 Thread tek1

thanks christopher!

i started considering writing my own, but will check jboss3.0's script.

thank you again.  :)



At 08:14 01/12/07 +0100, you wrote:
>On Fri, Dec 07, 2001 at 01:40:01AM +0900, tek1 wrote:
> > hello.
> >
> > just wondering if there is a jboss startup script for linux that can be
> > dropped into /etc/init.d/ so that jboss can be ran as a service?
>
>Either you can write your own one, based on /etc/init.d/skeleton, and some
>piece of information about different ways to stop JBoss (see discussion at
>the jboss-user archives, few weeks ago); or have a look at JBoss 3.0's
>jboss_init_redhat.sh script in the bin directory.
>
>Regards,
>Christopher
>--
>.Digital.Yearning.for.Networked.Assassination.and.Xenocide
>
>___
>JBoss-user mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/jboss-user


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



Re: [JBoss-user] JBoss + Tomcat running independently

2001-12-06 Thread Guy Rouillier

Please see my other reply on this same subject.  Why does JBoss need to know
anything about Tomcat?  In our environment, anyway, Tomcat handles JSP pages
which invoke methods on EJBs running in JBoss.  So Tomcat needs to know the
location of those EJBs, but JBoss doesn't need to know anything about
Tomcat.

- Original Message -
From: "DOD" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, December 05, 2001 11:37 AM
Subject: [JBoss-user] JBoss + Tomcat running independently


>
> Hi
>
> Having happily run the JBoss + Tomcat package from the jboss.org site
> for the last while, I've had a nightmare trying to upgrade to Tomcat 4
> and Cocoon 2 running under JBoss.
>
> I've gone for the easy option - to run JBoss as an EJB server and Tomcat
> separately as my servlet/ JSP container. The problem is JBoss doesn't
> see the new copy of Tomcat running separately - I can't get them to
> interact. How do I get JBoss standalone to recognise & interact with
> Tomcat as the servlet container when they run separately (but on the
> same machine)?
>
> Thanks in advance
>
> DOD
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user



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



Re: [JBoss-user] JBoss and Tomcat : together or separate?

2001-12-06 Thread Guy Rouillier

> What is confusing me, is does JBoss need to know about Tomcat or visa
versa?

All depends on what you are trying to do.  The way we use it, no.  We have
Tomcat running our JSP pages, and JBoss running our EJBs.  Our EJBs provide
"services" that are used on the JSP pages, so Tomcat needs to know where
JBoss is running (so it can do lookups on the EJBs) but JBoss doesn't need
to know anything about Tomcat.



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



Re: [JBoss-user] jndi.properties and JBoss-2.4.3_Tomcat-3.2.3

2001-12-06 Thread Guy Rouillier

You are getting  a class not found exception.  What makes you think this has
anything to do with jndi.properties?  Are you providing the home interface
class file to both JBoss and the client?

- Original Message -
From: "storck" <[EMAIL PROTECTED]>
To: "Jboss User (E-Mail)" <[EMAIL PROTECTED]>; "Struts User
(E-Mail)" <[EMAIL PROTECTED]>
Sent: Thursday, December 06, 2001 1:15 PM
Subject: [JBoss-user] jndi.properties and JBoss-2.4.3_Tomcat-3.2.3


> Where do I have to put the jndi.properties or what could be else the
problem
> for the following exception?
>
> [Service Control] Started 47 services
> [Default] JBoss 2.4.3 Started in 0m:18s
> [Default] javax.naming.CommunicationException.  Root exception is
> [Default] java.lang.ClassNotFoundException:
> com.tecmath.cms.mt.client.ArticleMngrHome
> [Default]   at javax.management.loading.MLet.findClass(MLet.java:800)
> [Default]
> [Default]   at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
> [Default]
> [Default]   at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
> [Default]
> [Default]   at
> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
> [Default]
> [Default]   at java.lang.Class.forName0(Native Method)
> [Default]
> [Default]   at java.lang.Class.forName(Class.java:195)
> [Default]
> [Default]   at
>
sun.rmi.server.MarshalInputStream.resolveProxyClass(MarshalInputStream.java:
> 183)
> [Default]
> [Default]   at
>
java.io.ObjectInputStream.inputProxyClassDescriptor(ObjectInputStream.java:9
> 82)
> [Default]
> [Default]   at
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
> [Default]
> [Default]   at
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
> [Default]
> [Default]   at
> java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186)
> [Default]
> [Default]   at
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
> [Default]
> [Default]   at
> java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
> [Default]
> [Default]   at
java.rmi.MarshalledObject.get(MarshalledObject.java:138)
> [Default]
> [Default]   at
> org.jnp.interfaces.NamingContext.lookup(NamingContext.java:353)
> [Default]
> [Default]   at
> org.jnp.interfaces.NamingContext.lookup(NamingContext.java:333)
> [Default]
> [Default]   at
> javax.naming.InitialContext.lookup(InitialContext.java:350)
> [Default]
> [Default]   at
> com.tecmath.cms.mt.util.ejb.EJBUtil.findHome(EJBUtil.java:29)
> [Default]
> [Default]   at
>
com.tecmath.cms.mt.struts.ArticleListAction.createArticleList(ArticleListAct
> ion.java:
> [Default]
> [Default]   at
>
com.tecmath.cms.mt.struts.ArticleListAction.perform(ArticleListAction.java:5
> 8)
> [Default]
> [Default]   at
>
org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.ja
> va:1720)
> [Default]
> [Default]   at
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1519)
> [Default]
> [Default]   at
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:487)
> [Default]
> [Default]   at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> [Default]
> [Default]   at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> [Default]
> [Default]   at
> org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
> [Default]
> [Default]   at
org.apache.tomcat.core.Handler.service(Handler.java:287)
> [Default]
> [Default]   at
> org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> [Default]
> [Default]   at
>
org.apache.tomcat.facade.RequestDispatcherImpl.doInclude(RequestDispatcherIm
> pl.java:4
> [Default]
> [Default]   at
>
org.apache.tomcat.facade.RequestDispatcherImpl.include(RequestDispatcherImpl
> .java:270
> [Default]
> [Default]   at
>
org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:414)
> [Default]
> [Default]   at
>
org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.ja
> va:733)
> [Default]
> [Default]   at
> org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:368)
> [Default]
> [Default]   at
>
common._0002fcommon_0002ftemplate_0002ejsptemplate_jsp_0._jspService(_0002fc
> ommon_000
> [Default]
> [Default]   at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
> [Default]
> [Default]   at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> [Default]
> [Default]   at
>
org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.ja
> va:130)
> [Default]
> [Default]   at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> [Default]
> [Default]   at
>
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
> va:282)
> [Default]
> [Default]   at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
> [Default]
> [Default]   at
> org.apache.j

Re: [JBoss-user] startup script for linux?

2001-12-06 Thread Jozsa Kristof

On Fri, Dec 07, 2001 at 01:40:01AM +0900, tek1 wrote:
> hello.
> 
> just wondering if there is a jboss startup script for linux that can be 
> dropped into /etc/init.d/ so that jboss can be ran as a service?

Either you can write your own one, based on /etc/init.d/skeleton, and some
piece of information about different ways to stop JBoss (see discussion at
the jboss-user archives, few weeks ago); or have a look at JBoss 3.0's
jboss_init_redhat.sh script in the bin directory.

Regards,
Christopher
-- 
.Digital.Yearning.for.Networked.Assassination.and.Xenocide

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



[JBoss-user] startup script for linux?

2001-12-06 Thread tek1

hello.

just wondering if there is a jboss startup script for linux that can be 
dropped into /etc/init.d/ so that jboss can be ran as a service?

thanks... 


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



[JBoss-user] Dependent Value Pattern and Business Logic

2001-12-06 Thread Ryan Marsh

I'm sure you are familiar with the Value pattern, and possibly the
Dependent Value pattern for coarse grained BMP. 

My question is, where does the business logic for validating a
value-object go? The quick answer would be, "They bean stupid!" but that
answer does not take into account the fact that value objects may be
shared across multiple beans. I might have an EJB named WorkOrder for a
shipping company. The WorkOrder may have Destination (Address),
PickupLocation (Address), and many Trip's. I might also have, for driver
settlement, an EJB named DriverWorkWeek with many Trips. Finally I might
have an EJB named Customer with a few Addresses and other info.

With this confusing example, hopefully you can see that sometimes a
value object is dependent (composition) and sometimes they are
independent (association). With dependent value objects the business
logic can always be placed in the EJB, but with independent value
objects they are CRUD (Created, Read, Updated, Deleted) from multiple
components thus it does not make sense to put the business logic in any
single EJB. If we did so, we would wind up duplicating the code in each
EJB that CRUD'ed the value-object. 

An Address, or a Trip object is not coarse grained enough to warrant a
BMP of it's own so we can't put the logic in the value-object itself.
The other option is to create a reusable class for each value object
containing validating code. I imagine this class implementing an
interface "Validator" with a function .validate(Validatable) or
something along those lines. 

So to restate my question, where does the logic go? Which approach is
best? Is there another, cleaner implementation of logic for a
value-object?

-ryan

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



Re: [JBoss-user] XSLT Xalan ClassNotFoundException

2001-12-06 Thread Sebastian Hauer

Hi,

well I fixed the problem myself.
Thank you Eric for your answer it motivated me writing a test servlet
and finally I've found the problem.

Here is what I did:

I replaced the jaxp.jar in $JBOSS_HOME/lib with a newer version I guess.
At least it had some more classes included especially these ones listed
that where not in my packaged jaxp.jar from jboss and I assume they do
the class finding job :)

javax/xml/transform/FactoryFinder$ClassLoaderFinder.class
javax/xml/transform/FactoryFinder$ClassLoaderFinderConcrete.class
javax/xml/transform/FactoryFinder$1.class

And that fixed it.
I had my xalan.jar in $JBOSS_HOME/lib/ext and it worked.
I removed it and placed it in my WAR and it worked.

And now even my real app is working yipppe.

Ciao,
Sebastian


PS: just finished downloading the JBoss-2.4.3_Tomcat-3.2.3.zip again to
make sure it was not my mistake. This package has the small jaxp.jar
even though they have the new jaxp.jar on CVS.
I will not start downloading JBoss 2.4.4 right now but I hope they have
it fixed.


Sebastian Hauer wrote:
> Now I want to transform an XML file with XSLT to html and while calling
> 
> TransformerFactory factory = TransformerFactory.newInstance();
> 
> I get a
> 
> javax.xml.transform.TransformerFactoryConfigurationError:
> java.lang.ClassNotFoundException:
> org.apache.xalan.processor.TransformerFactoryImpl
> 
> I have xalan.jar in my WEB-INF/lib directory and also tried placing it
> into $JBOSS_HOME/lib and $TOMCAT_HOME/lib
> without success.

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



RE: [JBoss-user] JMX Unregister

2001-12-06 Thread Lucas McGregor

I am testing my code out on the SUN JMX Reference Implementation, which is
what Jboss may use a lot of internally. When I unregister a bean, it
disappears from the list of mbeans. I assumed that would kill the bean. But
the bean has an internal thread running a server socket that needs to be
destroyed.

Bordet, Simone [[EMAIL PROTECTED]] suggested that I need to implement
the MBeanRegistration interface, which provides call backs from the
MBeanServer for registration/deregistration. I am now trying to implement
it.

Once I have that done, I will report back how it works, and send Simone a
thank you letter, because Simone is a really smart and kind person :-)

-lucas

-Original Message-
From: David Jencks [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 06, 2001 10:51 AM
To: Lucas McGregor
Cc: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] JMX Unregister


JBoss 3??

How are you unregistering?  When I push the unregister button nothing has
ever happened.

If you put mbean config for these mbeans in a service.xml file and
deploy/undeploy are they still there?  How do you know?

Thanks
david jencks

On 2001.12.06 12:11:41 -0500 Lucas McGregor wrote:
> 
> 
> I am going back and turning a lot of my support daemons for my JBoss
> application into services that can controlled by JMX. When I go to the
> admin
> page for the JMX HTMLAdaptor, I can create my Mbean and the MBeanServer
> will
> create an instance. But when I unregister the bean, all that seems to
> happen
> is that the MBeanServer drops its reference to my MBean, but the instance
> is
> left running. I have noticed this with JBoss's DataSourcePools too. 
> 
> Is it possible for you to destroy a MBean? Is there a prefered way to do
> this. I would like to not only stop my service, but to remove the
> instance
> from the JVM entirly.
> 
>   thanks,
>   lucas mcgregor
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 

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



Re: [JBoss-user] JMX Unregister

2001-12-06 Thread David Jencks

JBoss 3??

How are you unregistering?  When I push the unregister button nothing has
ever happened.

If you put mbean config for these mbeans in a service.xml file and
deploy/undeploy are they still there?  How do you know?

Thanks
david jencks

On 2001.12.06 12:11:41 -0500 Lucas McGregor wrote:
> 
> 
> I am going back and turning a lot of my support daemons for my JBoss
> application into services that can controlled by JMX. When I go to the
> admin
> page for the JMX HTMLAdaptor, I can create my Mbean and the MBeanServer
> will
> create an instance. But when I unregister the bean, all that seems to
> happen
> is that the MBeanServer drops its reference to my MBean, but the instance
> is
> left running. I have noticed this with JBoss's DataSourcePools too. 
> 
> Is it possible for you to destroy a MBean? Is there a prefered way to do
> this. I would like to not only stop my service, but to remove the
> instance
> from the JVM entirly.
> 
>   thanks,
>   lucas mcgregor
> 
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 

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



[JBoss-user] jndi.properties and JBoss-2.4.3_Tomcat-3.2.3

2001-12-06 Thread storck

Where do I have to put the jndi.properties or what could be else the problem
for the following exception?

[Service Control] Started 47 services
[Default] JBoss 2.4.3 Started in 0m:18s
[Default] javax.naming.CommunicationException.  Root exception is
[Default] java.lang.ClassNotFoundException:
com.tecmath.cms.mt.client.ArticleMngrHome
[Default]   at javax.management.loading.MLet.findClass(MLet.java:800)
[Default]
[Default]   at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
[Default]
[Default]   at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
[Default]
[Default]   at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
[Default]
[Default]   at java.lang.Class.forName0(Native Method)
[Default]
[Default]   at java.lang.Class.forName(Class.java:195)
[Default]
[Default]   at
sun.rmi.server.MarshalInputStream.resolveProxyClass(MarshalInputStream.java:
183)
[Default]
[Default]   at
java.io.ObjectInputStream.inputProxyClassDescriptor(ObjectInputStream.java:9
82)
[Default]
[Default]   at
java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
[Default]
[Default]   at
java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
[Default]
[Default]   at
java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1186)
[Default]
[Default]   at
java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
[Default]
[Default]   at
java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
[Default]
[Default]   at java.rmi.MarshalledObject.get(MarshalledObject.java:138)
[Default]
[Default]   at
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:353)
[Default]
[Default]   at
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:333)
[Default]
[Default]   at
javax.naming.InitialContext.lookup(InitialContext.java:350)
[Default]
[Default]   at
com.tecmath.cms.mt.util.ejb.EJBUtil.findHome(EJBUtil.java:29)
[Default]
[Default]   at
com.tecmath.cms.mt.struts.ArticleListAction.createArticleList(ArticleListAct
ion.java:
[Default]
[Default]   at
com.tecmath.cms.mt.struts.ArticleListAction.perform(ArticleListAction.java:5
8)
[Default]
[Default]   at
org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.ja
va:1720)
[Default]
[Default]   at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1519)
[Default]
[Default]   at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:487)
[Default]
[Default]   at
javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
[Default]
[Default]   at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
[Default]
[Default]   at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
[Default]
[Default]   at org.apache.tomcat.core.Handler.service(Handler.java:287)
[Default]
[Default]   at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
[Default]
[Default]   at
org.apache.tomcat.facade.RequestDispatcherImpl.doInclude(RequestDispatcherIm
pl.java:4
[Default]
[Default]   at
org.apache.tomcat.facade.RequestDispatcherImpl.include(RequestDispatcherImpl
.java:270
[Default]
[Default]   at
org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:414)
[Default]
[Default]   at
org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.ja
va:733)
[Default]
[Default]   at
org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:368)
[Default]
[Default]   at
common._0002fcommon_0002ftemplate_0002ejsptemplate_jsp_0._jspService(_0002fc
ommon_000
[Default]
[Default]   at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
[Default]
[Default]   at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
[Default]
[Default]   at
org.apache.jasper.servlet.JspServlet$JspCountedServlet.service(JspServlet.ja
va:130)
[Default]
[Default]   at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
[Default]
[Default]   at
org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja
va:282)
[Default]
[Default]   at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:429)
[Default]
[Default]   at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:500)
[Default]
[Default]   at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
[Default]
[Default]   at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
[Default]
[Default]   at org.apache.tomcat.core.Handler.service(Handler.java:287)
[Default]
[Default]   at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
[Default]
[Default]   at
org.apache.tomcat.facade.RequestDispatcherImpl.doInclude(RequestDispatcherIm
pl.java:4
[Default]
[Default]   at
org.apache.tomcat.facade.RequestDispatcherImpl.include(RequestDispatcherImpl
.java:270
[Default]
[Default]   at
org.apache.jasper.runtime.PageCon

RE: [JBoss-user] JMX Unregister

2001-12-06 Thread Bordet, Simone

Hi,

> -Original Message-
> From: Lucas McGregor [mailto:[EMAIL PROTECTED]]
> Sent: giovedì 6 dicembre 2001 18:12
>
> 
> I am going back and turning a lot of my support daemons for my JBoss
> application into services that can controlled by JMX. When I 
> go to the admin
> page for the JMX HTMLAdaptor, I can create my Mbean and the 
> MBeanServer will
> create an instance. But when I unregister the bean, all that 
> seems to happen
> is that the MBeanServer drops its reference to my MBean, but 
> the instance is
> left running. I have noticed this with JBoss's DataSourcePools too. 
> 
> Is it possible for you to destroy a MBean? Is there a 
> prefered way to do
> this. I would like to not only stop my service, but to remove 
> the instance
> from the JVM entirly.

Your MBean must implement MBeanRegistration. 
Upon unregistration, the MBeanServer calls preDeregister and
postDeregister, so there you can stop your daemon. 
If you cleanly stop what you created, the MBean is not referenced
anymore by the MBeanServer and should be garbage collected.
All the above is valid unless bugs in the JMX RI.

Hope helped,

Simon

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



[JBoss-user] JMX Unregister

2001-12-06 Thread Lucas McGregor



I am going back and turning a lot of my support daemons for my JBoss
application into services that can controlled by JMX. When I go to the admin
page for the JMX HTMLAdaptor, I can create my Mbean and the MBeanServer will
create an instance. But when I unregister the bean, all that seems to happen
is that the MBeanServer drops its reference to my MBean, but the instance is
left running. I have noticed this with JBoss's DataSourcePools too. 

Is it possible for you to destroy a MBean? Is there a prefered way to do
this. I would like to not only stop my service, but to remove the instance
from the JVM entirly.

thanks,
lucas mcgregor

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



Re: FW: PRIVATE: Re: [JBoss-user] jboss-user shutdown

2001-12-06 Thread Aleksander Grzebyta

Dear Marc !

I am not able to polemize with you, but please do not remove mail-list. I
simply hate web-based forums. I like simple text-based discussions. And its
faster.

sincerely Olek

- Original Message -
From: "marc fleury" <[EMAIL PROTECTED]>
To: "Christian Riege" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, December 05, 2001 7:10 PM
Subject: RE: FW: PRIVATE: Re: [JBoss-user] jboss-user shutdown


> |p.s.: marc, i wholeheartedly agree with your statement that jboss-user
> |was a waste of time when there were 300+ posts a day -- i don't want
> |those times back either. but please please please with sugar on top keep
> |"jboss-dev" a mailing list :)
>
> jboss-user at 300 posts was a waste of time forums will scale in users and
> developers.
>
> jboss-dev is going to be mirrored on the forums so you will be able to
> either participate from mail or participate from the forum, personally I
> plan on working from the web.
>
> See, here I am trying to finish the proxy rewrite/invocation chain rewrite
> and I keep popping to read my mail and here I am breaking away and
> answering, the forum is better in that way, you go when you want, you use
> when you want and since we nntp mirror you still have it.  You want to be
> notified as a user when your answer is up? you will have that feature.
>
> So even for jboss-dev which is the list that has 300 mails per day these
> days and is becoming a pain and a jungle, it might be interesting to try
to
> forum formula.
>
> Look the forum is already a success with more traffic than this list ever
> saw, and it still has a LOT of room to grow, you don't feel overwhelmed in
> the forums, everyone is happier, you bitch a bit and then you realize it
> just is a bit better really, lost stuff gained stuff...
>
> Finally the forums are RIGHT THERE, in YOUR FACE, you just click once you
> downloaded and BAM you in the middle of the maelstrom, the energy, the
> people, right now there is a gap website/list and I want to do away with
> this, this is trully powerful, do you realize that folks will be able to
see
> the developers be right next to them, that stuff will SO ALIVE it will
blow
> everybody's mind away, they will WANT to be there and help and what not,
> trust I know these things, I know "marketing" of our project and
software...
> it is going to blow everyone away to see dev working LIVE! no-one else can
> do this, I hope it will work
>
> marcf
>
>
> ___
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user


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



[JBoss-user] XSLT Xalan ClassNotFoundException

2001-12-06 Thread Sebastian Hauer


Hi,

I use the JBoss-2.4.3_Tomcat-3.2.3 package with struts.
Now I want to transform an XML file with XSLT to html and while calling

TransformerFactory factory = TransformerFactory.newInstance();

I get a 

javax.xml.transform.TransformerFactoryConfigurationError:
java.lang.ClassNotFoundException:
org.apache.xalan.processor.TransformerFactoryImpl

I have xalan.jar in my WEB-INF/lib directory and also tried placing it
into $JBOSS_HOME/lib and $TOMCAT_HOME/lib
without success.

I've digged the Web and couldn't find anything.
>From the commandline everything runs fine.
Can anyone help me or point me to some useful documentation.

Thanks in advance,

Sebastian

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



[JBoss-user] Why does this happen??

2001-12-06 Thread Carlos Ferrão


Hello List,
I'm getting the following exception using Jboss2.4.0 when connecting to
Informix 7.30.fc7. In my test server Jboss, jdbc driver(the latest) and jdk
are the same except that the database server is Informix 7.30.TC3 and
everything is fine. Is it problem of the database server configuration or is
it a strange issue in Jboss config?
I always get correct data from the database, only in first case this
exception shows.

This happens in every Bean:

[MercadoBean] XAException: tx=XidImpl [FormatId=257, GlobalId=siigps//473,
BranchQual=] errorCode=XA_UNKNOWN(1)
[MercadoBean] javax.transaction.xa.XAException
[MercadoBean]  at
org.jboss.pool.jdbc.xa.wrapper.XAResourceImpl.commit(XAResourceImpl.java:92)
[MercadoBean]  at
org.jboss.tm.TxCapsule.commitResources(TxCapsule.java:1489)
[MercadoBean]  at org.jboss.tm.TxCapsule.commit(TxCapsule.java:323)
[MercadoBean]  at
org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:76)
[MercadoBean]  at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.
java:355)
[MercadoBean]  at
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:99)
[MercadoBean]  at
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:12
7)
[MercadoBean]  at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195)
[MercadoBean]  at
org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.jav
a:286)
[MercadoBean]  at
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerI
nvoker.java:390)
[MercadoBean]  at java.lang.reflect.Method.invoke(Native Method)
[MercadoBean]  at
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:241)
[MercadoBean]  at sun.rmi.transport.Transport$1.run(Transport.java:152)
[MercadoBean]  at java.security.AccessController.doPrivileged(Native
Method)
[MercadoBean]  at
sun.rmi.transport.Transport.serviceCall(Transport.java:148)
[MercadoBean]  at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:465)
[MercadoBean]  at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:7
06)
[MercadoBean]  at java.lang.Thread.run(Thread.java:484)

This happens in one specific Bean which has some select statements into
temporary tables and a final select to get the desired resultset. It is
specially strange since every beans inherit from the AbstractReportBean and
use this method. The connection only is closed just before returning data
from the EJB to the web tier:

[Default] java.sql.SQLException: Connection has been closed!
[Default]   at
org.jboss.pool.jdbc.xa.wrapper.XAClientConnection.prepareStatement(XAClientC
onnection.java:165)
[Default]
[Default]   at
igps.common.AbstractReportBean.getDatabaseValues(AbstractReportBean.java:660
)
[Default]
[Default]   at
igps.common.AbstractReportBean.getDatabaseValues(AbstractReportBean.java:644
)
[Default]
[Default]   at
igps.common.AbstractReportBean.addCriterion(AbstractReportBean.java:67)
[Default]
[Default]   at
igps.comercialpapel.SituacaoPlaneamentoProducaoBean.getReport(SituacaoPlanea
mentoProducaoBean.java:42)
[Default]
[Default]   at
igps.comercialpapel.SituacaoPlaneamentoProducaoBean.getReport(SituacaoPlanea
mentoProducaoBean.java:35)
[Default]
[Default]   at java.lang.reflect.Method.invoke(Native Method)
[Default]
[Default]   at
org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(Stateles
sSessionContainer.java:543)
[Default]
[Default]   at
org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSe
ssionInstanceInterceptor.java:87)
[Default]
[Default]   at
org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:133)
[Default]
[Default]   at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.
java:298)
[Default]
[Default]   at
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:99)
[Default]
[Default]   at
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:12
7)
[Default]
[Default]   at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:195)
[Default]
[Default]   at
org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.jav
a:286)
[Default]
[Default]   at
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerI
nvoker.java:390)
[Default]
[Default]   at java.lang.reflect.Method.invoke(Native Method)
[Default]
[Default]   at
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:241)
[Default]
[Default]   at sun.rmi.transport.Transport$1.run(Transport.java:152)
[Default]
[Default]   at java.security.AccessController.doPrivileged(Native
Method)
[Default]
[Default]   at
sun.rmi.transport.Transport.serviceCall(Transport.java:148)
[Default]
[Default]   at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:465)
[Default]
[Defau

[JBoss-user] Where is EJX?

2001-12-06 Thread DOD



Hi,

I've just installed JBoss 2.4.3, but I can't find EJX in the /bin
directory - can anybody tell me where to find it? Or is there a new
deployment tool in JBoss I haven't found yet?


Thanks in advance
DOD.

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



[JBoss-user] Error in running JNDIBrowser and Admin Login in JBoss3.0 Alpha

2001-12-06 Thread Rama Rao




Hi All,
When i try to run JNDIBrowser and AdminLogin i am getting the following 
exceptions
"Exception in thread "main" 
java.lang.NoClassDefFoundError: org/jboss/admin/jndi/Main"
where can i get this class? (i have searched in all 
the jars. but could not find the class)
Also for admin login it is giving the error 
loginmodule class not found. 
Can u suggest where can i get the 
class?
 
Regards
Rama Rao
 


[JBoss-user] Tomcat garbage collection

2001-12-06 Thread Kazandjian Erik

Hello,

Does anybody knows when tomcat releases a form (gc's it) and is there a way
to force this (eg a parameter that specifies an interval ). We are useing
JBoss2.4.3-Tomcat 3.2.3

Thanks

Erik


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