[JBoss-user] [Beginners Corner] - Re: Sending e-mail from bean

2005-08-23 Thread Cinimod
but i want to set the serverproperties as servername and the password/username dynamically. If the user is connecting he provides these parameters. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3891195#3891195 Reply to the post : http://www.jboss.org/index.h

[JBoss-user] [Beginners Corner] - Sending e-mail from bean

2005-08-22 Thread Cinimod
Hi, within my stateful session bean i am using the following method, for sending an e-mail: | private void sendMail(String subject, String receiver, String sender, | String content, String mailbox, String password, | String

[JBoss-user] [Messaging, JMS & JBossMQ] - [CashedConnectionManager] Closing connection for you...

2005-08-12 Thread Cinimod
Hi, i am sending messages to a messagedriven bean that delegates them to a stateful session bean, that responds to the client by sending messages to the specific topic the client is also "connected" to. My messages are received correctly by the client but the jboss log tells me | 11:47:07,

[JBoss-user] [Messaging, JMS & JBossMQ] - No message-driven destination given

2005-08-08 Thread Cinimod
Hi, when i deploy my bean the log tells me the following: [JMSContainerInvoker] No message-driven-destination given; using; guessing type. In my ejb.jar i use version 2.1 and not 2.0, where it is necessary to set this entry. Why does jboss 4.0.0 give me this output? Thanks for answers! View t

[JBoss-user] [Messaging, JMS & JBossMQ] - Why do messages stay in the Queue?

2005-08-08 Thread Cinimod
Hi, i have a problem when sending a message to a message driven bean. The onMessage(Message m) method is invoked and i can process the message, but the message stays in the queue - or topic. So, if the MDBean checks the queue for new messages, there will always exist - at least - one. How can i

[JBoss-user] [EJB/JBoss] - Re: why is my LocalBean not bound?

2005-07-20 Thread Cinimod
it works...i typed WiseSessionLocalHome instead of WiseSessionHomeLocal. Thanks for your good advices! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885701#3885701 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885701

[JBoss-user] [EJB/JBoss] - Re: why is my LocalBean not bound?

2005-07-20 Thread Cinimod
ok, here are all the relevant deployment descriptors - updated: part of ejb-jar.xml | |WiseSessionBean |beans.session.WiseSessionHomeLocal |beans.session.WiseSessionLocal |beans.session.WiseSessionBean |Stateful |Container | | | jboss.xml:

[JBoss-user] [EJB/JBoss] - Re: why is my LocalBean not bound?

2005-07-20 Thread Cinimod
is the name of my jar where i put the bean classes in, of importance? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885694#3885694 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885694 -

[JBoss-user] [EJB/JBoss] - Error in accessing application metadata

2005-07-19 Thread Cinimod
Hi, Deploying my application i receive the following error: javax.management.InstanceAlreadyExistsException: jboss.j2ee:service=EARDeployment,url='app.ear' already registered. If i do a complete shut down, i can deploy it when restarting. Just deleting the file and deploy it again, while the s

[JBoss-user] [EJB/JBoss] - Re: why is my LocalBean not bound?

2005-07-19 Thread Cinimod
ok, i change the following: now: | WiseSessionBean | WiseSessionHomeLocal | i had it just the other way round... also i added this to the jboss-web.xml | | WiseSessionBean | WiseSessionHomeLocal | WiseSessionBean | | deployment works, but when i run the a

[JBoss-user] [EJB/JBoss] - Re: why is my LocalBean not bound?

2005-07-19 Thread Cinimod
the .jar and .war are both contained in the same ear file. Any ideas how to solve this? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885553#3885553 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885553

[JBoss-user] [EJB/JBoss] - Re: why is my LocalBean not bound?

2005-07-18 Thread Cinimod
ok, i did add the following in the web.xml: | |WiseSessionHomeLocal |Session |beans.session.WiseSessionHomeLocal |beans.session.WiseSessionLocal |WiseSessionBean | But when i deploy the log tells me a NamingException: ejb-local-ref: "WiseSessionBean", with w

[JBoss-user] [EJB/JBoss] - why is my LocalBean not bound?

2005-07-18 Thread Cinimod
Hi, i have a problem working with a LocalBean that i call from a servlet. | jndi = new InitialContext(); | WiseSessionHomeLocal localHome = (WiseSessionHomeLocal) jndi.lookup("java:comp/env/WiseSessionHomeLocal"); //load the bean | The log says that the name of my bean is not bound -

[JBoss-user] [Beginners Corner] - NoClassDefFoundError?

2005-07-06 Thread Cinimod
Hi, everything worked fine, but i had to re-install jboss and the jdk and now there is a problem occuring, when i am running my application: java.lang.NoClassDefFoundError org.apache.avalon.framework.configuration.DefaultConfigurationBuilder i am using jboss version 4.0.2 and jdk 5 update 3 a

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Sending a simple message

2005-06-28 Thread Cinimod
ok, problem solved. just put the entries for the topic(factory) wrong. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882949#3882949 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882949 --

[JBoss-user] [Messaging, JMS & JBossMQ] - Sending a simple message

2005-06-27 Thread Cinimod
Hi, within my session bean i want to lookup a ConnectionFactory: | jndi = new InitialContext(); | topicFactory = (TopicConnectionFactory) jndi.lookup("java:comp/env/topic/MailTopicFactory"); | but the following exception is thrown: 15:13:25,932 INFO [STDOUT] javax.naming.NameNotFoun

[JBoss-user] [Beginners Corner] - Class not found exception?

2005-06-16 Thread Cinimod
Hi, the following output is generated when starting up jboss: 11:44:50,108 INFO [Catalina] Server startup in 70 ms 11:44:50,178 ERROR [WebModule] Starting failed jboss.web.deployment:war=invoker.war,id=-689487939 org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable

[JBoss-user] [Beginners Corner] - again a hello World servlet

2005-05-20 Thread Cinimod
hi, i have a helloWorldServlet and it works fine in another application server. The only problem that i have is that the jboss-web.xml seems to be wrong: | | http://www.jboss.org/j2ee/dtd/jboss-web.dtd";> | | | /helloWorldServlet | | i call it up localhost:8080/helloWorldS

[JBoss-user] [Installation & Configuration] - Re: Error when starting up

2005-05-19 Thread Cinimod
ok, i had to press strg+c to stop the server, so that i can get the early messages, so i donÂt know if the ones listed here e.g. "Shutting down" are caused of this, but i do think sohere the early - strange - outputs follow: [Server] Core system initialized [Server} JBoss SHUTDOWN: Undeployin

[JBoss-user] [Installation & Configuration] - Error when starting up

2005-05-19 Thread Cinimod
Hi, itÂs seems really strange to, since everything worked fine, since i changed some directory structures...e.g. i put the jdk somewhere else - but also corrected the JAVA_HOME settings. now, when i start up, a lot of exceptions (also class not Found Exceptions) occur. Well, i just unzipped