[b]EJB unable to find my Home interface-javax.naming.NameNotFoundException[
I am pretty new to J2ee so help me out with these basics
I had deployed my application at college which worked exactly but when I deployed it at my home, it got deployed well but its returning a error message when create is called. Also i had used mssql for jdbc connection but haven't set the j2ee_classpath, pls help me how to find jdbc drivers .jar file. Does j2ee_classpath has anything to do with my error.All other paths are intact.
Help me soon, i have to hurry up my proj...
Advanced Thanks To Your Good Heart.
- Suresh Kumar.R
coding snippet -->****Down
public AccountBean()
try
Context ic=new InitialContext();
java.lang.Object objref=ic.lookup("java:comp/env/ejb/Account");
accountHome=(AcHome)PortableRemoteObject.narrow(objref,AcHome.class);
catch(Exception re)
System.err.println("Couldn't locate Account Home");
re.printStackTrace();
reset();
********Error :********
Couldn't locate Account Home
javax.naming.NameNotFoundException: Account not found
<<no stack trace available>>ack trace available>>
yes Everything you say is right in my prog. but it still does n't works.
i haven't set my j2ee_classpath & does it have anything to do with my error.
if so, where to find the drivers(MS-SQL) .jar file.
Thank You for Your reply
-Suresh Kumar.R
Similar Messages
-
Unable to find the Message Interface Receiver Determination
Hi Everyone,
I am unable to find the Message Interface Receiver Determination in the SAP BASIS 7.0 --> http://sap.com/xi/XI/System. in IR.
I am using P.I 7.0 SP 15
Could anyone let me know what could be the problem.
Regards,
VarunHi Sridhar,
I cant find the Message Interface Receiver Determination in IR under the standard SWCV SAP BASIS 7.0 and under the namespace http://sap.com/xi/XI/System. in IR.This Message Interface will be useful while configuring in enhanced Receiver Determination.
http://help.sap.com/saphelp_nw2004s/helpdata/EN/84/e8763c997fda50e10000000a11405a/frameset.htm
Regards,
Varun -
Unable to find an inbound interface
Hi masters,
I have an error in sxmb_moni. I get 'Unable to find an inbound interface' everytime i click on the red flag. How can I remedy this problem. thanks!!!>
Ignatius - Xavier Bazar wrote:
> Hi masters,
> I have an error in sxmb_moni. I get 'Unable to find an inbound interface' everytime i click on the red flag. How can I remedy this problem. thanks!!!
Hi,
1. Check the Inbound message payload in sxmb_moni.
2. If your payload is invalid, it wont be displayed in moni. So check the msg content in RWB- Message Monitoring.
3. Let me know if you are using condition in the Reciever Determination.
Regards,
Chandra -
Javax.naming.NameNotFoundException: Unable to resolve ejb-link.
Env: JDK 1.3.1_08
Weblogic: 7.0
We are attempting to use EJB's (session) and have it all localized in a jar.
The Business and Custom Logic is all compiled to WEB-INF/classes. All the jars including the EJB jar is under WEB-INF/lib.
On Startup Weblogic throws the error message
weblogic.management.ApplicationException: activate failed for application
Module Name: application, Error: weblogic.j2ee.DeploymentException: Could not setup environment - with nested exception:
[javax.naming.NameNotFoundException: Unable to resolve ejb-link. Appejb.jar#AppServerBean is not in the context. The context includes the following link bindings: {} Make sure the link reference is relative to the URI of the referencing module.]
I have tried using the ../ notation before the Appejb.jar in the web.xml and what not, but that does not work either.
I have sucesfully deployed the EJB jar through the weblogic console.
Any Clues or suggestions will be most appreciated..
thanks
-aCreate a ear application from the ejb jar and web application war.
Copy ear application to the applications directory.
In the ejb-link element in web.xml specify the relative path to the ejb jar.
<ejb-link>../Appejb.jar</ejb-link>
thanks,
Deepak
Akshay <[email protected]> wrote:
Env: JDK 1.3.1_08
Weblogic: 7.0
We are attempting to use EJB's (session) and have it all localized in
a jar.
The Business and Custom Logic is all compiled to WEB-INF/classes. All
the jars including the EJB jar is under WEB-INF/lib.
On Startup Weblogic throws the error message
weblogic.management.ApplicationException: activate failed for application
Module Name: application, Error: weblogic.j2ee.DeploymentException: Could
not setup environment - with nested exception:
[javax.naming.NameNotFoundException: Unable to resolve ejb-link. Appejb.jar#AppServerBean
is not in the context. The context includes the following link bindings:
{} Make sure the link reference is relative to the URI of the referencing
module.]
I have tried using the ../ notation before the Appejb.jar in the web.xml
and what not, but that does not work either.
I have sucesfully deployed the EJB jar through the weblogic console.
Any Clues or suggestions will be most appreciated..
thanks
-a -
Javax.naming.NameNotFoundException: error in whil calling EJB Bean
Dear friends,
I have created (Bean Managed Entity) a remote,home and bean objects for adding a country in a database. When i convert
into jar and and deploy means, its working fine. But if i put into a package means it does work
and raise "javax.naming.NameNotFoundException" error.
i keep my files as following folder structure
d:\siva\projects\ShopCart\
(under this )
CountryMas.java
CountryHome.java
CountryBean.java
CountryMasPK.java
<meta-inf>
ejb-jar.xml
weblogic-ejb-jar.xml
and deployed in weblogic 6.1 using console.
i have copied the source code here with
Remote interface
package ShopCart;
import javax.ejb.*;
import javax.rmi.*;
public interface CountryMas extends EJBObject {
Home Interface
package ShopCart;
import javax.ejb.*;
import java.rmi.*;
public interface CountryHome extends EJBHome {
public CountryMas create(String Cname) throws CreateException,RemoteException;
public CountryMas findByPrimaryKey(CountryMasPK pk) throws
FinderException,RemoteException;
BEAN OBJECT
package ShopCart;
import java.io.*;
import java.util.*;
import java.sql.*;
import javax.sql.*;
import javax.ejb.*;
import javax.naming.*;
public class CountryBean implements EntityBean {
private EntityContext ctx;
private int CountryId;
private String CountryName;
public void setEntityContext(EntityContext ctx){
this.ctx = ctx;
public void unsetEntityContext(){
this.ctx = null;
public void ejbActivate(){
public void ejbPassivate(){
public void ejbLoad(){
public void ejbStore(){
public void ejbRemove(){
Connection con = null;
PreparedStatement ps = null ;
try {
con = getConnection();
ps = con.prepareStatement("Delete from CountryMas where id=?");
ps.setInt(1,CountryId);
if (ps.executeUpdate() !=1) {
String Error = "JDBC did not create any row";
throw new CreateException (Error);
}catch (Exception e){
System.out.println (e);
public CountryMasPK ejbCreate(String Cname) throws CreateException {
this.CountryName =Cname;
Connection con = null;
PreparedStatement ps = null ;
try {
con = getConnection();
ps = con.prepareStatement("insert into CountryMas values(?)");
ps.setString (1,CountryName);
if (ps.executeUpdate() !=1) {
String Error = "JDBC did not delete any row";
throw new CreateException (Error);
con.commit();
}catch (Exception e){
System.out.println (e);
int PKid=0;
ResultSet rs;
PreparedStatement ps1 = null;
try {
ps1 = con.prepareStatement("select max(id) as Mid from CountryMas");
rs = ps1.executeQuery();
PKid = rs.getInt("mid");
}catch(Exception e){
System.out.println (e);
return new CountryMasPK(PKid);
public void ejbPostCreate(String Cname) throws CreateException {
private Connection getConnection()throws SQLException {
InitialContext initCtx = null;
DataSource ds = null;
try{
initCtx = new InitialContext ();
ds = (javax.sql.DataSource)
initCtx.lookup("java:comp/env/jdbc/ShopCartPool");
}catch(Exception e){
System.out.println(e);
return ds.getConnection();
public CountryMasPK ejbFindByPrimaryKey(CountryMasPK pk)throws ObjectNotFoundException {
Connection con= null;
PreparedStatement ps = null ;
try{
con = getConnection();
ps = con.prepareStatement("select cname from CountryMas where id=?");
ps.setInt(1,pk.ID);
ps.executeQuery();
ResultSet rs= ps.getResultSet();
if (rs.next()){
this.CountryName = rs.getString(1);
}catch(Exception e){
System.out.println(e);
//return new CountryMasPK(pk.i);
return pk;
PRIMARY KEY OBJECT
package ShopCart;
import java.io.Serializable;
public class CountryMasPK implements java.io.Serializable {
public int ID;
public CountryMasPK(int ID){
this.ID =ID;
public CountryMasPK(){
public CountryMasPK(CountryMasPK pk){
this.ID = pk.ID;
public String toString(){
return new Integer(ID).toString();
public int hashCode(){
return new Integer(ID).hashCode();
public boolean equals(Object countrymas){
//return ((CountryMasPK)countrymas).ID.equals(ID);
return true;
EJB-JAR.XML
<?xml version="1.0"?>
<!DOCTYPE ejb-jar PUBLIC
'-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN'
'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>
<ejb-jar>
<enterprise-beans>
<entity>
<ejb-name>ShopCart</ejb-name>
<home>ShopCart.CountryHome</home>
<remote>ShopCart.CountryMas</remote>
<ejb-class>ShopCart.CountryBean</ejb-class>
<persistence-type>Bean</persistence-type>
<prim-key-class>ShopCart.CountryMasPK</prim-key-class>
<reentrant>False</reentrant>
<resource-ref>
<res-ref-name>jdbc/ShopCartPool</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</entity>
</enterprise-beans>
<assembly-descriptor>
<container-transaction>
<method>
<ejb-name>ShopCart</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>
WEBLOGIC-EJB-JAR.XML
<?xml version="1.0"?>
<!DOCTYPE weblogic-ejb-jar PUBLIC
'-//BEA Systems, Inc.//DTD WebLogic 6.0.0 EJB//EN'
'http://www.bea.com/servers/wls600/dtd/weblogic-ejb-jar.dtd'>
<weblogic-ejb-jar>
<weblogic-enterprise-bean>
<ejb-name>ShopCart</ejb-name>
<reference-descriptor>
<resource-description>
<res-ref-name>jdbc/ShopCartPool</res-ref-name>
<jndi-name>ShopCartDataSource</jndi-name>
</resource-description>
</reference-descriptor>
<jndi-name>Country</jndi-name>
</weblogic-enterprise-bean>
</weblogic-ejb-jar>
i converted jar file like this
d:\siva\projects\> set claapath=%classpath%;.;
cd d:\siva\projects\ShopCart > javac *.java
cd d:\siva\projects\ShopCart > jar -cvf Sh.jar *
cd..
d:\siva\projects> java weblogic.ejbc ShopCart\Sh.jar ShopCart\Shop.jar
and deployed using weblogic 6.1 console
and client code as follows
Client.java
import java.io.*;
import javax.naming.*;
import javax.ejb.*;
import javax.rmi.*;
import java.util.*;
import ShopCart.*;
class Client {
public static void main(String args[]){
Context ctx=null;
try{
Properties pr = new Properties();
pr.put(Context.INITIAL_CONTEXT_FACTORY,
"weblogic.jndi.WLInitialContextFactory");
pr.put(Context.PROVIDER_URL,"t3://localhost:7001");
ctx= new InitialContext(pr);
Object obj = ctx.lookup("Country");
CountryHome cm = (CountryHome)
javax.rmi.PortableRemoteObject.narrow(obj,CountryHome.class);
cm.create(args[0]);
System.out.println ("Creating Country " + args[0] +" ..... [Done]");
}catch (Exception e){
System.out.println(e);
when i run this file it raise the error
D:\Siva\Projects>java Client.java
Exception in thread "main" java.lang.NoClassDefFoundError: Client/java
D:\Siva\Projects>java Client
javax.naming.NameNotFoundException: Unable to resolve Country. Resolved: '' Unre
solved:'Country' ; remaining name ''
D:\Siva\Projects>
This is the error message. Please observe it and do let me know what would be the error. There
would be small configuration error. But i couldn't locate it . plz help me somebody.
Thanx & Regards,
Siva.you need to use the name java:comp/env/Country in the client.
and the client deployment descriptor will need an ejb-ref entry:
<ejb-ref>
<ejb-ref-name>
Country
</ejb-ref-name>
<ejb-ref-type>
Session
</ejb-ref-type>
<home>
ShopCart.CountryHome
</home>
<remote>
ShopCart.CountryMas
</remote>
</ejb-ref>toby -
Hi
I use JDev Studio 10.1.3.40.66 and EJB 3.0 with annotations. I am working in the same Project (Model) with two stateless beans and some entities. In the same Project I have one test-client which implemented the lookup.
Here a snippet of the EJB:
@Stateless( name = "MyDao" )
public class MyDaoImpl implements IMyDao {
... }Here piece of code out of test-client:
final Context context = getInitialContext();
IMyDao iMyDao = (IMyDao)context.lookup("MyDao");Now everything worked fine and nobody changed anything in the project. So it may be that after a "power off" and a restart I couldn't find my EJBs with the lookup?!
Here is what I get from OC4J log:
07/04/02 10:32:09 FEIN: TxSecIORInterceptor.addCSIv2Components Unable to obtain mutual auth port
07/04/02 10:32:09 FEIN: TxSecIORInterceptor.addCSIv2Components UnknownType exceptioncom.sun.corba.ee.spi.legacy.interceptor.UnknownType
(Here is some more stack trace!)
FEIN: [current-workspace-app:Azima_AzimaModel_0] Initializing EntityManagerFactory named Azima-local with persistence provider oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider.
07/04/02 10:32:13 WARNUNG: Application.setConfig Application: current-workspace-app is in failed state as initialization failed.
java.lang.LinkageError: loader constraints violated when linking javax/persistence/spi/PersistenceUnitInfo class
Checking that EJBs were successfully deployed in embedded OC4J...
All EJBs are successfully deployed.From my test-client log I get:
javax.naming.NameNotFoundException: MyDao not found
at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:52)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at com.promatis.azima.model.test.Client.main(Client.java:390)
...So I couldn't test my EJB anymore. If you have some suggestions or if you need more information about my project just post...
I need some help with this problem!
ThanksI work now more that two days on this error!!!
-> I remade my complete jdev project, it did not work!
-> I deleted the jdev/system/j2ee/oc4j/workspace dir
-> I search for some .lock files
-> and many more tries!!! But without success...
Is there a way to reset the Embedded OC4J? -
Javax.naming.NameNotFoundException: Unable to resolve 'cgDataSource'
Hello,
I'm getting the following error when I try to test my web service. I will really appreciate your help.
Thanks
Godwin
=========error message=====weblogic platform 8.1=====
Error: An unexpected exception occurred while attempting to locate the
run-time information for this Web Service. Error:
javax.ejb.EJBException:nested exception is:
javax.naming.NameNotFoundException: Unable to resolve 'cgDataSource'
Resolved ; remaining name 'cgDataSource'
=======================================================
===========code========================================
public class Hello implements com.bea.jws.WebService
public Callback callback;
static final long serialVersionUID = 1L;
* @common:operation
public String hello_sync(String name)
return "Hello, " + name + "!";
* @common:operation
* @jws:conversation phase="start"
* @common:message-buffer enable="true"
public void hello_async(String name)
String greeting;
greeting = "Hello, " + name + "!";
this.callback.hello_callback(greeting);
public interface Callback extends com.bea.control.ServiceControl
* @jws:conversation phase="finish"
* @common:message-buffer enable="true"
void hello_callback(String message);
}Make sure you have the datasource set up through the console (ie it is the database datasource) and deployed to the server you are deploying your webservice to.
-
Exception in thread "main" javax.naming.NameNotFoundException: Unable to re
Hi friends,
I am running simple Client program of JMS to produce text message. I have JMSServer under JMS tab in weblogic home site.my desnation is topic its name is topic2.Following Error occurs
C:\j2sdk1.4.2_12\bin>java Client1
Exception in thread "main" javax.naming.NameNotFoundException: Unable to resolve
'topic1' Resolved [Root exception is javax.naming.NameNotFoundException: Unabl
e to resolve 'topic1' Resolved ]; remaining name 'topic1'
at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.j
ava:108)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
ef.java:284)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteR
ef.java:244)
at weblogic.jndi.internal.ServerNamingNode_813_WLStub.lookup(Unknown Sou
rce)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:369)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:357)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at Client1.main(Client1.java:21)
Caused by: javax.naming.NameNotFoundException: Unable to resolve 'topic1' Resolv
ed
at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(Basic
NamingNode.java:897)
at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.jav
a:230)
at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.j
ava:154)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:18
8)
at weblogic.jndi.internal.RootNamingNode_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerR
ef.java:108)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
144)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
a:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
C:\j2sdk1.4.2_12\bin>I am no expert to this but, I have gotten that error when I try to subscribe to a topic that does not exist.
Make sure your server is running and that the topic exists. -
Hi,
I am not able to resolve the JNDI name - ATGProductionDS
I have used CIM to create this and i am using ATG10.2 with MYSQL as my database and weblogic.
/atg/epub/file/ConfigFileSystem journaling file system started: vfs=file:/C:
/Stixs/ATG/ATG10.2/home/PublishingAgent/deploymentconfig/live/config/ journalDirectory=C:\Stixs\ATG\ATG10.2\home\PublishingAgent\deploymentc
onfig\data\config
**** Error Fri Dec 27 20:58:35 EST 2013 1388195915495 /atg/dynamo/service/jdbc/DirectJTDataSource Failed to resolve ATGProduct
ionDS javax.naming.NameNotFoundException: Unable to resolve 'ATGProductionDS'. Resolved ''; remaining name 'ATGProductionDS'
**** Error Fri Dec 27 20:58:35 EST 2013 1388195915495 /atg/dynamo/service/jdbc/DirectJTDataSource at weblogic.jndi.int
ernal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
**** Error Fri Dec 27 20:58:35 EST 2013 1388195915495 /atg/dynamo/service/jdbc/DirectJTDataSource at weblogic.jndi.int
Entries from Weblogic console -datasources
ATGBatchDS
Generic
ATGBatchDS
ATGProductionDS
Generic
ATGProductionDS
atg_production_lockserver, atg_publishing_lockserver
ATGPublishingDS
Generic
ATGPublishingDS
atg_publishing_lockserver
Please provide assistance.Hi,
if you click the "Control" tab for the ATGProductionDS datasource in the Weblogic console does it show the State as running?
Does the "Monitoring" tab for the datasource show the State as running? If you click on the "Testing" tab can you test the datasource successfully?
If you inspect the Server using the Weblogic console there is a link "View JNDI Tree" If you click the link do you see the datasource listed in the left pane?
Do you see any errors for the ATGProductionDS in the Weblogic server log and out log files? -
Hi,
I used wls 6.1 sp2 and the sql2000 I wonder any one have the following problem
before.
in the weblogic-ejb-jar.xml I defined tthe <local-jndi name>customer.LocalCustomerHome</local-jndi-name>
and in the jsp page I lookup by InitialContext ic = new InitialContext(); // System.out.println("Init
context"); System.out.println(ic.toString()); Object o = ic.lookup("customer.LocalCustomerHome");
I am using global namespace(customer.LocalCustomerHome) rather than the local
java:comp/env/ejb namespace in here.
when I try to run the jsp file to create customer I got javax.naming.NameNotFoundException:
Unable to resolve comp/env/CustomerBeanRef I changed the comp/env/CustomerBeanRef
in the lookup code of the jsp to customer.LocalCustomerHome that is defined in
weblogic-ejb-jar.xml but it still refer to comp/env/CustomerBeanRef.
I stop the wlserver and deleted all __generate.class from the jsp then restart
the wlserver it still the same.
Thanks
-------part of weblogic-ejb-jar.xml -----------
<weblogic-enterprise-bean> <ejb-name>CustomerBean</ejb-name> <entity-descriptor>
<persistence> <persistence-type> <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
<type-version>6.0</type-version> <type-storage>META-INF/weblogic-cmp-rdbms-jar.xml</type-storage>
</persistence-type> <persistence-use> <type-identifier>WebLogic_CMP_RDBMS</type-identifier>
<type-version>6.0</type-version> </persistence-use>
</persistence>
</entity-descriptor>
<local-jndi-name>customer.LocalCustomerHome</local-jndi-name> </weblogic-enterprise-bean>
-------------------end of weblogic-ejb-jar.xml ---------------
[createCustomer.jsp]Hi,
set this under startup script at java option.
-Dweblogic.jndi.retainenvironment=true
and restart the server again.
Regards,
Kal -
Hi,
I have written a simple client to receive messages from a 'jppsacntrQ'
queue,
The jms server which keeps this queue is already targetted at the
server I am running.
I have closed my command prompt and restarted WLS a few times but I am
still getting this error.
Has anyone else encountered the same problem?
Appreciate the help ...
Victor
c:\program files\intellij-idea-3.0.4\jre\bin\java.exe -Xmx128M
-Djava.home=C:\Program Files\IntelliJ-IDEA-3.0.4\jre -classpath
c:\program files\intellij-idea-3.0.4\jre\lib\tools.jar;C:\Program
Files\IntelliJ-IDEA-3.0.4\lib\idea_rt.jar;C:\Program
Files\IntelliJ-IDEA-3.0.4\lib\ant.jar;C:\Program
Files\IntelliJ-IDEA-3.0.4\lib\optional.jar;C:\Program
Files\IntelliJ-IDEA-3.0.4\lib\\rt\xerces1.jar
com.intellij.rt.ant.execution.AntMain -logger
com.intellij.rt.ant.execution.IdeaAntLogger -verbose
-Dbuild.compiler.emacs=true -buildfile
C:\java-projects\portnet-jp\build.xml test-polling-subscriber
build.xml
test-polling-subscriber
java
Running Start Polling Task ...
DEBUG [main]: subscriber.propertyFile.path=C:/java-projects/portnet-jp/resources/configuration/JPContainer.cfg
DEBUG [main]: java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory
DEBUG [main]: java.naming.provider.url=t3://localhost:7001
DEBUG [main]: java.naming.referral=throw
DEBUG [main]: java.naming.security.authentication=simple
DEBUG [main]: java.naming.security.principal=null
DEBUG [main]: java.naming.security.credentials=null
DEBUG [main]: sleepTimePerCycle=15000
DEBUG [main]: queueConnectionFactoryName=pnsgQCF
DEBUG [main]: incomingQueueName=jppsacntrQ
DEBUG [main]: incomingFileStorePath=C:/java-projects/portnet-jp/resources/data/JP/Container/IN
DEBUG [main]: timestampFormat=yyyyMMddHHmm
INFO [main]: Setting Up Queue and QueueConnectionFactory ...
DEBUG [main]: Looking up QueueConnectionFactory: pnsgQCF
DEBUG [main]: Looking up Incoming Queue: jppsacntrQ
javax.naming.NameNotFoundException: Unable to resolve 'jppsacntrQ'
Resolved: '' Unresolved:'jppsacntrQ' ; remaining name 'jppsacntrQ'
at weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:109)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:262)
at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:229)
at weblogic.jndi.internal.ServerNamingNode_WLStub.lookup(Unknown
Source)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:337)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:332)
at javax.naming.InitialContext.lookup(Unknown Source)
at pow.business.JP.Container.JPCntrSubscriber.init(JPCntrSubscriber.java:162)
at pow.business.JP.Container.JPCntrSubscriber.<init>(JPCntrSubscriber.java:58)
at pow.business.JP.Container.Main.start(Main.java:183)
at pow.business.JP.Container.Main.main(Main.java:289)
Please check whether 'jndi.properties' is available in the CLASSPATH
and whether it has been configured properly.
Java Result: -1
Build completed with 1 error and 13 warnings. Time: 13 s
Looks OK - did you check your log file for error messages?
Post the log file if you want me take a look.
[email protected] (Kok Liang) wrote:
>Here it is:
>
><?xml version="1.0" encoding="UTF-8"?>
><!--Last updated on: Sat May 24 01:50:49 SGT 2003, If your domain is
>active, please do not edit the config.xml file. Any changes made to
>that file while the domain is active will not have any effect on the
>domain's configuration and are likely to be lost. If your domain is
>inactive, you may edit this file with an XML editor. If you do so,
>please refer to the BEA Weblogic Server Configuration Reference
>documentation available from
>http://edocs.bea.com/wls/docs70/config_xml. In general, we recommend
>that changes to your configuration file be made through the
>Administration Console.-->
><Domain ConfigurationVersion="7.0.1.0" Name="portnet-domain">
> <Application Deployed="true" Name="DefaultWebApp"
>Path=".\applications" StagedTargets="" TwoPhase="false">
> <WebAppComponent Name="DefaultWebApp" Targets="portnet-server"
>URI="DefaultWebApp"/>
> </Application>
> <Application Deployed="true" Name="certificate" Path=".\applications"
>StagedTargets="" TwoPhase="false">
> <WebAppComponent Name="certificate" Targets="portnet-server"
>URI="certificate.war"/>
> </Application>
> <Application Deployed="true" Name="jive3"
>Path="C:\java-libraries\jive_forums_pro_3_0_9" TwoPhase="true">
> <WebAppComponent Name="jive3" Targets="portnet-server"
>URI="jive3.war"/>
> </Application>
> <ApplicationManager Name="portnet-domain"/>
> <EmbeddedLDAP Credential="{3DES}U0sIdpap3Jn35/agldr/nk4n9q5Vo449V4F0z3bLPsM="
>Name="portnet-domain"/>
> <FileRealm Name="wl_default_file_realm"/>
> <JMSConnectionFactory DefaultDeliveryMode="Persistent"
>JNDIName="pnsgQCF" Name="pnsgQCF" Targets="portnet-server"/>
> <JMSDestinationKey Name="portnet-jms-dest-key"/>
> <JMSFileStore Directory="c:\bea\user_projects\portnet-domain\logs\file-store"
>Name="portnet-jms-file-store"/>
> <JMSServer Name="portnet-jms-server" Store="portnet-jms-file-store"
>Targets="portnet-server">
> <JMSQueue BytesPagingEnabled="false"
>DeliveryModeOverride="Persistent"
>DestinationKeys="portnet-jms-dest-key" JNDIName="jppsacntrQ"
>MessagesPagingEnabled="false" Name="jppsacntrQ" StoreEnabled="true"/>
> <JMSQueue BytesPagingEnabled="false"
>DeliveryModeOverride="Persistent"
>DestinationKeys="portnet-jms-dest-key" JNDIName="psajpcntrQ"
>MessagesPagingEnabled="false" Name="psajpcntrQ" StoreEnabled="true"/>
> </JMSServer>
> <JTA Name="portnet-domain"/>
> <Log FileName=".\wl-domain.log" Name="portnet-domain"/>
> <PasswordPolicy Name="wl_default_password_policy"/>
> <Realm FileRealm="wl_default_file_realm" Name="wl_default_realm"/>
> <SNMPAgent Name="portnet-domain"/>
> <Security GuestDisabled="false" Name="portnet-domain"
>PasswordPolicy="wl_default_password_policy" Realm="wl_default_realm"
>RealmSetup="true"/>
> <SecurityConfiguration
>Credential="{3DES}iE0EWRYurlOnPzbJk1HTM6ajARYfmNrCU4UL/1iAQRJOQGyzRoBdl9bhnBu6JzIucTmQclA22XOW7WwQpMguyQqbLDIGr1VA"
>Name="portnet-domain"/>
> <Server ListenPort="7001" Name="portnet-server"
>NativeIOEnabled="true" ServerVersion="7.0.1.0"
>StdoutDebugEnabled="true">
> <COM Name="portnet-server"/>
> <ExecuteQueue Name="default" ThreadCount="15"/>
> <IIOP Name="portnet-server"/>
> <JTAMigratableTarget Cluster="" Name="portnet-server"
>UserPreferredServer="portnet-server"/>
> <JTARecoveryService Name="portnet-server"/>
> <KernelDebug Name="portnet-server"/>
> <Log FileName="portnet-server\portnet-server.log"
>Name="portnet-server"/>
> <SSL Enabled="true" HostnameVerificationIgnored="true"
>ListenPort="7002" Name="portnet-server"
>ServerCertificateFileName="democert.pem"
>ServerPrivateKeyAlias="demokey"
>ServerPrivateKeyPassPhrase="{3DES}F9QhYhhBa4InPlBKebOlAw=="/>
> <ServerDebug Name="portnet-server"/>
> <ServerStart Name="portnet-server"/>
> <WebServer DefaultWebApp="DefaultWebApp"
>LogFileName="portnet-server\access.log" LoggingEnabled="true"
>Name="portnet-server"/>
> </Server>
></Domain>
>
>
>Tom Barnes <[email protected]> wrote in message news:<[email protected]>...
>> Please post your config.xml
>>
>> Kok Liang wrote:
>> > Hi,
>> >
>> > I have written a simple client to receive messages from a 'jppsacntrQ'
>> > queue,
>> >
>> > The jms server which keeps this queue is already targetted at the
>> > server I am running.
>> >
>> > I have closed my command prompt and restarted WLS a few times but
>I am
>> > still getting this error.
>> >
>> > Has anyone else encountered the same problem?
>> >
>> > Appreciate the help ...
>> >
>> > Victor
>> >
>> > c:\program files\intellij-idea-3.0.4\jre\bin\java.exe -Xmx128M
>> > -Djava.home=C:\Program Files\IntelliJ-IDEA-3.0.4\jre -classpath
>> > c:\program files\intellij-idea-3.0.4\jre\lib\tools.jar;C:\Program
>> > Files\IntelliJ-IDEA-3.0.4\lib\idea_rt.jar;C:\Program
>> > Files\IntelliJ-IDEA-3.0.4\lib\ant.jar;C:\Program
>> > Files\IntelliJ-IDEA-3.0.4\lib\optional.jar;C:\Program
>> > Files\IntelliJ-IDEA-3.0.4\lib\\rt\xerces1.jar
>> > com.intellij.rt.ant.execution.AntMain -logger
>> > com.intellij.rt.ant.execution.IdeaAntLogger -verbose
>> > -Dbuild.compiler.emacs=true -buildfile
>> > C:\java-projects\portnet-jp\build.xml test-polling-subscriber
>> > build.xml
>> > test-polling-subscriber
>> > java
>> > Running Start Polling Task ...
>> > DEBUG [main]: subscriber.propertyFile.path=C:/java-projects/portnet-jp/resources/configuration/JPContainer.cfg
>> > DEBUG [main]: java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory
>> > DEBUG [main]: java.naming.provider.url=t3://localhost:7001
>> > DEBUG [main]: java.naming.referral=throw
>> > DEBUG [main]: java.naming.security.authentication=simple
>> > DEBUG [main]: java.naming.security.principal=null
>> > DEBUG [main]: java.naming.security.credentials=null
>> > DEBUG [main]: sleepTimePerCycle=15000
>> > DEBUG [main]: queueConnectionFactoryName=pnsgQCF
>> > DEBUG [main]: incomingQueueName=jppsacntrQ
>> > DEBUG [main]: incomingFileStorePath=C:/java-projects/portnet-jp/resources/data/JP/Container/IN
>> > DEBUG [main]: timestampFormat=yyyyMMddHHmm
>> > INFO [main]: Setting Up Queue and QueueConnectionFactory ...
>> > DEBUG [main]: Looking up QueueConnectionFactory: pnsgQCF
>> > DEBUG [main]: Looking up Incoming Queue: jppsacntrQ
>> > javax.naming.NameNotFoundException: Unable to resolve 'jppsacntrQ'
>> > Resolved: '' Unresolved:'jppsacntrQ' ; remaining name 'jppsacntrQ'
>> > at weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:109)
>> > at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:262)
>> > at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:229)
>> > at weblogic.jndi.internal.ServerNamingNode_WLStub.lookup(Unknown
>> > Source)
>> > at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:337)
>> > at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:332)
>> > at javax.naming.InitialContext.lookup(Unknown Source)
>> > at pow.business.JP.Container.JPCntrSubscriber.init(JPCntrSubscriber.java:162)
>> > at pow.business.JP.Container.JPCntrSubscriber.<init>(JPCntrSubscriber.java:58)
>> > at pow.business.JP.Container.Main.start(Main.java:183)
>> > at pow.business.JP.Container.Main.main(Main.java:289)
>> > Please check whether 'jndi.properties' is available in the CLASSPATH
>> > and whether it has been configured properly.
>> > Java Result: -1
>> >
>> > Build completed with 1 error and 13 warnings. Time: 13 s
-
Javax.naming.NameNotFoundException: Unable to resolve
Dear friends,
I am doing simple application EJB3 with JSF but I got this exception any help please.
javax.naming.NameNotFoundException: Unable to resolve 'SessionEJB'. Resolved ''; remaining name 'SessionEJB'
at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:252)
at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:393)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at asu.view.backing.Login.validate(Login.java:127)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
at javax.faces.component.UICommand.broadcast(UICommand.java:387)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:698)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:285)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:62)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)now I got this error,
even my select is simple
javax.ejb.EJBException: EJB Exception: ; nested exception is:
java.lang.IllegalArgumentException: An exception occurred while creating a query in EntityManager:
Exception Description: Error compiling the query [select o.username , o.password from Authentication o where username=:p_username ], line 1, column 59: unknown identification variable [username]. The FROM clause of the query does not declare an identification variable [username].; nested exception is: java.lang.IllegalArgumentException: An exception occurred while creating a query in EntityManager:
Exception Description: Error compiling the query [select o.username , o.password from Authentication o where username=:p_username ], line 1, column 59: unknown identification variable [username]. The FROM clause of the query does not declare an identification variable [username].
java.lang.IllegalArgumentException: An exception occurred while creating a query in EntityManager:
Exception Description: Error compiling the query [select o.username , o.password from Authentication o where username=:p_username ], line 1, column 59: unknown identification variable [username]. The FROM clause of the query does not declare an identification variable [username].
at org.eclipse.persistence.internal.jpa.EntityManagerImpl.createQuery(EntityManagerImpl.java:1328)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.deployment.BasePersistenceContextProxyImpl.invoke(BasePersistenceContextProxyImpl.java:93)
at weblogic.deployment.TransactionalEntityManagerProxyImpl.invoke(TransactionalEntityManagerProxyImpl.java:91)
at weblogic.deployment.BasePersistenceContextProxyImpl.invoke(BasePersistenceContextProxyImpl.java:80)
at weblogic.deployment.TransactionalEntityManagerProxyImpl.invoke(TransactionalEntityManagerProxyImpl.java:26)
at $Proxy144.createQuery(Unknown Source)
at asu.model.SessionEJBBean.validateLogin(SessionEJBBean.java:51)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy147.validateLogin(Unknown Source)
at asu.model.SessionEJB_qxt9um_SessionEJBImpl.validateLogin(SessionEJB_qxt9um_SessionEJBImpl.java:316)
at asu.model.SessionEJB_qxt9um_SessionEJBImpl_CBV.validateLogin(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:84)
at $Proxy145.validateLogin(Unknown Source)
at asu.view.backing.Login.validate(Login.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
at javax.faces.component.UICommand.broadcast(UICommand.java:387)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:698)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:285)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:62)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: Exception [EclipseLink-8004] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.JPQLException
Exception Description: Error compiling the query [select o.username , o.password from Authentication o where username=:p_username ], line 1, column 59: unknown identification variable [username]. The FROM clause of the query does not declare an identification variable [username].
at org.eclipse.persistence.exceptions.JPQLException.aliasResolutionException(JPQLException.java:192)
at org.eclipse.persistence.internal.jpa.parsing.VariableNode.validate(VariableNode.java:166)
at org.eclipse.persistence.internal.jpa.parsing.Node.validate(Node.java:91)
at org.eclipse.persistence.internal.jpa.parsing.BinaryOperatorNode.validate(BinaryOperatorNode.java:34)
at org.eclipse.persistence.internal.jpa.parsing.EqualsNode.validate(EqualsNode.java:41)
at org.eclipse.persistence.internal.jpa.parsing.WhereNode.validate(WhereNode.java:34)
at org.eclipse.persistence.internal.jpa.parsing.ParseTree.validate(ParseTree.java:211)
at org.eclipse.persistence.internal.jpa.parsing.ParseTree.validate(ParseTree.java:187)
at org.eclipse.persistence.internal.jpa.parsing.ParseTree.validate(ParseTree.java:177)
at org.eclipse.persistence.internal.jpa.parsing.JPQLParseTree.populateReadQueryInternal(JPQLParseTree.java:110)
at org.eclipse.persistence.internal.jpa.parsing.JPQLParseTree.populateQuery(JPQLParseTree.java:84)
at org.eclipse.persistence.internal.jpa.EJBQueryImpl.buildEJBQLDatabaseQuery(EJBQueryImpl.java:202)
at org.eclipse.persistence.internal.jpa.EJBQueryImpl.buildEJBQLDatabaseQuery(EJBQueryImpl.java:173)
at org.eclipse.persistence.internal.jpa.EJBQueryImpl.<init>(EJBQueryImpl.java:125)
at org.eclipse.persistence.internal.jpa.EJBQueryImpl.<init>(EJBQueryImpl.java:109)
at org.eclipse.persistence.internal.jpa.EntityManagerImpl.createQuery(EntityManagerImpl.java:1326)
... 90 more
javax.ejb.EJBException: EJB Exception: ; nested exception is:
java.lang.IllegalArgumentException: An exception occurred while creating a query in EntityManager:
Exception Description: Error compiling the query [select o.username , o.password from Authentication o where username=:p_username ], line 1, column 59: unknown identification variable [username]. The FROM clause of the query does not declare an identification variable [username].; nested exception is: java.lang.IllegalArgumentException: An exception occurred while creating a query in EntityManager:
Exception Description: Error compiling the query [select o.username , o.password from Authentication o where username=:p_username ], line 1, column 59: unknown identification variable [username]. The FROM clause of the query does not declare an identification variable [username].
at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.unwrapRemoteException(RemoteBusinessIntfProxy.java:120)
at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:102)
at $Proxy145.validateLogin(Unknown Source)
at asu.view.backing.Login.validate(Login.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
at javax.faces.component.UICommand.broadcast(UICommand.java:387)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:698)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:285)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:62)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: java.lang.IllegalArgumentException: An exception occurred while creating a query in EntityManager:
Exception Description: Error compiling the query [select o.username , o.password from Authentication o where username=:p_username ], line 1, column 59: unknown identification variable [username]. The FROM clause of the query does not declare an identification variable [username].
at org.eclipse.persistence.internal.jpa.EntityManagerImpl.createQuery(EntityManagerImpl.java:1328)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.deployment.BasePersistenceContextProxyImpl.invoke(BasePersistenceContextProxyImpl.java:93)
at weblogic.deployment.TransactionalEntityManagerProxyImpl.invoke(TransactionalEntityManagerProxyImpl.java:91)
at weblogic.deployment.BasePersistenceContextProxyImpl.invoke(BasePersistenceContextProxyImpl.java:80)
at weblogic.deployment.TransactionalEntityManagerProxyImpl.invoke(TransactionalEntityManagerProxyImpl.java:26)
at $Proxy144.createQuery(Unknown Source)
at asu.model.SessionEJBBean.validateLogin(SessionEJBBean.java:51)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy147.validateLogin(Unknown Source)
at asu.model.SessionEJB_qxt9um_SessionEJBImpl.validateLogin(SessionEJB_qxt9um_SessionEJBImpl.java:316)
at asu.model.SessionEJB_qxt9um_SessionEJBImpl_CBV.validateLogin(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:84)
... 52 more
Caused by: Exception [EclipseLink-8004] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.JPQLException
Exception Description: Error compiling the query [select o.username , o.password from Authentication o where username=:p_username ], line 1, column 59: unknown identification variable [username]. The FROM clause of the query does not declare an identification variable [username].
at org.eclipse.persistence.exceptions.JPQLException.aliasResolutionException(JPQLException.java:192)
at org.eclipse.persistence.internal.jpa.parsing.VariableNode.validate(VariableNode.java:166)
at org.eclipse.persistence.internal.jpa.parsing.Node.validate(Node.java:91)
at org.eclipse.persistence.internal.jpa.parsing.BinaryOperatorNode.validate(BinaryOperatorNode.java:34)
at org.eclipse.persistence.internal.jpa.parsing.EqualsNode.validate(EqualsNode.java:41)
at org.eclipse.persistence.internal.jpa.parsing.WhereNode.validate(WhereNode.java:34)
at org.eclipse.persistence.internal.jpa.parsing.ParseTree.validate(ParseTree.java:211)
at org.eclipse.persistence.internal.jpa.parsing.ParseTree.validate(ParseTree.java:187)
at org.eclipse.persistence.internal.jpa.parsing.ParseTree.validate(ParseTree.java:177)
at org.eclipse.persistence.internal.jpa.parsing.JPQLParseTree.populateReadQueryInternal(JPQLParseTree.java:110)
at org.eclipse.persistence.internal.jpa.parsing.JPQLParseTree.populateQuery(JPQLParseTree.java:84)
at org.eclipse.persistence.internal.jpa.EJBQueryImpl.buildEJBQLDatabaseQuery(EJBQueryImpl.java:202)
at org.eclipse.persistence.internal.jpa.EJBQueryImpl.buildEJBQLDatabaseQuery(EJBQueryImpl.java:173)
at org.eclipse.persistence.internal.jpa.EJBQueryImpl.<init>(EJBQueryImpl.java:125)
at org.eclipse.persistence.internal.jpa.EJBQueryImpl.<init>(EJBQueryImpl.java:109)
at org.eclipse.persistence.internal.jpa.EntityManagerImpl.createQuery(EntityManagerImpl.java:1326)
... 90 more -
EJB Reference could not be resolved (javax.naming.NameNotFoundException)
I am new to EJBs and am trying to get a simple Java client to run which I've generated from a EJB3.0 session bean.
The code for the client (LoanAppFacadeClient.java) is
package buslogic;
import java.util.Hashtable;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
public class LoanAppFacadeClient {
public static void main(String [] args) {
try {
final Context context = getInitialContext();
LoanAppFacade loanAppFacade = (LoanAppFacade)context.lookup("java:comp/env/ejb/LoanAppFacade");
// Call any of the Remote methods below to access the EJB
// System.out.println( loanAppFacade.getLoans( ) );
loanAppFacade.addLoan( "Galactic Loans", 30, "fixed", 6.25 );
String ssn = "123-12-1234";
System.out.println(loanAppFacade.getCreditRating( ssn ));
} catch (Exception ex) {
ex.printStackTrace();
private static Context getInitialContext() throws NamingException {
Hashtable env = new Hashtable();
// Standalone OC4J connection details
env.put( Context.INITIAL_CONTEXT_FACTORY, "oracle.j2ee.naming.ApplicationClientInitialContextFactory" );
env.put( Context.SECURITY_PRINCIPAL, "oc4jadmin" );
env.put( Context.SECURITY_CREDENTIALS, "welcome1" );
env.put(Context.PROVIDER_URL, "ormi://localhost:23791/LoanApp");
return new InitialContext( env );
When the trying to run the client I get a warning:
"WARNING: EJB Reference "ejb/LoanAppFacade" could not be resolved."
followed by the error
"javax.naming.NameNotFoundException: java:comp/env/ejb/LoanAppFacade not found in Lab1_BusinessServices-app-client"
When the client was created I right-clicked on the session bean (LoanAppFacadeBean which implements LoanAppFacade) and chose New Sample Java Client.
This automatically creates the java client and also created the following xml file (application-client.xml)
<?xml version = '1.0' encoding = 'windows-1252'?>
<application-client xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application-client_1_4.xsd" version="1.4" xmlns="http://java.sun.com/xml/ns/j2ee">
<display-name>Lab1_BusinessServices-app-client</display-name>
<ejb-ref>
<ejb-ref-name>ejb/LoanAppFacade</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<remote>buslogic.LoanAppFacade</remote>
<ejb-link>LoanAppFacade</ejb-link>
</ejb-ref>
</application-client>
Could someone please help me to fix these errors?
Thanks,
AndrewI used windows for years whereby I stored all photos in folders. As macs don't use this concept I am finding it hard to organize my photos.
You can do this on your Mac too. Just don't use iPhoto. But iPhoto is a lot more flexible.
For instance:
I usually sort them by month so when I say move to an album I mean I create an album called for example '2013 March' so I can easily find specific photos/videos.
Click on the Magnifying Glass lower left to reveal the search box. Then click on the magnifying glass in the search box, and select Date. Now you can instantly find all the photos from a particular month, or day.
File -> New Smart Album will allow you to create an automatic album for any date or date range you choose.
Select one of the affected videos in the iPhoto Window and go File -> Reveal in Finder -> Original. A Finder Window should open with the file selected. Does it play? -
EJB javax.naming.NameNotFoundException:
Hi,
I have EJB deployed in JRUN. I am trying to run Client program. It is giving the following error
javax.naming.NameNotFoundException: ejbT.test1Home not found
at allaire.ejipt._NamingContext.lookup(_NamingContext.java:73)
at allaire.ejipt._ClientContext.lookup(_ClientContext.java:113)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at ejbT.testClient.main(testClient.java:44)
I checked <ejb-name> in ejb-jar.xml and jrun-ejb-jar.xml file .. they are the same.
What can be the problem.
Can some please help me.
Thanks in advance.Does the JNDI name in your client match that of your EJB?
-
Hi,
I'm trying to run an esb process that invokes a bpel process but I'm getting the following error invoking bpel:
oracle.tip.esb.server.common.exceptions.BusinessEventFatalException: Se ha devuelto una excepción no tratada en el sistema ESB. La excepción mostrada es: "java.lang.Exception: Fallo al crear el bean "ejb/collaxa/system/DeliveryBean"; la excepción mostrada es: "javax.naming.NameNotFoundException: ejb/collaxa/system/DeliveryBean not found
at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:52)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at com.oracle.bpel.client.util.BeanRegistry.lookupDeliveryBean(BeanRegistry.java:279)
at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:250)
at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:174)
at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:158)
at oracle.tip.esb.server.service.impl.bpel.BPELService.processBusinessEvent(BPELService.java:342)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(InitialEventDispatcher.java:106)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:85)
at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1416)
at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:105)
at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(EsbRouterSubscription.java:273)
at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(EventDispatcher.java:138)
at oracle.tip.esb.server.dispatch.DeferredEventDispatcher.processSubscriptions(DeferredEventDispatcher.java:150)
at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(EventDispatcher.java:94)
at oracle.tip.esb.server.dispatch.DeferredEventDispatcher.dispatch(DeferredEventDispatcher.java:67)
at oracle.tip.esb.server.dispatch.agent.JavaDeferredMessageHandler.handleMessage(JavaDeferredMessageHandler.java:115)
at oracle.tip.esb.server.dispatch.agent.ESBWork.process(ESBWork.java:162)
at oracle.tip.esb.server.dispatch.agent.ESBWork.run(ESBWork.java:120)
at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
at java.lang.Thread.run(Thread.java:595)
at com.oracle.bpel.client.util.ExceptionUtils.handleServerException(ExceptionUtils.java:82)
at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:254)
at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:174)
at com.oracle.bpel.client.delivery.DeliveryService.post(DeliveryService.java:158)
at oracle.tip.esb.server.service.impl.bpel.BPELService.processBusinessEvent(BPELService.java:342)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(InitialEventDispatcher.java:106)
at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:85)
at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1416)
at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(EventUtils.java:105)
at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(EsbRouterSubscription.java:273)
at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(EventDispatcher.java:138)
at oracle.tip.esb.server.dispatch.DeferredEventDispatcher.processSubscriptions(DeferredEventDispatcher.java:150)
at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(EventDispatcher.java:94)
at oracle.tip.esb.server.dispatch.DeferredEventDispatcher.dispatch(DeferredEventDispatcher.java:67)
at oracle.tip.esb.server.dispatch.agent.JavaDeferredMessageHandler.handleMessage(JavaDeferredMessageHandler.java:115)
at oracle.tip.esb.server.dispatch.agent.ESBWork.process(ESBWork.jav
I know that the processes work fine because I have deployed them in another server and they are working fine. The esb process invokes the bpel without problems.
I have read some threads in this forum where this error appears, but they are related to jsps, and the solution given doesn't apply.
I really appreciate any help. Thanks in advance,
Zaloahere is the detailed properties.
properties.put("java.naming.factory.initial", "com.evermind.server.rmi.RMIInitialContextFactory");
properties.put("java.naming.provider.url", "ormi://localhost");
properties.put("java.naming.security.principal",
"admin");
properties.put("java.naming.security.credentials",
"welcome"
Maybe you are looking for
-
When inserting image how do I force inline CSS not image tags?
When I insert an image to my page layout it always uses html width= and height= tags e.g. <img src="images/wordpress.jpg" width="125" height="112"> This is driving me nuts (I thought these tags were pretty old fashioned for current doctypes. Why does
-
Setting Qos for the Cisco C20plus codec endpoints.
My company has implemented a cisco video conferencing system using the Cisco C20plus codecs as H323 endpoints. We currently utilise the Optus evolve network (MPLS) for our WAN Our network WAN utilises Qos per VLAN settings. For example, phones are in
-
How can I print off my I pad for bank statements on reg paper not 4x6 photo paper?
-
I unsuccessfully tried to find way to insert embedded image into TextArea via <img> tag. Can you point me out how to do this? Also, please, tell me how to handle IOErrorEvent from TextArea because adding IOErrorEvent.IO_ERROR listener to TextArea doe
-
Outbound Integration in Siebel CRM On Demand
As we know that only Inbound integration is possible in Siebel CRM on Demand.Has anybody ever done outbound integration in Siebel CRM on demand using Integration event or using ASP? Please repond soon.