[JNDI/Naming/Network] - javax.naming.NameNotFoundException: comp not bound
by vivek_koul
i am using jboss4.0.1 on eclipse whenever i try to deploy on server the following error comes and the processing stops plz help in this regard
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)
Caused by: javax.naming.NameNotFoundException: comp not bound at org.jnp.server.NamingServer.getBinding (NamingServer.java:491)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:499)
at org.jnp.server.NamingServer.getObject(NamingServer.java:505)
at org.jnp.server.NamingServer.lookup(NamingServer.java:278)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:544)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:520)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at org.jboss.web.AbstractWebDeployer.parseWebAppDescriptors(AbstractWebDeployer.java:474)
at org.jboss.web.AbstractWebDeployer$DescriptorParser.parseWebAppDescriptors(AbstractWebDeployer.java:1079)
at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:130)
at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:85)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:374)
... 48 more
Regards
Vivek
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962708#3962708
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962708
18 years, 5 months
[Installation, Configuration & Deployment] - Send mail using MailService
by Xpoft
Need SMTP authorization. How can I configure it ?
When I try send mail from EJB:
2006-08-03 08:46:49,168 INFO [STDOUT] DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
2006-08-03 08:46:49,168 INFO [STDOUT] DEBUG SMTP: useEhlo true, useAuth false
2006-08-03 08:46:49,168 INFO [STDOUT] DEBUG SMTP: trying to connect to host "smtp.xxxxxxx", port 25
2006-08-03 08:46:49,371 INFO [STDOUT] 220 smtp-5.xxxxxxx ESMTP
2006-08-03 08:46:49,371 INFO [STDOUT] DEBUG SMTP: connected to host "smtp.masterhost.ru", port: 25
2006-08-03 08:46:49,371 INFO [STDOUT] EHLO notebook
2006-08-03 08:46:49,403 INFO [STDOUT] 250-smtp-5.xxxxxxx
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-PIPELINING
250 8BITMIME
2006-08-03 08:46:49,403 INFO [STDOUT] DEBUG SMTP: Found extension "AUTH", arg "LOGIN PLAIN"
2006-08-03 08:46:49,403 INFO [STDOUT] DEBUG SMTP: Found extension "AUTH=LOGIN", arg "PLAIN"
2006-08-03 08:46:49,403 INFO [STDOUT] DEBUG SMTP: Found extension "PIPELINING", arg ""
2006-08-03 08:46:49,403 INFO [STDOUT] DEBUG SMTP: Found extension "8BITMIME", arg ""
2006-08-03 08:46:49,403 INFO [STDOUT] DEBUG SMTP: use8bit false
2006-08-03 08:46:49,403 INFO [STDOUT] MAIL FROM:<xxxxxxx@xxxxxxx>
2006-08-03 08:46:49,434 INFO [STDOUT] 250 ok
2006-08-03 08:46:49,434 INFO [STDOUT] RCPT TO:<xxxxxxx@xxxxxxx>
2006-08-03 08:46:49,450 INFO [STDOUT] 553 authorization failed, relaying denied (#5.7.1)
2006-08-03 08:46:49,450 INFO [STDOUT] DEBUG SMTP: Invalid Addresses
2006-08-03 08:46:49,450 INFO [STDOUT] DEBUG SMTP: xxxxxxx@xxxxxxx
2006-08-03 08:46:49,450 INFO [STDOUT] DEBUG SMTP: Sending failed because of invalid destination addresses
2006-08-03 08:46:49,450 INFO [STDOUT] RSET
2006-08-03 08:46:49,481 INFO [STDOUT] 250 flushed
2006-08-03 08:46:49,481 INFO [STDOUT] QUIT
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962705#3962705
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962705
18 years, 5 months
[Beginners Corner] - javax.naming.NameNotFoundException: comp not bound
by vivek_koul
i am using jboss4.0.1 on eclipse whenever i try to deploy on server the following error comes and the processing stops plz help in this regard
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:194)
Caused by: javax.naming.NameNotFoundException: comp not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:491)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:499)
at org.jnp.server.NamingServer.getObject(NamingServer.java:505)
at org.jnp.server.NamingServer.lookup(NamingServer.java:278)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:544)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:520)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at org.jboss.web.AbstractWebDeployer.parseWebAppDescriptors(AbstractWebDeployer.java:474)
at org.jboss.web.AbstractWebDeployer$DescriptorParser.parseWebAppDescriptors(AbstractWebDeployer.java:1079)
at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:130)
at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:85)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:374)
... 48 more
Regards
Vivek
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962704#3962704
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962704
18 years, 5 months
[JBoss Eclipse IDE (users)] - Re: Entity Beans in JBoss IDE , Tutorial Needed
by tahirakramch
I m very much fix, I see many threads on the same topic, but couldnt findout single answer, I dont know y thr is lack of docs on CMP entitiy beans, as JBoss ppl designed session bean tutorial (FiboBean), y thy not do same work for entity beans,,,,,
PLZ PLZ if anyone have the solution do reply
thx
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962703#3962703
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962703
18 years, 5 months
[Security & JAAS/JBoss] - Two questions about DatabaseServerLoginModule
by EricYP
I have two questions about DatabaseServerLoginModule :
1. After successfully authenticated by using DatabaseServerLoginModule, How can I get the current authenticated user in my web application (or servlet),just like LoginContext.getSubject()?
2. about principalsQuery: The prepared statement query must equivalent to: ?select Password from Principals where PrincipalID=??. Can I specify more information, just like ?select Password,username,DriverCardId from Principals where PrincipalID=??
My logon.jsp just as the following:
<fmt:message key="TitleLogon"/>
<%@ include file="/template/banner.jsp" %>
<h3><fmt:message key="Logon"/> <fmt:message key="Submit"/>.</h3>
<form action="j_security_check" method=post>
<fmt:message key="CustomerId"/>
<fmt:message key="Password"/>
<input type="submit" value="<fmt:message key="Submit"/>">
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962701#3962701
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962701
18 years, 5 months