[Beginner's Corner] - Automatic re-deployment: stopped but not starting
by Piotr De
piotrekde [http://community.jboss.org/people/piotrekde] created the discussion
"Automatic re-deployment: stopped but not starting"
To view the discussion, visit: http://community.jboss.org/message/577682#577682
--------------------------------------------------------------
Hi,
I have some strange issue with JBoss-5.0.0 (with hornetq). When I made some change in my application and redeploy it (just by deleting .ear in deploy directory and then copying the newly created one), my beans are properly stopped, but nothing more happens.
Here is some part of logs:
> 00:28:02,796 INFO [SessionSpecContainer] Stopping jboss.j2ee:ear=sis.ear,jar=sis.jar,name=BasicRequestSenderBean,service=EJB3
>
> 00:28:02,871 INFO [EJBContainer] STOPPED EJB: eu.smoothit.sis.communication.intersis.request.BasicRequestSenderBean ejbName: BasicRequestSenderBean
>
>
> 00:28:02,796 INFO [SessionSpecContainer] Stopping jboss.j2ee:ear=app.ear,jar=app.jar,name=DefaultRequestBean,service=EJB3
> 00:28:02,871 INFO [EJBContainer] STOPPED EJB: pl.edu.uj.DefaultRequestBean ejbName: DefaultRequestBean
I use IDE without built-in j2ee support, so ANT is my build/deploy tool. Also it's a project I've joined recently so I don't know if it's behavior configured intentionally (is it possible to do so?). Where to look for answer? (I've never met with anything like that before.)
Thanks,
Piotr
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/577682#577682]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 5 months
[JNDI and Naming] - JNDI lookup issue - EJB not bound
by Gurmat Bhatia
Gurmat Bhatia [http://community.jboss.org/people/gurmat] created the discussion
"JNDI lookup issue - EJB not bound"
To view the discussion, visit: http://community.jboss.org/message/576688#576688
--------------------------------------------------------------
Hi All,
I am new to Jboss...We are migrating from WAS4 to JBoss4.3 and are running into issues for EJB.
For all the EJBs, it is giving below exception:
2010-12-17 09:52:29,008 ERROR [STDERR] javax.naming.NameNotFoundException: ejb not bound
2010-12-17 09:52:29,009 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(NamingServer.java:581)
2010-12-17 09:52:29,009 ERROR [STDERR] at org.jnp.server.NamingServer.getBinding(NamingServer.java:589)
2010-12-17 09:52:29,009 ERROR [STDERR] at org.jnp.server.NamingServer.getObject(NamingServer.java:595)
2010-12-17 09:52:29,009 ERROR [STDERR] at org.jnp.server.NamingServer.lookup(NamingServer.java:313)
2010-12-17 09:52:29,009 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667)
2010-12-17 09:52:29,009 ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
2010-12-17 09:52:29,009 ERROR [STDERR] at javax.naming.InitialContext.lookup(InitialContext.java:351)
Below is the JNDI look up code
InitialContext ic =
*new InitialContext();VendorOSTrackingHome home = (VendorOSTrackingHome) ic.lookup(
"ejb/BulkLoaderApp/VendorOsTracking");
JBoss-web.xml
<?
xml version=+"1.0"+ encoding=+"UTF-8"+?><
jboss-web>
<
ejb-ref>
<ejb-ref-name>ejb/BulkLoaderApp/VendorOsTracking</ejb-ref-name>
<ejb-link>VendorOsTrackingEJB.jar#VendorOsTracking</ejb-link>
<jndi-name>VendorOsTracking</jndi-name></
ejb-ref>
</
jboss-web>
h2. +- UserTransaction[link -> UserTransaction] (class: javax.naming.LinkRef)
+- env (class: org.jnp.interfaces.NamingContext)
| +- jdbc (class: org.jnp.interfaces.NamingContext)
| | +- Profile[link -> java:Profile] (class: javax.naming.LinkRef)
| +- ejb (class: org.jnp.interfaces.NamingContext)
| | +- BulkLoaderApp (class: org.jnp.interfaces.NamingContext)
| | | +- VendorOsTracking[link -> VendorOsTracking] (class: javax.naming.LinkRef)
| +- security (class: org.jnp.interfaces.NamingContext)
| | +- realmMapping[link -> java:/jaas/customRealm] (class: javax.naming.LinkRef)
| | +- subject[link -> java:/jaas/customRealm/subject] (class: javax.naming.LinkRef)
| | +- securityMgr[link -> java:/jaas/customRealm] (class: javax.naming.LinkRef)
| | +- security-domain[link -> java:/jaas/customRealm] (class: javax.naming.LinkRef)
I am really stuck on this...Can anyone please help us out in this??
Thanks,
Gurmat
*
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/576688#576688]
Start a new discussion in JNDI and Naming at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 5 months
[JBoss Remoting] - Using sockets from JBoss AS?
by Matthew Browne
Matthew Browne [http://community.jboss.org/people/mbrowne] created the discussion
"Using sockets from JBoss AS?"
To view the discussion, visit: http://community.jboss.org/message/573284#573284
--------------------------------------------------------------
Hi,
I am writing a web-app using the Seam Framework that needs to talk to a musical programming application called MaxMSP.
It seemed to me that JBoss Remoting was a good solution for this, and I have a standalone test application working that will talk to MaxMSP (MaxMSP allows you to write Java externals, and I was able to get a JBoss Remoting server to work well from within MaxMSP).
The problem is that when I tried to move the code for establishing the client connection and callback server to the Seam app, I got an EOFException "end of file" error message (thrown from line 877 of org.jboss.remoting.transport.socket.MicroSocketClientInvoker.java).
After some Googling I saw a comment that led me to believe that JBoss AS might be blocking the socket connection. Is it even possible to use sockets with JBoss Remoting from within Jboss AS?
I tried to use RMI instead and almost got it working but unfortunately that doesn't work from within MaxMSP...since MaxMSP has its own dynamic classloader and RMI also has a dynamic classloader, I think there's a conflict there based on the error I was getting. I came to this conclusion because I got the server code to work fine outside of MaxMSP (as a standalone app).
Any pointers would be appreciated.
Thanks,
Matt
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/573284#573284]
Start a new discussion in JBoss Remoting at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 5 months
[jBPM] - Best practicess integration jBPM5 with JEE
by Pawel P
Pawel P [http://community.jboss.org/people/pawelp] created the discussion
"Best practicess integration jBPM5 with JEE"
To view the discussion, visit: http://community.jboss.org/message/577617#577617
--------------------------------------------------------------
Help
I'm new to jBPM.
I installed and started demo, it works fine.
My problem is knowledge/documentation.
I couldn't get a lot of infos I need to correct use jBPM.
I have JEE enviroment.
My question is: How listed below objects should be used (one per app, pool of stateless beans or any different way).
I need info about best practices.
Object which I don't know how to use:
-KnowledgeBase
-StatefulKnowledgeSession
-CommandBasedWSHumanTaskHandler
-WSHumanTaskHandler
-TaskClient(MinaTaskClientHandler)
Best regards
Pawel.
Hello!
I'm new to jBPM.
I've installed and started demo, it works fine.
My problem is knowledge/documentation.
I couldn't get a lot of info which I need to correct use jBPM.
I have JEE enviroment.
My question is: How, listed below objects, should be used (one per app, pool of stateless beans or any different way).
I need info about best practices.
Object which I don't know how to use:
-KnowledgeBase
-StatefulKnowledgeSession
-CommandBasedWSHumanTaskHandler
-WSHumanTaskHandler
-TaskClient(MinaTaskClientHandler)
Best regards
Pawel.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/577617#577617]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 5 months