I don't seem to be albe to find the root of my problem here. The server is
still not shutting down cleanly and I'm loosing all my data. i.e the server
is not surviving a restart:). Again this is only a problem with Tomcat and
jBoss running on linux with sun lastest stable JDK release. The same code
and setup works prefectly on windows 2000/NT.
Eoin.
Here it is again:
[Transaction manager] Stopping
[Transaction manager] javax.naming.CommunicationException. Root exception
is java.rmi.NoSuchObjectException: no such object in table
[Transaction manager] at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteC
all.java:245)
[Transaction manager] at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220)
[Transaction manager] at
sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)[Transaction manager]
at org.jnp.server.NamingServer_Stub.unbind(Unknown Source)
[Transaction manager] at
org.jnp.interfaces.NamingContext.unbind(NamingContext.java:414)
[Transaction manager] at
org.jnp.interfaces.NamingContext.unbind(NamingContext.java:402)
[Transaction manager] at
javax.naming.InitialContext.unbind(InitialContext.java:374)
[Transaction manager] at
org.jboss.tm.TransactionManagerService.stopService(TransactionManagerService
.java:89)
[Transaction manager] at
org.jboss.util.ServiceMBeanSupport.stop(ServiceMBeanSupport.java:122)
[Transaction manager] at
org.jboss.util.ServiceMBeanSupport.destroy(ServiceMBeanSupport.java:138)
[Transaction manager] at java.lang.reflect.Method.invoke(Native Method)
[Transaction manager] at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
[Transaction manager] at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
[Transaction manager] at
org.jboss.dependencies.DependencyManager.stopMBean(DependencyManager.java:30
6)
[Transaction manager] at
org.jboss.dependencies.DependencyManager.stopMBeans(DependencyManager.java:1
89)
[Transaction manager] at org.jboss.Main$2.run(Main.java:171)
[Transaction manager] Stopped
[Transaction manager] Destroying
[Transaction manager] Destroyed
[Tomcat] Stopping
[Tomcat] Stopped
[Tomcat] Destroying
[Tomcat] Destroyed
[Webserver] Stopping
[Webserver] Stopped
[Webserver] Destroying
[Webserver] Destroyed
[Simple Realm Mapping] Stopping
[Naming] java.lang.NullPointerException
at org.jnp.server.Main.run(Main.java:125)
at java.lang.Thread.run(Thread.java:484)
[Simple Realm Mapping] javax.naming.CommunicationException. Root exception
is ava.rmi.NoSuchObjectException: no such object in table
[Simple Realm Mapping] at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedromServer(StreamRemoteCa
ll.java:245)
[Simple Realm Mapping] at
sun.rmi.transport.StreamRemoteCall.executeCall(StreaRemoteCall.java:220)
[Simple Realm Mapping] at
sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122[Simple Realm Mapping]
at org.jnp.server.NamingServer_Stub.unbind(Unknown Soure)
[Simple Realm Mapping] at
org.jnp.interfaces.NamingContext.unbind(NamingContex.java:414)
[Simple Realm Mapping] at
org.jnp.interfaces.NamingContext.unbind(NamingContex.java:402)
[Simple Realm Mapping] at
javax.naming.InitialContext.unbind(InitialContext.jaa:374)
[Simple Realm Mapping] at
org.jboss.security.SimpleRealmMappingService.stopSerice(SimpleRealmMappingSe
rvice.java:85)
[Simple Realm Mapping] at
org.jboss.util.ServiceMBeanSupport.stop(ServiceMBeanupport.java:122)
[Simple Realm Mapping] at
org.jboss.util.ServiceMBeanSupport.destroy(ServiceMBanSupport.java:138)
[Simple Realm Mapping] at java.lang.reflect.Method.invoke(Native Method)
[Simple Realm Mapping] at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSrverImpl.java:1628)
[Simple Realm Mapping] at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSrverImpl.java:1523)
[Simple Realm Mapping] at
org.jboss.dependencies.DependencyManager.stopMBean(DpendencyManager.java:306
)
[Simple Realm Mapping] at
org.jboss.dependencies.DependencyManager.stopMBeans(ependencyManager.java:18
9)
[Simple Realm Mapping] at org.jboss.Main$2.run(Main.java:171)
[Simple Realm Mapping] Stopped
[Simple Realm Mapping] Destroying
[Simple Realm Mapping] Destroyed
[Default] 21 services and 4 other MBeans stopped.
-----Original Message-----
From: Derek Last Name [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 16, 2000 12:57 PM
To: jBoss
Subject: RE: [jBoss-User] Core dump: ouch!
i have some code that will core dump jboss just about
every time i run it within 5-15 minutes. i call it
using 4 dos prompts running the same code. the code
does a ejb create. each dos prompt i run uses 10
threads, so, i guess im using 40 clients all doing ejb
creates at the same time. each client does a delete
all in the table, then does 10 inserts. i have my try
catch block so that when i get duplicate inserts it
will ignore the error, and just keep on going. i did
this since this is the first ejb example i had in my
book, this is all i have figured out how to do so far,
and i wanted to test it out under load to see if what
kind of performance i would get. i am quite
underwhelmed and disappointed to say the least. maybe
im doing something wrong in my code. yes, i realize
most applications wont be doing this sort of load.
anyways if you want the code let me know. like i said
everytime i run it, i get a core dump in jboss.
--- marc fleury <[EMAIL PROTECTED]> wrote:
> the only situation where we have seen the core dump
> is on shutdown where the
> JVM barfs on a "unexpected thread" bla bla... then
> the dump goes to file and
> can be quite high.
>
> I have personnaly never seen a CD under any other
> circumstances (but I stand
> to be corrected ;-), not even on the heavy heavy
> loads we are running right
> now (again 200thread, 150,000 beans all in parallel
> and stable :)))))
>
> marc
>
>
> |-----Original Message-----
> |From: [EMAIL PROTECTED]
> |[mailto:[EMAIL PROTECTED]]On Behalf
> Of Tom Cook
> |Sent: Friday, October 13, 2000 1:00 AM
> |To: [EMAIL PROTECTED]
> |Subject: [jBoss-User] Core dump: ouch!
> |
> |
> |Just a warning:
> |
> |Just discovered that, under some circumstances,
> jBoss running under
> |Sun's 1.3 release JDK for linux can core dump in a
> large way (it got
> |to 116Mb before I killed it). When it's running
> from an NFS mount
> |this drags my box to it's knees with network
> congestion.
> |
> |Tom
> |--
> |Tom Cook - Software Operations
> |
> |"We rarely find that people have good sense unless
> they agree
> | with us."
> | - Francois, Duc de la Rochefoucauld
> |
> |LISAsoft Pty Ltd - www.lisa.com.au
> |
> |--------------------------------------------------
> |38 Greenhill Rd. Level 3, 228 Pitt Street
> |Wayville, SA, 5034 Sydney, NSW, 2000
> |
> |Phone: +61 8 8272 1555 Phone: +61 2 9283 0877
> |Fax: +61 8 8271 1199 Fax: +61 2 9283 0866
> |--------------------------------------------------
> |
> |
> |--
>
|--------------------------------------------------------------
> |To subscribe:
> [EMAIL PROTECTED]
> |To unsubscribe:
> [EMAIL PROTECTED]
> |Problems?: [EMAIL PROTECTED]
> |
> |
> |
>
>
>
> --
>
--------------------------------------------------------------
> To subscribe:
> [EMAIL PROTECTED]
> To unsubscribe:
> [EMAIL PROTECTED]
> Problems?: [EMAIL PROTECTED]
>
__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf! It's FREE.
http://im.yahoo.com/
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]
DISCLAIMER: This e-mail contains proprietary information some or all of
which may be legally privileged. It is for the intended recipient only. If
an addressing or transmission error has misdirected this e-mail, please
notify the author by replying to this e-mail. If you are not the intended
recipient you must not disclose, distribute, copy, print, or rely on this
e-mail.
All information contained within this e-mail is subject to the Terms &
Conditions of Valtech Ltd. which are available upon request.
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]