RE: [JBoss-user] Name ejb is not bound in this Context

2002-08-19 Thread Mris Orbidns


Did you start Tomcat with option -nonaming ?


  -Original Message-
 From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]]  On Behalf Of Eric Kaplan
 Sent: Friday, August 16, 2002 11:00 PM
 To:   Jboss-User
 Subject:  [JBoss-user] Name ejb is not bound in this Context
 
 I have a jsp running inside of tomcat (not integrated with jboss) which calls a 
method to access on ejb as (ejb/UserMaster).  This is a method I can call fine in a 
standard client, but when tomcat runs the page I get:
 
 javax.naming.NameNotFoundException: Name ejb is not bound in this Context.
 
 What does this typically mean?
 
 Thanks
 
 Eric Kaplan
 Armanta, Inc.
 55 Madison Ave.
 Morristown, NJ  07960
 Phone: (973) 326-9600
 


---
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1refcode1=vs3390
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user



[JBoss-user] different transaction context ?

2002-04-23 Thread Mris Orbidns


Does anyone know what could cause this exception ?

It happens when I do sessionContext.setRollbackOnly();
in my stateful session bean. In the same method SFSB called
SLSB.

SFSB has Required, SLSB has Mandatory TX attribute on all methods.

Maris Orbidans



[ERROR,DataAccess] TRANSACTION ROLLBACK EXCEPTION:
javax.transaction.TransactionRolledbackException: Application Error: tried to enter 
Stateful bean with different transaction context; nested exception is:
java.rmi.RemoteException: Application Error: tried to enter Stateful bean with 
different tra
nsaction context
java.rmi.RemoteException: Application Error: tried to enter Stateful bean with 
different transaction context
at org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(Compiled 
Code)@f850ba0
at org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(Compiled Code)@f659720
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(Compiled 
Code)@f6572a0
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(Compiled Code)@f850b10
at org.jboss.ejb.plugins.LogInterceptor.invoke(Compiled Code)@f850780
at org.jboss.ejb.StatefulSessionContainer.invoke(Compiled Code)@f850730
at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(Compiled 
Code)@f850540
at java.lang.reflect.Method.invoke(Native Method)@d6f5c3e
at sun.rmi.server.UnicastServerRef.dispatch(Compiled Code)@f6e0fb0
at sun.rmi.transport.Transport$1.run(Compiled Code)@f6e0e30
at java.security.AccessController.doPrivileged(Native Method)@d1f436c
at sun.rmi.transport.Transport.serviceCall(Compiled Code)@f6e0700
at sun.rmi.transport.tcp.TCPTransport.handleMessages(Compiled Code)@f42f890
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Compiled 
Code)@f42eb50
at java.lang.Thread.run(Compiled Code)@d133880
at java.lang.Thread.startThreadFromVM(Compiled Code)@d133720
--- End of stack trace

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



RE: [JBoss-user] JBoss and standalone Tomcat 4.0.2

2002-03-28 Thread Mris Orbidns


That's right !

JBuilder starts Catalina with this option.

thanx
Maris

 -Original Message-
 From: Georg Schmid [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, March 28, 2002 11:44 AM
 To: Mris Orbidns; 'JBoss user list (E-mail)'
 Subject: RE: [JBoss-user] JBoss and standalone Tomcat 4.0.2
 
 
 
 You can start Catalina with the -nonaming option.
 
 Georg
 
 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]]On Behalf Of 
 Mris Orbidns
 Sent: Wednesday, March 27, 2002 10:35
 To: JBoss user list (E-mail)
 Subject: RE: [JBoss-user] JBoss and standalone Tomcat 4.0.2
 
 
 
  
  The problem is that standalone tomcat doesn't know how to 
 contact the 
  JBoss JNDI registry.  To do this, you can either put a 
  jndi.properties 
 
 I have jndi.properties in Web-inf\classes of my WAR file.
 I think maybe the problem is that Tomcat 4.x has it's own 
 JNDI service.
 And lookup can see only what's bound in Tomcat JNDI tree.
 
 
 Maris
 
  file in your path (I am not sure where, when using tomcat) 
 or you can 
  manually put the values from a jndi.properties file into a 
 Properties 
  object and pass it to the constructor for the InitialContext class.
 
 
 
  Mris Orbidns wrote:
  
  Is it possible to access JBoss from standalone Tomcat 4.0.2 ?
  
  My WEB app cannot find EJBs in JNDI anymore. 
  However it works from JBuilder ( it contains Tomcat 4.0.1 ).
  
  Name DataAccess is not bound in this context 
  javax.naming.NameNotFoundException: Name DataAccess is not bound
  in this Context
  
  I have put in /lib of my WEB app.
  
  jboss-client.jar
  jboss-j2ee.jar
  jbossmq-client.jar
  jbosssx-client.jar
  jndi.jar
  jnp-client.jar
  
  
  Maris
  
  ___
  JBoss-user mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/jboss-user
  
  
  -- 
  Andrew Scherpbier, CTO ([EMAIL PROTECTED])
  BlackBall Music (http://www.blackballmusic.com/)
  
  
  
  
 
 ___
 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 standalone Tomcat 4.0.2

2002-03-27 Thread Mris Orbidns


 
 The problem is that standalone tomcat doesn't know how to contact the 
 JBoss JNDI registry.  To do this, you can either put a 
 jndi.properties 

I have jndi.properties in Web-inf\classes of my WAR file.
I think maybe the problem is that Tomcat 4.x has it's own JNDI service.
And lookup can see only what's bound in Tomcat JNDI tree.


Maris

 file in your path (I am not sure where, when using tomcat) or you can 
 manually put the values from a jndi.properties file into a Properties 
 object and pass it to the constructor for the InitialContext class.



 Mris Orbidns wrote:
 
 Is it possible to access JBoss from standalone Tomcat 4.0.2 ?
 
 My WEB app cannot find EJBs in JNDI anymore. 
 However it works from JBuilder ( it contains Tomcat 4.0.1 ).
 
 Name DataAccess is not bound in this context 
 javax.naming.NameNotFoundException: Name DataAccess is not bound
 in this Context
 
 I have put in /lib of my WEB app.
 
 jboss-client.jar
 jboss-j2ee.jar
 jbossmq-client.jar
 jbosssx-client.jar
 jndi.jar
 jnp-client.jar
 
 
 Maris
 
 ___
 JBoss-user mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/jboss-user
 
 
 -- 
 Andrew Scherpbier, CTO ([EMAIL PROTECTED])
 BlackBall Music (http://www.blackballmusic.com/)
 
 
 
 

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



[JBoss-user] JBoss waits for std input after exception ( Sleeping JBoss)

2002-03-26 Thread Mris Orbidns


I use JBoss 2.4.4 and Tomcat under Win2k. 
Sometimes after an exception JBoss freezes until I switch it's 
console screen and press some key. 

I have not touched it's console nor selected something.
Could it be Log4J related problem ?

I have noticed that this happens more frequently with JBoss 3.0

Maris Orbidans

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



RE: [JBoss-user] JBoss waits for std input after exception ( Sleeping JBoss)

2002-03-26 Thread Mris Orbidns


You have already answered.

thanx
Maris


 -Original Message-
 From: Mris Orbidns 
 Sent: Tuesday, March 26, 2002 12:17 PM
 To: JBoss user list (E-mail)
 Subject: [JBoss-user] JBoss waits for std input after exception (
 Sleeping JBoss)
 
 
 
 I use JBoss 2.4.4 and Tomcat under Win2k. 
 Sometimes after an exception JBoss freezes until I switch it's 
 console screen and press some key. 
 
 I have not touched it's console nor selected something.
 Could it be Log4J related problem ?
 
 I have noticed that this happens more frequently with JBoss 3.0
 
 Maris Orbidans
 
 ___
 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] JBoss and standalone Tomcat 4.0.2

2002-03-26 Thread Mris Orbidns


Is it possible to access JBoss from standalone Tomcat 4.0.2 ?

My WEB app cannot find EJBs in JNDI anymore. 
However it works from JBuilder ( it contains Tomcat 4.0.1 ).

Name DataAccess is not bound in this context javax.naming.NameNotFoundException: Name 
DataAccess is not bound
in this Context

I have put in /lib of my WEB app.

jboss-client.jar
jboss-j2ee.jar
jbossmq-client.jar
jbosssx-client.jar
jndi.jar
jnp-client.jar


Maris

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



[JBoss-user] timeout of session beans

2002-03-21 Thread Mris Orbidns


How to set subj. ?   How long container waits before they are passivated
or deleted ?

JBoss 2.4.x

Maris Orbidans

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



[JBoss-user] local interfaces for JBoss 2.4.4

2002-03-21 Thread Mris Orbidns


thanx

Maris

BTW I have made a little example by myself of local 
interfaces for JBoss 2.4.4.

you can get it here

http://www.datapro.lv/~mariso/ejb/LocalInterfaces.zip

-Original Message-
From: Sternagel Annegret (PN-SYS/PE)
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 21, 2002 3:08 PM
To: Mris Orbidns; '[EMAIL PROTECTED]'
Subject: RE: [JBoss-user] timeout of session beans


look at the container-configuration (container-cache-conf) in 
\jboss\conf\default\standardjboss.xml
the defaults are 
max-bean-age 600 seconds (passivation)
max-bean-life 1800 seconds (removal)

To set these values you can either
change the values in standardjboss.xml for the relevant
container-configuration
or
add the configuration-name and the changed values to jboss.xml of Your
jar-file

Annegret

-Ursprngliche Nachricht-
Von: Maris Orbidans [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 21. Mrz 2002 12:58
An: JBoss user list (E-mail)
Betreff: [JBoss-user] timeout of session beans



How to set subj. ?   How long container waits before they are passivated
or deleted ?

JBoss 2.4.x

Maris Orbidans

___
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] no deployment descriptor found but file that could be ment as

2001-12-20 Thread Mris Orbidns




 It was directory name case 
problem. thanx for your help !

Maris

  -Original Message-From: Alice Ad 
  [mailto:[EMAIL PROTECTED]]Sent: Thursday, December 20, 2001 
  9:24 PMTo: Mâris Orbidâns; JBoss user list 
  (E-mail)Subject: Re: [JBoss-user] no deployment descriptor found 
  but file that could be ment as
  Make sure that ejb-jar.xml is in the right place. And note, the directory 
  name MUST be "META-INF" not "Meta-inf". Case matters. 
   Màris Orbidàns [EMAIL PROTECTED] wrote: 
  hellocould 
you tell me, please, what does this mean ?[AutoDeployer] 
Deploymentfailed:file:/C:/JBoss-4.4.3/deploy/CarmichaelBeans4JBoss.jar[AutoDeployer] 
org.jboss.deployment.J2eeDeploymentException: nodeployment descriptor 
found but file that could be ment as:Meta-inf/ejb-jar.xml - 
META-INF/ejb-jar.xml[AutoDeployer] 
atorg.jboss.deployment.Installer.determineType(Installer.java:399)[AutoDeployer] 
atorg.jboss.deployment.Installer.execute(Installer.java:154)[AutoDeployer] 
atorg.jboss.deployment.InstallerFactory.install(InstallerFactory.java:102)[AutoDeployer] 
atorg.jboss.deployment.J2eeDeployer.installApplication(J2eeDeployer.java:418)[AutoDeployer] 
atorg.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:203)[AutoDeployer] 
at java.lang.reflect.Method.invoke(Native Method)[AutoDe! ployer] 
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)[AutoDeployer] 
atcom.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)[AutoDeployer] 
atorg.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:379)[AutoDeployer] 
at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:217)[AutoDeployer] 
at 
java.lang.Thread.run(Thread.java:484)___JBoss-user 
mailing 
list[EMAIL PROTECTED]https://lists.sourceforge.net/lists/listinfo/jboss-user
  
  
  Do You Yahoo!?Check out Yahoo! 
  Shopping and Yahoo! 
  Auctions for all of your holiday gifts!