Error connecting to websphere MQ from weblogic 10.3.0 :EndPointFinder

1)     We are in process of connection from weblogic 10.3.0 to websphere MQ series . We are trying connecting to the response queues using MQclient binding . I created .binding file using following configuration
DEFINE QCF(BBNMSRMSConnectionFactory2) QMGR(ESBMBJU2) CHAN(ESBMBJU2_SSL) HOST(bos69872.bst.bls.com) PORT(1414) TEMPMODEL(WEBLOGIC.MODEL.QUEUE) TRAN(CLIENT)
DEFINE QCF(BBNMSRMSConnectionFactory2) QMGR(ESBMBJU2) CHAN(ESBMBJU2_SSL) HOST(bos69874.bst.bls.com) PORT(1415) TEMPMODEL(WEBLOGIC.MODEL.QUEUE) TRAN(CLIENT)
DEFINE Q(BBNMSSERESPONSEQUEUE1) QUEUE(FUSIONQL.BBNMSE.BBNMSTORMS.1_0.D.JU.RSP) QMGR(ESBMBJU1) TARGCLIENT(MQ)
DEFINE Q(BBNMSSERESPONSEQUEUE2) QUEUE(FUSIONQL.BBNMSE.BBNMSTORMS.1_0.D.JU.RSP) QMGR(ESBMBJU2) TARGCLIENT(MQ)
DEFINE QCF(BBNMSRMSCF1) QMGR(ESBMBJU1) CHAN(ESBMBJU1_SSL) HOST(bos69872.bst.bls.com) PORT(1414) TEMPMODEL(WEBLOGIC.MODEL.QUEUE) TRAN(CLIENT)
ALTER QCF(BBNMSRMSConnectionFactory1) CHAN(ESBMBJU1_SSL) SSLCIPHERSUITE(SSL_RSA_WITH_NULL_MD5)
ALTER QCF(BBNMSRMSConnectionFactory2) CHAN(ESBMBJU2_SSL) SSLCIPHERSUITE(SSL_RSA_WITH_NULL_MD5)
2)     The I created the foreign JMS-server as such :
<foreign-server name="ForeignRmsServer-1">
<default-targeting-enabled>true</default-targeting-enabled>
<foreign-destination name="RmsFusionBusRequestQueue1">
<local-jndi-name>RmsResponseQueue1</local-jndi-name>
<remote-jndi-name>BBNMSSERESPONSEQUEUE1</remote-jndi-name>
</foreign-destination>
<foreign-connection-factory name="RmsFusionBusFactory1">
<local-jndi-name>RmsFusionBusfactory1</local-jndi-name>
<remote-jndi-name>BBNMSRMSConnectionFactory1</remote-jndi-name>
<username>m66300d</username>
<password-encrypted xsi:nil="true"/>
</foreign-connection-factory>
<initial-context-factory>com.sun.jndi.fscontext.RefFSContextFactory</initial-context-factory>
<connection-url>file:/opt/mqm/java/bin/mqjndi</connection-url>
</foreign-server>
3)     Subsequently I use the JNDI names configured in foreign server(above) in weblogic-ejb-jar.xml .
<weblogic-ejb-jar xmlns="http://www.bea.com/ns/weblogic/10.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<weblogic-enterprise-bean>
<ejb-name>RMSRespMDB</ejb-name>
<message-driven-descriptor>
<pool>
<max-beans-in-free-pool>10</max-beans-in-free-pool>
<initial-beans-in-free-pool>5</initial-beans-in-free-pool>
</pool>
<destination-jndi-name>BBNMSSERESPONSEQUEUE1</destination-jndi-name>
<initial-context-factory>com.sun.jndi.fscontext.RefFSContextFactory</initial-context-factory>
<provider-url>file:/opt/mqm/java/bin/mqjndi</provider-url>
<connection-factory-jndi-name>BBNMSRMSConnectionFactory1</connection-factory-jndi-name>
</message-driven-descriptor>
<transaction-descriptor>
<trans-timeout-seconds>300</trans-timeout-seconds>
</transaction-descriptor>
<enable-call-by-reference>true</enable-call-by-reference>
<jndi-name>jms.RMSRespMDB</jndi-name>
<dispatch-policy>JbbosServicesServerXQ</dispatch-policy>
</weblogic-enterprise-bean>
<weblogic-compatibility>
<entity-always-uses-transaction>true</entity-always-uses-transaction>
</weblogic-compatibility>
</weblogic-ejb-jar>
4)     Now when my MDB comes up its giving following error
Mar 8, 2011 10:13:16 AM EST> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application
'RMSRespMDB'.
weblogic.application.ModuleException: Exception activating module: EJBModule(RMSRespMDB)
Unable to deploy EJB: RMSRespMDB from RMSRespMDB.jar:
unable to find EndPointFinder for file:/opt/mqm/java/bin/mqjndi
at weblogic.ejb.container.deployer.EJBModule.activate(EJBModule.java:493)
at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:107)
at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:411)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:74)
Truncated. see log file for complete stacktrace
java.lang.AssertionError: unable to find EndPointFinder for file:/opt/mqm/java/bin/mqjndi
at weblogic.rmi.spi.RMIRuntime.getEndPointFinder(RMIRuntime.java:61)
at weblogic.rmi.spi.RMIRuntime.findOrCreateEndPoint(RMIRuntime.java:42)
at weblogic.rmi.extensions.server.RemoteDomainSecurityHelper.isRemoteDomain(RemoteDomainSecurityHelper.java:379)
at weblogic.jms.common.ServerCrossDomainSecurityUtil.isRemoteDomain(ServerCrossDomainSecurityUtil.java:319)
at weblogic.jms.common.ServerCrossDomainSecurityUtil.getRemoteSubject(ServerCrossDomainSecurityUtil.java:116)
Truncated. see log file for complete stacktrace
>
My binding file is correctly placed on the following location file:/opt/mqm/java/bin/mqjndi with appropriate permissions
Some info :
Our weblogic version is 10.3.0
I tracked this exception (unable to find EndPointFinder) to bug id 8168598
Can anyone please suggest what can be issue potentially
Thanks in advance

hi,
Even i want to connect webspere MQ 7 with weblogic 10.3, can u suggest me some document where i can follow step by step?
I have too tried using some binding file,but it is not reading the same.

Similar Messages

  • Error connecting to 8i DB from Jdev 11g

    Hi All-
    I am trying to connect to 8.1.7 version Database from JDeveloper 11.1.1.4. Am getting error "Unsupported database version".
    I google for this error and found the 11.1.1.4 JDBC driver does not support 8i DB, so we need to download the previous version JDBC driver and include it in Jdeveloper library.
    Can you please let me know which version of JDBC driver supports connecting to 8i DB, the link to download that and also the steps that I should follow in jdeveloper configuration.
    Thanks in advance.
    Regards,
    Ramesh

    Hi All,
    I have a similar problem. I need to connect to Oracle database 8i from weblogic server 10.3.5 (Jdev 11.1.1.5).
    Where can the 8i compatible drivers be found?
    Great thanks in advance.
    Regards,
    Ansh

  • Error Connecting to TFS 2013 from Oracle PL/SQL using MSSCCI

    Hi,
    previously we were able to connect to TFS 2008 through MSSCCI.
    we have MSSCCI 2013 provider, Teamexplorer 2013 andVersion Control Interface installed.
    While trying to connect to TFS 2013 from ORacle PL/SQL Developer 10.5 through MSSCCI ; there is an error coming up when we enter the server url ... it is allowing us only until <tfs home url> without collection...
    "The request failed with the error message
    <head><title>Document moved></title></head>
    <body><h1>Object Model</h1>This document may be found<aHREF=/<Collectionname>/Services/v1.0/ServerStatus.asmx>">http://<tfshome
    url>/<Collectionname>/Services/v1.0/ServerStatus.asmx> But the plugin picks it up automatically.. Am i correct?
    How to resolve the above error?
    Thank you
    Su

    Hi Su, 
    Thanks for your post.
    How do you manually build  your PL/SQL/Oracle projects?
    TFS Build invoke MSBuild command to build project/solution on build agent machine by default. If these projects can be built using MSBuild command line manually, then we can use TFS Build(default build process template) to build these projects.
    If these projects need be built using another complier, and this compiler support run the command line to invoke it, so you can add the InvokeProcess activity(execute the command line) to invoke this compiler to build these projects in build process template,
    then create build definition using this customized build process template.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Error connecting to planning server from EAS

    We implemented Hyperion Planning about 1 month ago. We are having this intermittent issue with connecting to Planning servers. When the users attempt to add a Business Rule, they select an outline, and browse to the planning servers. When they click one of the two servers they get the message "Error connecting to Planning server <<Server A>>". The message only happens on Server A.
    I check the planning service, it is running. I login directly to the planning application (http://<<Server A>>:8300/HyperionPlanning/) , it works fine. However I still get the error. The problem comes and goes, but once is happens the only solution seems to be restart all of the services on the Planning server.
    Is anyone experiencing this issue?
    If so is there a resolution? Is this a common thing with Hyperion Planning?
    I opened a TAR, but because the issue is only happening occasionally (1 day in 5) I thought I would try the forums. Any help or suggestions would be appreciated.

    Hi,
    What version of planning are you running, there was patch 9.3.1.1.1 that addressed
    6636367 (8-665086601) When the Business Rules connection to the relational database is lost, Business Rules does not reconnect to it. To solve this problem, an optional property, HBR_CONNECTION_VALIDATE_TIME, was added to HBRServer.properties. This property specifies a time interval for checking the connection between Business Rules and the relational database. If the connection is not valid, a new connection is established. The time interval is specified in milliseconds and defaults to 300,000 (five minutes).
    This maybe the same sort of issue you are experiencing.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Error while connecting to DB Schema from WebLogic

    1.     I have installed DB 11.2.0.1, run RCU utility to create the schema, IDP_OIF, and Weblogic 10.3.3 on windows 2008 64bit version.
    Then i installed OIM 11.1.1.2 and then applied the patch 11.1.1.3. Post that, i configured Weblogic and created a new domain. After that, i run config.bat file to
    configure OIM 11.1.1.3, and selected OIF and ODSM as components.
    2.     Now, I started the Weblogic (IDMDOMAIN_IDP domain), and trying to create a new DataSource (Services -> DataSource), giving the schema details of IDP_OIF.
    But, I am not able to connect and getting the error. i am getting the below mentioned error, while doing the test configuration.
    <weblogic> <> <063a4f12da2ebf72:-383cc000:13050cfca7e:-8000-000000000000000d> <1307026410976> <BEA-240003> <Console encountered the following error java.sql.SQLException: The Network Adapter could not establish the connection
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:74)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:135)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:203)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:489)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:439)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:640)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:205)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:554)
         at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:388)
         at oracle.jdbc.xa.client.OracleXADataSource.getPooledConnection(OracleXADataSource.java:645)
         at oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:265)
         at oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:141)
         at com.bea.console.utils.jdbc.JDBCUtils.testConnection(JDBCUtils.java:550)
         at com.bea.console.actions.jdbc.datasources.createjdbcdatasource.CreateJDBCDataSource.testConnectionConfiguration(CreateJDBCDataSource.java:458)
         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 org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:870)
         at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)
         at org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)
         at org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:306)
         at org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336)
         at org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execute(FlowControllerAction.java:52)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(PageFlowRequestProcessor.java:97)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute(PageFlowRequestProcessor.java:2044)
         at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:64)
         at org.apache.beehive.netui.pageflow.interceptor.action.ActionInterceptor.wrapAction(ActionInterceptor.java:184)
         at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.invoke(ActionInterceptors.java:50)
         at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:58)
         at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors.wrapAction(ActionInterceptors.java:87)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:2116)
         at com.bea.console.internal.ConsolePageFlowRequestProcessor.processActionPerform(ConsolePageFlowRequestProcessor.java:261)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:556)
         at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:853)
         at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:631)
         at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:158)
         at com.bea.console.internal.ConsoleActionServlet.process(ConsoleActionServlet.java:256)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
         at com.bea.console.internal.ConsoleActionServlet.doGet(ConsoleActionServlet.java:133)
         at org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:1199)
         at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:686)
         at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.processActionInternal(ScopedContentCommonSupport.java:142)
         at com.bea.portlet.adapter.scopedcontent.PageFlowStubImpl.processAction(PageFlowStubImpl.java:106)
         at com.bea.portlet.adapter.NetuiActionHandler.raiseScopedAction(NetuiActionHandler.java:111)
         at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:181)
         at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:167)
         at com.bea.netuix.servlets.controls.content.NetuiContent.handlePostbackData(NetuiContent.java:225)
         at com.bea.netuix.nf.ControlLifecycle$2.visit(ControlLifecycle.java:180)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:324)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
         at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:130)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
         at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)
         at com.bea.netuix.nf.Lifecycle.runInbound(Lifecycle.java:184)
         at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:159)
         at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:388)
         at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:258)
         at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:199)
         at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:251)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at com.bea.console.utils.MBeanUtilsInitSingleFileServlet.service(MBeanUtilsInitSingleFileServlet.java:47)
         at weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:130)
         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 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: oracle.net.ns.NetException: The Network Adapter could not establish the connection
         at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:334)
         at oracle.net.resolver.AddrResolution.resolveAndExecute(AddrResolution.java:425)
         at oracle.net.ns.NSProtocol.establishConnection(NSProtocol.java:646)
         at oracle.net.ns.NSProtocol.connect(NSProtocol.java:212)
         at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1076)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:303)
         ... 99 more
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
         at java.net.Socket.connect(Socket.java:529)
         at oracle.net.nt.MetricsEnabledSocket.connect(TcpNTAdapter.java:465)
         at oracle.net.nt.TcpNTAdapter.connect(TcpNTAdapter.java:134)
         at oracle.net.nt.ConnOption.connect(ConnOption.java:130)
         at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:310)
         ... 104 more
    please help.
    Thanks in advance.

    hi Guru's.. please advice.

  • Error when accessing Tuxedo Services from Weblogic

    Hi,
    I have a stateless session bean deployed on Weblogic 10.3.5 . I have a WTC Server configured to connect to my Tuxedo server.I have all the local and remote AP's set on this server also.
    Now I am trying to access Tuxedo server from a method in my deployed EJB. Method looks like this
    ========================================================================================
    Context ctx;
         TuxedoConnectionFactory tcf;
         TuxedoConnection myTux; // For now we get it via NEW until the Factory works
         TypedString myData;
         Reply myRtn;
         int status;
         System.out.println("getData called, converting " + toConvert);
         try {
         ctx = new InitialContext();
         tcf =
         (TuxedoConnectionFactory) ctx.lookup("TuxedoConnectionFactory");
         } catch (NamingException ne) {
         // Could not get the tuxedo object, throw TPENOENT
         throw new TPException(TPException.TPENOENT,
         "Could not get TuxedoConnectionFactory : " + ne);
         myTux = tcf.getTuxedoConnection();
         myData = new TypedString(toConvert);
         System.out.println("About to call tpcall");
         try {
         myRtn = myTux.tpcall("TOUPPER", myData, 0);
         } catch (TPReplyException tre) {
              System.out.println("tpcall threw TPReplyExcption " + tre);
         throw tre;
         } catch (TPException te) {
              System.out.println("tpcall threw TPException " + te);
         throw te;
         } catch (Exception ee) {
              System.out.println("tpcall threw exception: " + ee);
         throw new TPException(TPException.TPESYSTEM, "Exception: " + ee);
         System.out.println("tpcall successfull!");
         myData = (TypedString) myRtn.getReplyBuffer();
         myTux.tpterm(); // Closing the association with Tuxedo
    ========================================================================================
    I get following error when i call the above method from my client for EJB.
    ========================================================================================
    TPENOENT(6):0:0:TPED_MINVAL(0):QMNONE(0):0:Could not get TuxedoConnectionFactory : javax.naming.NameNotFoundException: Unable to resolve 'TuxedoConnectionFactory'. Resolved ''; remaining name 'TuxedoConnectionFactory'
         at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
         at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
         at sfsb3.ReplicableSFSB_6ri454_ReplicableSFSRemoteIntfImpl_1035_WLStub.getData(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:85)
         at $Proxy0.getData(Unknown Source)
         at test.TestDemoClient.main(TestDemoClient.java:37)
    ========================================================================================
    I need to resolve this quickly please.
    Thanks for any help
    Regards,
    Awais

    I'm not very familiar with Tuxedo unfortunately.
    I recommend that you post here:
    Could not get TuxedoConnectionFactory, setting up AP's incorrectly?
    You could also start with the code here:
    Where to Download weblogic.wtc.jatmi Library/Package
    And follow the instructions here:
    http://download.oracle.com/docs/cd/E21764_01/web.1111/e13756.pdf

  • Error While fetching content nodes from Weblogic Portal

    Hi,
    I am trying to deploy an application on Weblogic server which will connect to Weblogic portal repository and fetch content nodes from the specified repository. While accessing the repositroy nodes from my jsp code I get following error:
    I am not very clear what is going wrong
    Error 500--Internal Server Error
    com.bea.content.RepositoryRuntimeException: Repository configuration error.
         at com.bea.content.manager.internal.RepositoryManagerImpl.getRepositoryOps(RepositoryManagerImpl.java:194)
         at com.bea.content.manager.internal.RepositoryManagerImpl.connect(RepositoryManagerImpl.java:141)
         at com.bea.content.manager.RepositoryManagerFactory.connect(RepositoryManagerFactory.java:46)
         at com.bea.content.federated.internal.VirtualRepositoryManagerImpl.getRepositoryManager(VirtualRepositoryManagerImpl.java:306)
         at com.bea.content.federated.internal.VirtualRepositoryManagerImpl.getSearchOps(VirtualRepositoryManagerImpl.java:332)
         at com.bea.content.federated.internal.itemloader.NodeSearchItemLoader.fetchItemIdentifiers(NodeSearchItemLoader.java:68)
         at com.bea.content.federated.internal.itemloader.DirectAccessItemLoaderBase.minimalResolve(DirectAccessItemLoaderBase.java:17)
         at com.bea.content.paging.internal.PagedListImpl.(PagedListImpl.java:89)
         at com.bea.content.federated.internal.SearchManagerImpl.search(SearchManagerImpl.java:55)
         at jsp_servlet.__test._jspService(__test.java:133)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3370)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2117)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2023)
    Caused by: javax.naming.NameNotFoundException: While trying to lookup 'examplesWebApp.BEA_content.RepositoryOpsHome' didn't find subcontext 'examplesWebApp'. Resolved ''; remaining name 'examplesWebApp/BEA_content/RepositoryOpsHome'
         at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1138)
         at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:246)
         at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:171)
         at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:205)
         at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
         at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:367)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at com.bea.content.ContentEJBHomeCache.lookup(ContentEJBHomeCache.java:56)
         at com.bea.content.manager.internal.RepositoryManagerImpl.getRepositoryOps(RepositoryManagerImpl.java:187)
         at com.bea.content.manager.internal.RepositoryManagerImpl.connect(RepositoryManagerImpl.java:141)
         at com.bea.content.manager.RepositoryManagerFactory.connect(RepositoryManagerFactory.java:46)
         at com.bea.content.federated.internal.VirtualRepositoryManagerImpl.getRepositoryManager(VirtualRepositoryManagerImpl.java:306)
         at com.bea.content.federated.internal.VirtualRepositoryManagerImpl.getSearchOps(VirtualRepositoryManagerImpl.java:332)
         at com.bea.content.federated.internal.itemloader.NodeSearchItemLoader.fetchItemIdentifiers(NodeSearchItemLoader.java:68)
         at com.bea.content.federated.internal.itemloader.DirectAccessItemLoaderBase.minimalResolve(DirectAccessItemLoaderBase.java:17)
         at com.bea.content.paging.internal.PagedListImpl.(PagedListImpl.java:89)
         at com.bea.content.federated.internal.SearchManagerImpl.search(SearchManagerImpl.java:55)
         at jsp_servlet.__test._jspService(__test.java:133)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3370)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.AuthenticatedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.PrivilegedAction;)Ljava.lang.Object;(Unknown Source)

    Repositories are essentially external to applications.
    Applications are associated with repositories via repository configs. Repository configs allow applications to access repositories.
    1. There is no special 'centralized repository'.
    2. This can be done, but has caveats, especially around caching. If multiple applications have repo configs which refer to the same repository, there can be caching issues. For example, suppose apps A and B both have repo configs for accessing repo R. If you use app A to change some data in repo R, then try to read the change via app B, you can end up with cached data instead of the most recent data in repo R. This is something to be aware of with this type of configuration.
    3. There is typically one WLP admin url per application. For example, if you have an application named 'FooApp', then the admin url can typically be found at 'http://localhost:7001/FooAppAdmin'. Application 'BarApp' may have an admin url at http://localhost:7001/BarAppAdmin.
    You can use the weblogic server console at http://localhost:7001/console to see these -- click on Deployments, then click Monitoriing. In the Context Root column, you can see the various top-level context roots registered for this application.
    4. Repositories are top-level possibly-shared entities, similar to databases.
    Applications 'use' Repositories via Repository Configs.
    Applications 'own' RepositoryConfigs, which allow them to 'use' a specific Repository.
    It's possible to have multiple applications 'use' the same repository (each application would have to have its own RepoConfig referring to the same repository), but there can be caching issues with this configuration -- see (2).
    Each application 'owns' its own set of repo configs, and therefore its own VCR namespace. The VCR namespace is compsed of the RepoConfigs that application 'owns'. For example, if an application has repository configs with names 'Repo1' and 'Repo2', then the VCR namespace includes /Repo1/... and /Repo2/...
    Note that each RepoConfig entry has a name, which becomes its VCR namespace path. The path to a node in a repository begins with / followed by the name of the RepoConfig followed by /. Application A and application B may each be accessing Repo R, but via different names. For example, if A has the path to Repo R registered via name 'RepoR', then its VCR path to Repo R is /RepoR/... If B has the path to Repo R registered via the name 'R', then its VCR path to Repo R is /R/...

  • Gettig error connecting to Oracle DB with weblogic 6.1

    I am getting this error when I try to make a connection to an Oracle817 DB.
    I am using Oracles drviers (classes12.zip)
    <Nov 2, 2001 2:05:18 PM EST> <Error> <JDBC> <Cannot startup connection pool
    "genPool" Test table must be specifed for genPool with 'test connection on
    reserve' or 'test connection on release' or 'refresh minutes' set higher
    than 0.>
    <Nov 2, 2001 2:05:18 PM EST> <Info> <JDBC> <Creating TX Data Source named
    weblogic.jdbc.jts.genPool for pool genPool>
    <Nov 2, 2001 2:05:18 PM EST> <Info> <JDBC> <Checking existence of connection
    pool genPool requested by user system>
    <Nov 2, 2001 2:05:18 PM EST> <Error> <JDBC> <Error during Data Source
    creation: weblogic.common.ResourceException:
    DataSource(weblogic.jdbc.jts.genPool) can't be created with non-existent
    Pool (connection or multi) (genPool)>
    I have created a connction pool called genPool,
    set the URL :jdbc:oracle:thin:@genoracle:1521:GENORANY
    driver class name = oracle.jdbc.driver.OracleDriver
    Properties:
    user=name ** where name is user
    password=xx **where xx is password
    dll=ocijdbc8
    protocol=thin
    I created the Tx Data Sources with
    name = weblogic.jdbc.jts.genPool
    jndi = weblogic.jdbc.jts.genPool
    poolname = genPool
    Can anyone help me through this, it would be a great help
    Rafid Wahab

    Other solution:
    on refresh period, default value is 1 minute, force this value at 0 and your connection
    is ok.
    Eric
    Joseph Weinstein <[email protected]> wrote:
    Redo the pool definition, and set 'test connection on reserve'. Don't
    set 'test connections on release', and leave refresh minutes alone.
    add a test table. DUAL is perfect for that. Everything else seems
    fine.
    Joe
    Rafid wrote:
    I am getting this error when I try to make a connection to an Oracle817DB.
    I am using Oracles drviers (classes12.zip)
    <Nov 2, 2001 2:05:18 PM EST> <Error> <JDBC> <Cannot startup connectionpool
    "genPool" Test table must be specifed for genPool with 'test connectionon
    reserve' or 'test connection on release' or 'refresh minutes' set higher
    than 0.>
    <Nov 2, 2001 2:05:18 PM EST> <Info> <JDBC> <Creating TX Data Sourcenamed
    weblogic.jdbc.jts.genPool for pool genPool>
    <Nov 2, 2001 2:05:18 PM EST> <Info> <JDBC> <Checking existence of connection
    pool genPool requested by user system>
    <Nov 2, 2001 2:05:18 PM EST> <Error> <JDBC> <Error during Data Source
    creation: weblogic.common.ResourceException:
    DataSource(weblogic.jdbc.jts.genPool) can't be created with non-existent
    Pool (connection or multi) (genPool)>
    I have created a connction pool called genPool,
    set the URL :jdbc:oracle:thin:@genoracle:1521:GENORANY
    driver class name = oracle.jdbc.driver.OracleDriver
    Properties:
    user=name ** where name is user
    password=xx **where xx is password
    dll=ocijdbc8
    protocol=thin
    I created the Tx Data Sources with
    name = weblogic.jdbc.jts.genPool
    jndi = weblogic.jdbc.jts.genPool
    poolname = genPool
    Can anyone help me through this, it would be a great help
    Rafid Wahab

  • License error connecting to Sap BW from BO InfoView

    We installed succesfully the Sap Integration Kit Xi R2 , and the created the universe to connect to Sap BW.
    But when we try to access from the BO InfoView to the Sap BW with a proper Sap user we recive an error like that  :
    "...Unknow user: all the 0 concurrent licenses are in use or the license code is invalid..."
    We installed the proper license for the Sap Integration Kit, and the BO is in use and is working well.
    We read note 1307794 but seems not usable in our case.
    So we do not know wich is the error.
    Regards

    I'm reading a lot of post in intenernet, but it's difficult to find out wich kind of license is required on BO, if named if concurrent...
    We installed the license coming with the Sap Inegration Kit, neverthless we have the error described before.
    So we suspect there is something to do with BO licenses, but it's not clear what..
    regards

  • Error connecting to BOBJ server from Power Query

    I am getting this error when I try to connect to the BO server from Power Query;
    DataSource.Error: SapBusinessObjects: Unable to connect to the remote server
    Details:
       here it lists my URL which this posts didn't allow me to have.
    I know my server is otherwise up and running.  No problem connecting to Launchpad or CMC or IDT. 
    This is the 1st time I am using Power Query.  What is missing?
    Abdul

    Hi,
    This is a generic error about not being able to reach the server.
    You should make sure that there are no typos in the hostname and to include the port number, which is 6405 by default.
    e.g: http://powerquerysap:6405/biprws
    Tristan

  • Error connecting to CLOUDSCAPE database from EJB

    Hi All,
    I am working on Sun's reference implementation App Server verson 1.3.1. It comes shipped with cloudscape database. When I write try to connect to this App Server through JSP that calls methods through Enterprise Java Beans I get this Error Message:
    java.net.ConnectException: Connection refused: connect
    java.rmi.RemoteException: nested exception is: javax.ejb.EJBException: Unable to
    connect to database. Connection refused to host: XXXXXXXX; nested exception
    is:
    java.net.ConnectException: Connection refused: connect; nested exception
    is:
    javax.ejb.EJBException: Unable to connect to database. Connection refuse
    d to host: XXXXXXXXX; nested exception is:
    java.net.ConnectException: Connection refused: connect
    javax.ejb.EJBException: Unable to connect to database. Connection refused to hos
    t: XXXXXXXXX; nested exception is:
    java.net.ConnectException: Connection refused: connect
    <<no stack trace available>>
    Can any one help me solve this problem.
    Regards,
    Venky.

    Hi,
    check the following points.
    1.Make sure that Cloudscape is up.u can start this using teh command cloudscape -start
    2.set the datasorce properly.u can change this from deploy tool,tools->Server->datasources->standard configuration.
    use the default datasource jdbc/Cloudscape by leaving user/pwd as blank.
    HTH
    -asharafkk

  • Error connecting SAP BW system from EP6.0

    Hi All
    I am trying to connect EP6.0 with SAP BW 3.1, using ITS.
    I have created a 'system' in portal and my ITS test connection is successful. I chose 'SAP BW' as sytem instead of SAP R/3.
    When I try to preview/access an iView which internally execute BW workbook, I am getting following error. Can anyone please guide me the possible solutions. As this is urgent, please provide help.
    Sapgui 640 error window with the following message:
    connection to partner broken
    Time Wed Dec 12 16:15:03 2005
    Component NI(Network interface)
    Release 640
    Version 37
    Module ninti.c
    Line 756
    Method NiPRead(192.168.64.103/3320, hdl 1)
    Return Code -6
    System Call recv
    Counter 1

    Hi Srinivasa,
    Please refer to the following link for Integration of BW with EP .
    <a href="http://help.sap.com/saphelp_bw31/helpdata/en/f1/0a5a2ee09411d2acb90000e829fbfe/frameset.htm">http://help.sap.com/saphelp_bw31/helpdata/en/f1/0a5a2ee09411d2acb90000e829fbfe/frameset.htm</a>
    hope it helps..
    cheers
    Anand

  • Getting Error while exporting EAR file from Weblogic workshop 10.3

    Hi All,
    I have one Enterprise project with reference to one Web services web module.
    When I tried to export web module it export correctly but when I try to export the Enterprise project then it throws following error.
    !ENTRY com.bea.workshop.wls.ui 4 0 2009-04-15 11:14:12.801
    !MESSAGE The selected archive: C:\RNEAR.ear does not exist.
    !ENTRY org.eclipse.wst.common.frameworks 4 0 2009-04-15 11:14:13.035
    !MESSAGE Extended Operation failure: org.eclipse.jst.j2ee.internal.archive.operations.EARComponentExportOperation
    !STACK 0
    org.eclipse.core.commands.ExecutionException: Error exportingEAR
    at org.eclipse.jst.j2ee.internal.archive.operations.J2EEArtifactExportOperation.execute(J2EEArtifactExportOperation.java:103)
    at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl$1.run(DataModelPausibleOperationImpl.java:376)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
    at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.runOperation(DataModelPausibleOperationImpl.java:401)
    at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.runOperation(DataModelPausibleOperationImpl.java:352)
    at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.doExecute(DataModelPausibleOperationImpl.java:242)
    at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.executeImpl(DataModelPausibleOperationImpl.java:214)
    at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.cacheThreadAndContinue(DataModelPausibleOperationImpl.java:89)
    at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.execute(DataModelPausibleOperationImpl.java:202)
    at org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelWizard$1$CatchThrowableRunnableWithProgress.run(DataModelWizard.java:211)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
    Caused by: org.eclipse.jst.j2ee.commonarchivecore.internal.exception.SaveFailureException: Error opening archive for export..
    at org.eclipse.jst.j2ee.internal.archive.operations.EARComponentExportOperation.export(EARComponentExportOperation.java:66)
    at org.eclipse.jst.j2ee.internal.archive.operations.J2EEArtifactExportOperation.execute(J2EEArtifactExportOperation.java:95)
    ... 10 more
    Caused by: org.eclipse.jst.jee.archive.ArchiveSaveFailureException: java.lang.NullPointerException
    at org.eclipse.jst.jee.archive.AbstractArchiveSaveAdapter.save(AbstractArchiveSaveAdapter.java:66)
    at org.eclipse.jst.jee.archive.internal.ArchiveFactoryImpl.save(ArchiveFactoryImpl.java:114)
    at org.eclipse.jst.jee.archive.internal.ArchiveFactoryImpl.saveArchive(ArchiveFactoryImpl.java:76)
    at org.eclipse.jst.j2ee.internal.archive.operations.J2EEArtifactExportOperation.saveArchive(J2EEArtifactExportOperation.java:247)
    at org.eclipse.jst.j2ee.internal.archive.operations.EARComponentExportOperation.export(EARComponentExportOperation.java:43)
    ... 11 more
    Caused by: java.lang.NullPointerException
    at org.eclipse.jst.j2ee.internal.archive.JavaEEArchiveUtilities.isEJBArchive(JavaEEArchiveUtilities.java:466)
    at org.eclipse.jst.j2ee.internal.archive.JavaEEArchiveUtilities.refineForJavaEE(JavaEEArchiveUtilities.java:362)
    at org.eclipse.jst.j2ee.internal.archive.JavaEEArchiveUtilities.openArchive(JavaEEArchiveUtilities.java:267)
    at org.eclipse.jst.jee.archive.internal.ArchiveFactoryImpl.openArchive(ArchiveFactoryImpl.java:45)
    at org.eclipse.jst.j2ee.internal.archive.JavaEEArchiveUtilities.openArchive(JavaEEArchiveUtilities.java:115)
    at org.eclipse.jst.j2ee.internal.archive.EARComponentArchiveLoadAdapter.addModulesAndUtilities(EARComponentArchiveLoadAdapter.java:78)
    at org.eclipse.jst.j2ee.internal.archive.EARComponentArchiveLoadAdapter.getArchiveResources(EARComponentArchiveLoadAdapter.java:54)
    at org.eclipse.jst.jee.archive.internal.ArchiveImpl.getArchiveResources(ArchiveImpl.java:167)
    at org.eclipse.jst.jee.archive.AbstractArchiveSaveAdapter.getArchiveResourcesForSave(AbstractArchiveSaveAdapter.java:74)
    at org.eclipse.jst.jee.archive.AbstractArchiveSaveAdapter.save(AbstractArchiveSaveAdapter.java:40)
    at org.eclipse.jst.jee.archive.internal.ArchiveFactoryImpl.save(ArchiveFactoryImpl.java:114)
    at org.eclipse.jst.jee.archive.internal.ArchiveFactoryImpl.saveArchive(ArchiveFactoryImpl.java:76)
    at org.eclipse.jst.j2ee.internal.archive.operations.J2EEArtifactExportOperation.saveArchive(J2EEArtifactExportOperation.java:248)
    ... 12 more
    !SUBENTRY 1 org.eclipse.wst.common.frameworks 4 0 2009-04-15 11:14:13.035
    !MESSAGE Extended Operation failure: org.eclipse.jst.j2ee.internal.archive.operations.EARComponentExportOperation
    !STACK 0
    org.eclipse.core.commands.ExecutionException: Error exportingEAR
    at org.eclipse.jst.j2ee.internal.archive.operations.J2EEArtifactExportOperation.execute(J2EEArtifactExportOperation.java:103)
    at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl$1.run(DataModelPausibleOperationImpl.java:376)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
    at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.runOperation(DataModelPausibleOperationImpl.java:401)
    at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.runOperation(DataModelPausibleOperationImpl.java:352)
    at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.doExecute(DataModelPausibleOperationImpl.java:242)
    at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.executeImpl(DataModelPausibleOperationImpl.java:214)
    at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.cacheThreadAndContinue(DataModelPausibleOperationImpl.java:89)
    at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.execute(DataModelPausibleOperationImpl.java:202)
    at org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelWizard$1$CatchThrowableRunnableWithProgress.run(DataModelWizard.java:211)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
    Caused by: org.eclipse.jst.j2ee.commonarchivecore.internal.exception.SaveFailureException: Error opening archive for export..
    at org.eclipse.jst.j2ee.internal.archive.operations.EARComponentExportOperation.export(EARComponentExportOperation.java:66)
    at org.eclipse.jst.j2ee.internal.archive.operations.J2EEArtifactExportOperation.execute(J2EEArtifactExportOperation.java:95)
    ... 10 more
    Caused by: org.eclipse.jst.jee.archive.ArchiveSaveFailureException: java.lang.NullPointerException
    at org.eclipse.jst.jee.archive.AbstractArchiveSaveAdapter.save(AbstractArchiveSaveAdapter.java:66)
    at org.eclipse.jst.jee.archive.internal.ArchiveFactoryImpl.save(ArchiveFactoryImpl.java:114)
    at org.eclipse.jst.jee.archive.internal.ArchiveFactoryImpl.saveArchive(ArchiveFactoryImpl.java:76)
    at org.eclipse.jst.j2ee.internal.archive.operations.J2EEArtifactExportOperation.saveArchive(J2EEArtifactExportOperation.java:247)
    at org.eclipse.jst.j2ee.internal.archive.operations.EARComponentExportOperation.export(EARComponentExportOperation.java:43)
    ... 11 more
    Caused by: java.lang.NullPointerException
    at org.eclipse.jst.j2ee.internal.archive.JavaEEArchiveUtilities.isEJBArchive(JavaEEArchiveUtilities.java:466)
    at org.eclipse.jst.j2ee.internal.archive.JavaEEArchiveUtilities.refineForJavaEE(JavaEEArchiveUtilities.java:362)
    at org.eclipse.jst.j2ee.internal.archive.JavaEEArchiveUtilities.openArchive(JavaEEArchiveUtilities.java:267)
    at org.eclipse.jst.jee.archive.internal.ArchiveFactoryImpl.openArchive(ArchiveFactoryImpl.java:45)
    at org.eclipse.jst.j2ee.internal.archive.JavaEEArchiveUtilities.openArchive(JavaEEArchiveUtilities.java:115)
    at org.eclipse.jst.j2ee.internal.archive.EARComponentArchiveLoadAdapter.addModulesAndUtilities(EARComponentArchiveLoadAdapter.java:78)
    at org.eclipse.jst.j2ee.internal.archive.EARComponentArchiveLoadAdapter.getArchiveResources(EARComponentArchiveLoadAdapter.java:54)
    at org.eclipse.jst.jee.archive.internal.ArchiveImpl.getArchiveResources(ArchiveImpl.java:167)
    at org.eclipse.jst.jee.archive.AbstractArchiveSaveAdapter.getArchiveResourcesForSave(AbstractArchiveSaveAdapter.java:74)
    at org.eclipse.jst.jee.archive.AbstractArchiveSaveAdapter.save(AbstractArchiveSaveAdapter.java:40)
    at org.eclipse.jst.jee.archive.internal.ArchiveFactoryImpl.save(ArchiveFactoryImpl.java:114)
    at org.eclipse.jst.jee.archive.internal.ArchiveFactoryImpl.saveArchive(ArchiveFactoryImpl.java:76)
    at org.eclipse.jst.j2ee.internal.archive.operations.J2EEArtifactExportOperation.saveArchive(J2EEArtifactExportOperation.java:248)
    ... 12 more
    !ENTRY com.bea.workshop.webservices.export 2 2 2009-04-15 11:32:13.836
    !MESSAGE Skipping Annotation Manifest Generation since control required classes are not on the build path.
    Any help on this is really appreciable
    Regards,
    Kal.

    Hi All,
    problem is resolved for me.
    After removing unnecessary jar from APP-INF/lib folder it resolve my problem.
    Regards,
    kal.
    Edited by: kalyan Pasupuleti on May 17, 2009 10:28 AM

  • Error connection to Telnet Server from a Java client GUI

    Hi,
    I have developed a GUI in Swing to get the server ip address, user is and password and then connect to the telnet server. When I enter the above details and hit the "Connect" button, The application hangs. I am ot sure, if the application conencts to the server and then hangs or hanging for some other reason. I have given some System.out.printl statements to keep track.
    Below is my code. I would appreciate any help in this regards.
    Thanks in advance.
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.net.*;
    import java.io.*;
    public class Login
    private JFrame frm;
    private JTextField serField;
    private JTextField idField;
    private JPasswordField pwdField;
    public static void main(String[] str)
    new Login();
    public Login()
    frm = new JFrame("Login Screen");
         frm.setSize(500,200);
         frm.addWindowListener(new WindowAdapter(){
    public void windowClosing(WindowEvent we)
              System.exit(0);
         frm.getContentPane().setLayout(new FlowLayout());
         addLoginFields();
         frm.setVisible(true);
    private void addLoginFields()
    JPanel idPanel1 = new JPanel();
    JPanel idPanel2 = new JPanel();
    JPanel serverPanel1 = new JPanel();
    JPanel serverPanel2 = new JPanel();
    JPanel pwdPanel1 = new JPanel();
    JPanel pwdPanel2 = new JPanel();
    JPanel connectPanel = new JPanel();
    JPanel cancelPanel = new JPanel();
    JPanel labelPanel = new JPanel(new GridLayout(3,1));
    JPanel fieldPanel = new JPanel(new GridLayout(3,1));
    JPanel buttonPanel = new JPanel();
    JButton connectButton = new JButton("Connect");
    JButton cancelButton = new JButton("Cancel");
    serverPanel1.add(new JLabel("Server "));
    serField = new JTextField("rhosp035",10);
    serverPanel2.setLayout(new FlowLayout(FlowLayout.LEFT));
    serverPanel2.add(serField);
    idPanel1.add(new JLabel("User ID"));
    idField = new JTextField(30);
    idPanel2.add(idField);
    pwdPanel1.add(new JLabel("Password"));
    pwdPanel2.setLayout(new FlowLayout(FlowLayout.LEFT));
    pwdField = new JPasswordField(10);
    pwdPanel2.add(pwdField);
    labelPanel.add(serverPanel1);
    labelPanel.add(idPanel1);
    labelPanel.add(pwdPanel1);
    fieldPanel.add(serverPanel2);
    fieldPanel.add(idPanel2);
    fieldPanel.add(pwdPanel2);
    connectPanel.setLayout(new FlowLayout(FlowLayout.RIGHT));
    connectPanel.add(connectButton);
    cancelPanel.setLayout(new FlowLayout(FlowLayout.LEFT));
    cancelPanel.add(cancelButton);
    buttonPanel.setSize(500,50);
    buttonPanel.setLayout(new FlowLayout(FlowLayout.CENTER));
    buttonPanel.add(connectPanel);
    buttonPanel.add(cancelPanel);
    JPanel infoPanel = new JPanel();
    infoPanel.setSize(500,100);
    infoPanel.add(labelPanel);
    infoPanel.add(fieldPanel);
    frm.getContentPane().add(infoPanel);
    frm.getContentPane().add(buttonPanel);
    connectButton.addActionListener(new ActionListener(){
    public void actionPerformed(ActionEvent ae)
    connectToUnix();
    cancelButton.addActionListener(new ActionListener(){
    public void actionPerformed(ActionEvent ae)
    System.out.println("Connection to Unix cancelled");
    System.exit(0);
    private void connectToUnix()
    System.out.println("Connection to Unix to be added");
    Socket clientSocket = null;
    PrintWriter writer = null;
    BufferedReader reader =null;
    int code = 0;
    try{
         clientSocket = new Socket(InetAddress.getByName(serField.getText()),23);
    reader = new BufferedReader(new InputStreamReader(clientSocket.getInputStream()));
    writer = new PrintWriter(new OutputStreamWriter(clientSocket.getOutputStream()));
    while((code = reader.read()) != 243)
    System.out.println("Server Response : " + code);
    switch(code)
    case 37:
    //System.out.println("user id : " + idField.getText());
         writer.print(idField.getText());
    break;
    case 24:
              //System.out.println("password : " + pwdField.getText());
    writer.print(pwdField.getText());
              System.out.println("code : " + code);
    break;
         case 251:
              System.out.println("********* Login required again code : " + code);
    break;
    default:
    System.out.println("--------------Default option code : " + code);
    break;
    writer.print(132);
    catch(IOException ie)
    System.out.println(ie.toString());
    catch(Exception e)
         System.out.println("Exception : " + e.toString());
    finally
         try{
    reader.close();
    clientSocket.close();
         catch(IOException ie)
    System.out.println("While closing : " + ie.toString());

    Also,
    I would like to know I to check if the user id and password are valid.
    How to disconnect from the client GUI?
    Thanks.

  • SQL Exception while connecting MS SQL DB from Weblogic - URGENT

    We are getting lot of errors like this in our server logs.
    Let us know how to resolve these errors.
    <Dec 11, 2013 3:05:01 AM EST> <Error> <Lease> <BEA-403302> <An unexpected SQL exception occured java.sql.SQLException: [BEA][SQLServer JDBC Driver][SQLServer]Violation of PRIMARY KEY constraint 'PK_LEASE'. Cannot insert duplicate key in object 'dbo.P13N_LEASE'. The duplicate key value is (JobManagerImpl)..
    java.sql.SQLException: [BEA][SQLServer JDBC Driver][SQLServer]Violation of PRIMARY KEY constraint 'PK_LEASE'. Cannot insert duplicate key in object 'dbo.P13N_LEASE'. The duplicate key value is (JobManagerImpl).

    Hello,
    WLP Version ?
    Emmanuel

Maybe you are looking for