Oracle Communicator With Jboss AS

I´m trying to instal OCMS with JBoss App Server. All installation finish well, but when i try to run the application server it cant start rigth and always show me this Exception:
2007-08-30 15:00:28,475 ERROR [STDERR] java.lang.ClassNotFoundException: No ClassLoaders found for: oracle.sdp.locationdbservice.LocationDbServiceBD
2007-08-30 15:00:28,475 ERROR [STDERR]      at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:306)
2007-08-30 15:00:28,475 ERROR [STDERR]      at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:511)
2007-08-30 15:00:28,475 ERROR [STDERR]      at
And in the end ........
Caused by: java.lang.NullPointerException
     at oracle.sdp.registrar.RegistrarServlet.init(Unknown Source)
     at oracle.sdp.registrar.VoipRegistrarServlet.init(Unknown Source)
     at javax.servlet.GenericServlet.init(GenericServlet.java:211)
     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:585)
     at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287)
     at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:165)
     at $Proxy60.init(Unknown Source)
     at oracle.sdp.sipservletengine.impl.SipApplicationImpl.instantiateSipServletsAndCallInit(Unknown Source)
     at oracle.sdp.sipservletengine.impl.SipApplicationImpl.start(Unknown Source)
     at oracle.sdp.sipservletengine.impl.ApplicationManagerImpl.startApplication(Unknown Source)
     ... 69 more
2007-08-30 15:00:28,616 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@1b0a98d7{ url=file:/C:/programas/jboss-4.0.5.GA/server/default/deploy/proxyregistrarear-4.1.0-723.ear, deployedLastModified=0 }
org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.NullPointerException)
This should be really easy, but the thing is it isnt working. this sucks!
Any body has installed it and got it working ??

Hi Mauricio,
I installed OCMS in JBOSS AS 4.0.5.GA installation mode.I m facing the same problem on ocms startup, i.e., proxyregistrar war file is not deployed properly. OCMS not working properly with JBOSS AS 4.2.1 GA and JBOSS AS 4.2.2 GA too i.e., OCMS MBeans are not shown in the jmx-console page and the oc is not getting connected to the ocms, traffic.log file shows that application proxyregistrar is not found. Please help me out in solving this issue.
Regards,
Harini Dhanasekaran.

Similar Messages

  • Oracle Workflow with Jboss

    hi all,
    Anybody have worked with jOracle workflow and Jboss?
    Any problem?
    Thanks a lot
    Juan

    Sorry, Oracle Workflow and Jboss...

  • Showing oracle reports with JBOSS as AS

    hi:
    I have to show oracle reports 10g on Win xp Prof. in my current web application. I am using JBOSS as my appserver
    I have installed the Oracle AS and the reports services r running... I have also installed the Stand Alone J2EE Thin Client
    (http://www.oracle.com/technology/products/reports/htdocs/getstart/examples/Tools/index.html)
    I followed the steps in doc(refer to link above) but don't understand the following step
    3. Use THINCLIENT_HOME/vbroker4/lib/vbjboot.jar while starting the application server.
    I have updated the xml files in OC4J which is in my Oracle_infra directroy
    then
    I ran the following command (according to that doc)
    java -Xbootclasspath/p:<THINCLIENT_HOME>/vbroker4/lib/vbjboot.jar -jar oc4j.jar
    the result of this command is following
    06/02/09 14:57:37 Oracle Application Server Containers for J2EE 10g (9.0.4.0.0) initialized
    after this according to this doc if i write
    http://machine:port/reports/rwservlet it should show the rwservlet
    My Oracle AS and JBoss are installed in the same comp...so for the localhost of
    Oracle AS showed rwservelt without doing the above steps but the localhost for jbos is not showing rwservlet
    Now after all these steps...i don't understand what to do next and my problem is still there which is How to deploy reports made by oracle reports from my web project links
    using JBoss as app server
    please help i need to have this solved ASAP
    regards
    Waqas

    If the links in your example report1 and report2
    follow my format stated earlier
    http://machine:port/reports/rwservlet/report=reportnam
    e.rdf&destype=cache& paramform=htmlcss&server=<YourReportSe
    rverName>&userid=scott/tiger@hrdb&desformat=pdf
    This is what I believe
    >
    so http://machine:port/ is the port where
    JBoss is running and
    This should be the port that the report server is listening on
    >
    server=<YourReportServerName> is the name of
    my oracle report server
    so I call the above link in my current application
    and the report would show up
    Yes
    >
    that means (correct me if I am wrong) that my reports
    would have to be deployed in OracleAS
    Yes
    >
    I have to try all this yet as till this point I was
    trying to run Oracle reports deployed in JBoss...
    This may be possible, I am not sure.
    >
    Oracle J2EE Thin Client?
    I am not sure what this is used for in your setup.

  • PROBLEM connect oracle 9i with JBOSS 3.2.3  application server

    i want to connect my web app to oracle9i by jboss3.2.3 .
    The database is on server machine in my domain and the application is on my local machine.
    Please help me is urgent
    Thanks

    To configure JBoss with Oracle dataabse.
    1. Copy Oracle's JDBC driver .zip file /jdbc/lib/classes12.zip to the server/default/lib directory.
    2. Copy /docs/examples/jca/oracle-ds.xml , to /server/default/deploy dir.
    3. In the oracle-ds.xml file set the <driver-class/> and <connection-url/> settings
    Class: oracle.jdbc.driver.OracleDriver
    URL: jdbc:oracle:thin:@<host>:<port>:<database>
    In the Connection URL setting, <host> is the HOST value specified in the /network/ADMIN/tnsnames.ora file, and <port> is the PORT value specified in the tnsnames.ora file, and <database> is the database name.
    4.
    Modify the standardjbosscmp-jdbc.xml configuration file, setting the <datasource> and <datasource-mapping> elements to use Oracle:
    <jbosscmp-jdbc>
    <defaults>
    <datasource>java:/OracleDS</datasource>
    <datasource-mapping>Oracle9i</datasource-mapping>
    </defaults>
    </jbosscmp-jdbc>
    5.
    Modify login-config.xml to use Oracle. Add the following <application-policy> element to login-config.xml:
    <application-policy name = "OracleDbRealm">
    <authentication>
    <login-module code =
    "org.jboss.resource.security.ConfiguredIdentityLoginModule"
    flag = "required">
    <module-option name = "principal">sa</module-option>
    <module-option name = "userName">sa</module-option>
    <module-option name = "password"></module-option>
    <module-option name ="managedConnectionFactoryName">
    jboss.jca:service=LocalTxCM,name=OracleDS
    </module-option>
    </login-module>
    </authentication>
    </application-policy>
    5.

  • Oracle Apps Adapter with jboss

    Hi,
    I'm using BPEL 10.1.2 with JBoss and I'm having trouble getting the Apps Adapter to work. I've tried configuring AppsAdapter-ds.xml in the deploy directory but I get the error message below when I invoke the process. Basically, the connection URL is invalid ? Looks ok to me, am I missing something. All the doco, even that with JBoss only talks about oracle BPEL engine. Not particularly helpful.
    matt.
    13:42:22,835 INFO [STDOUT] <2006-02-06 13:42:22,835> <INFO> <default.collaxa.cube.ws> <AdapterFramework::Outbound> file:/C:/development/orabpel_jboss1012/domains/default/tmp/.bpel_BPELProcess1_1.0.jar/OracleDev11.wsdl [ OracleDev11_ptt::OracleDev11Select(OracleDev11Select_inparameters,ArCustomersCollection) ] - Using JCA Connection Pool - max size = <unbounded>
    13:42:23,788 INFO [STDOUT] <2006-02-06 13:42:23,788> <ERROR> <default.collaxa.cube.ws> <Database Adapter::Outbound> <oracle.tip.adapter.db.DBManagedConnectionFactory acquireClientSession> unable to build the TopLink Session
    13:42:23,804 INFO [STDOUT] <2006-02-06 13:42:23,804> <ERROR> <default.collaxa.cube.ws> <Database Adapter::Outbound> <oracle.tip.adapter.db.DBInteraction executeOutboundRead> unable to execute the NamedQuery: BPELProcess1.ArCustomers.OracleDev11Select
    13:42:23,804 INFO [STDOUT] <2006-02-06 13:42:23,804> <ERROR> <default.collaxa.cube.ws> <AdapterFramework::Outbound> file:/C:/development/orabpel_jboss1012/domains/default/tmp/.bpel_BPELProcess1_1.0.jar/OracleDev11.wsdl [ OracleDev11_ptt::OracleDev11Select(OracleDev11Select_inparameters,ArCustomersCollection) ] - Could not invoke operation 'OracleDev11Select' against the 'Database Adapter' due to:
    ORABPEL-11622
    Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    See root exception for the specific exception. You may need to configure the connection settings in the deployment descriptor (i.e. orabpel/system/app
    server/jboss/server/default/deploy/DbAdapter-ds.xml) and restart the server. Caused by Exception [TOPLINK-4002] (OracleAS TopLink - 10g (9.0.4.5) (Build 040930)): oracle.toplink.exceptions.DatabaseException
    Exception Description: java.sql.SQLException: Invalid Oracle URL specified
    Internal Exception: java.sql.SQLException: Invalid Oracle URL specified
    Error Code: 17067.
    13:42:23,804 INFO [STDOUT] <2006-02-06 13:42:23,804> <INFO> <default.collaxa.cube.ws> <AdapterFramework::Outbound> Change logging level for Logger 'default.collaxa.cube.ws' to DEBUG to see full error stack
    13:42:23,804 INFO [STDOUT] <2006-02-06 13:42:23,804> <ERROR> <default.collaxa.cube.ws> <AdapterFramework::Outbound> file:/C:/development/orabpel_jboss1012/domains/default/tmp/.bpel_BPELProcess1_1.0.jar/OracleDev11.wsdl [ OracleDev11_ptt::OracleDev11Select(OracleDev11Select_inparameters,ArCustomersCollection) ] - Rolling back JCA LocalTransaction
    13:42:23,976 INFO [STDOUT] <2006-02-06 13:42:23,976> <ERROR> <default.collaxa.cube.sensor> <PCException::<init>> JMS connection factory lookup failed.
    13:42:23,976 INFO [STDOUT] <2006-02-06 13:42:23,976> <ERROR> <default.collaxa.cube.sensor> <PCException::<init>> Please verify the JMS configuration.
    13:42:23,976 INFO [STDOUT] <2006-02-06 13:42:23,976> <ERROR> <default.collaxa.cube.sensor> <DefaultDataRouter::send> JMS connection factory lookup failed.
    13:42:23,976 INFO [STDOUT] <2006-02-06 13:42:23,976> <ERROR> <default.collaxa.cube.sensor> <DefaultDataRouter::send> Please verify the JMS configuration.

    I don't know if this is the answer or not, but at least worth a try.
    A few years ago, JBoss was VERY unforgiving if installed on a windows machine with a space in the path. Most JBoss functionality would work fine, but in some situations, it would complain about the URL, just as it has in your case. It looks to me as if you do have a space in your path. I don't know if they ever got around to fixing it (I filed the original bug on the JBoss bug system). It's at least worth a try, or at least a search through the JBoss site to see if this issue still exists.
    Catherine

  • Question about Communication with Oracle 7

    Hi,
    Generally we use Oracle Snapshots for Communication, but since Oracle 9.2.0.5 do not work with Oracle 7.1.5.2.4. we are thinking about do use Oracle Interconnect for this Link.
    Now I have the following two Questions about Communication with Oracle 7:
    1. Is an Adapter for Oracle 7.1.5.2.4 available?
    2. From your experience, does it make sense to install Oracle Interconnect for implementation of only one read only Link with 3 Tables if an OAS for BI is available?
    Thanks,
    Hannes

    1. The Oracle database adapter is for Oracle 8i and up. I checked the code needed in the database and doubt that will work in Oracle 7.
    1. The other option Advanced Queuing also needs 8i and up.
    2. For me it doesnt make sense that you want to connect to Oracle 7. Oracle 7 is unsupported and should not have to be developed against. Also the license costs for Oracle Interconnect ~17K without any discount is a bit steep for read only links to three tables. Having the OAS means you wont have to pay another additional ~17K for the apps server.

  • Oracle Communicator installer exit with error 1904

    When i launch the Oracle communicator setup to install on Windows, i obtain the message in a popup window :
    "Error 1904. Module C:\Program Files\Oracle\Oracle Communicator\GIPSTron.dll failed to register. HRESULT -2147024770."
    If i choose to ignore this error the setup abort later.
    I tried to remove Communicator KEYs from the register without success.
    Thanks for help

    Hello ,
    I understand that Oracle Communicator is only supported on Windows XP but I would like to know if anybody successfully installed it on Windows Vista as I get a dialog error almost at the end of the install process that says :
    "Microsoft Visual c++ Runtime Library Error , This application has requested the application to terminate in an unusual way"
    when I dismiss the dialog I get another one :
    "Oracle Communicator Setup Error 1722, there is a problem with the windows installer package..."
    Any suggestion is welcome,
    Thanks.

  • OIM installation with JBoss 4.2.3GA

    Hello..
    I have installed OIM 9.1.0.1 with JBoss 4.2.3GA. And getting the following error when access the http://localhost:8080/xlWebApp
    INFO [TomcatDeployer] deploy, ctxPath=/xlScheduler, warUrl=.../tmp/deploy/tmp21688xlScheduler-exp.war/
    INFO [WEBSTARTUP] Start the Scheduler on server startup : true
    INFO [WEBSTARTUP] SchedulerInitServlet/initializeScheduler method reads data from TSK/TSA tables and initialize Quartz scheduler with the task and trigger details
    ERROR [STDERR] javax.naming.NamingException: Could not dereference object [Root exception is javax.naming.NameNotFoundException: jdbc not bound]
    ERROR [STDERR]      at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1215)
    ERROR [STDERR]      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:758)
    ERROR [STDERR]      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:774)
    ERROR [STDERR]      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
    ERROR [STDERR]      at javax.naming.InitialContext.lookup(InitialContext.java:392)
    ERROR [STDERR]      at com.thortech.xl.util.DirectDB.getDataSource(Unknown Source)
    ERROR [STDERR]      at com.thortech.xl.util.DirectDB.getConnection(Unknown Source)
    ERROR [STDERR]      at com.thortech.xl.util.DirectDB.getConnection(Unknown Source)
    ERROR [STDERR]      at com.thortech.xl.scheduler.common.SchedulerUtil.getManagedConnection(Unknown Source)
    ERROR [STDERR]      at com.thortech.xl.scheduler.deployment.webapp.SchedulerInitServlet.initializeScheduler(Unknown Source)
    ERROR [STDERR]      at com.thortech.xl.scheduler.deployment.webapp.SchedulerInitServlet.startScheduler(Unknown Source)
    ERROR [STDERR]      at com.thortech.xl.scheduler.deployment.webapp.SchedulerInitServlet.init(Unknown Source)
    ERROR [STDERR]      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
    ERROR [DATABASE] Class/Method: DirectDB/getConnection encounter some problems: Error while retrieving database connection.Please check for the follwoing
    Database srever is running.
    Datasource configuration settings are correct.
    java.lang.NullPointerException
         at com.thortech.xl.util.DirectDB.getConnection(Unknown Source)
         at com.thortech.xl.util.DirectDB.getConnection(Unknown Source)
         at com.thortech.xl.scheduler.common.SchedulerUtil.getManagedConnection(Unknown Source)
         at com.thortech.xl.scheduler.deployment.webapp.SchedulerInitServlet.initializeScheduler(Unknown Source)
         at com.thortech.xl.scheduler.deployment.webapp.SchedulerInitServlet.startScheduler(Unknown Source)
         at com.thortech.xl.scheduler.deployment.webapp.SchedulerInitServlet.init(Unknown Source)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4071)
    please help me resolve this issue. Thanks in advance

    Hi,
    The server started with some errors.
    INFO [WEBSTARTUP] SchedulerInitServlet/initializeScheduler method reads data from TSK/TSA tables and initialize Quartz scheduler with the task and trigger details
    ERROR [STDERR] javax.naming.NamingException: Could not dereference object [Root exception is javax.naming.NameNotFoundException: jdbc not bound
    Oracle DB is running fine. But not sure on how to verity the connectivity between the OIM and the database. Some more hints would be helpful
    Thanks.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Problem in Blazeds with Jboss Clustering ( Mod_JK with SSL )

    Hi,
         We are running our flex application in jboss clustering environment with the help of Apache mod_jk(Apache Web server as front end with mod_ssl enabled). We are using the SecureAMFChannel as we deploy the application in SSL. We use the RemoteObject for communicating with Java.
    The Application is running fine when we have only one node of JBoss. But once we add one more node to the cluster the application throws the following exception .
    Duplicate HTTP-based FlexSession error: A request for FlexClient 'FDCA49A7-9317-4D8A-881F-9248B1136E7A' arrived over a new FlexSession 'C9C563B8266A03C2207C00796CD7DFF1', but FlexClient is already associated with  FlexSession '8A328320F5C530D55E94568996A1B552', therefore it cannot be associated with the new session.
    As I am maintaing the session in the server, I need to use the JBoss cluster for session replication. I heard that flex clustering is not needed as we have mod_jk and it will do all the stuff for us.
    I checked with simple application without any session data also then too I faced the same problem.
    After the very first login, I can see 2 session created simultaneously and destroyed. I checked the application whether it calls twice before the session is created, but it is calling only once.
    Also when application connects with server2 and if I down the server2 my flex application throws the error that the server is not found, It is not detecting the other server.But it works once I refresh the browser.
    Application Environment Details
    JBoss 6
    Blaze Ds 4.5
    Apache Web server 2.2.21
    Mod_JK   1.2.32
    Mod_SSL 2.8.31
    Thanks,
    Suresh T
    I enabled the sticky session in Mod_jk .
    It is working when the connection is not secure(http) in both apache web server and jboss web server ). But when the connection is https the above problem is happening .
    Message was edited by: suresh.thirumurugan

    Hi,
     Thanks for your info.
      It worked for me as well.
    Thanks,
    Prasad
    On 6/26/08,
    Matthieu Labour <
    [email protected]> wrote:
    A new message was posted by Matthieu Labour in
    Configuration and Getting Started Discussion --
      Problem with configuring BlazeDS with JBOSS
    You might want to download the following tutorial
    http://sebastien-arbogast.com/2008/04/10/flex-spring-and-blazeds-the-full-stack/
    it works on jboss
    Best
    Matt
    View/reply at
    Problem with configuring BlazeDS with JBOSS
    Replies by email are OK.
    Use the
    unsubscribe form to cancel your email subscription.

  • Oracle Reports with XML output showing data as asterik character

    Hello,
    I'm trying to create an Oracle report with xml output. Here is the issue I'm having some of the columns in my report are of datatype number. When I run the report and generate xml file the values for those columns(datatype number) are showing as (*) character, other columns are showing fine. But when I run the report as text output then data is fine. I don't understand why this is happening.
    The property of column is Column Type - Database Scalar, Datatype - Number , width 0,-127.
    Does the width has to do anything with this?
    I'm using Report Builder 6.0.8.11.3, DB version 10g.
    Can anyone please help me with the issue I'm having.
    Thanks

    If the links in your example report1 and report2
    follow my format stated earlier
    http://machine:port/reports/rwservlet/report=reportnam
    e.rdf&destype=cache& paramform=htmlcss&server=<YourReportSe
    rverName>&userid=scott/tiger@hrdb&desformat=pdf
    This is what I believe
    >
    so http://machine:port/ is the port where
    JBoss is running and
    This should be the port that the report server is listening on
    >
    server=<YourReportServerName> is the name of
    my oracle report server
    so I call the above link in my current application
    and the report would show up
    Yes
    >
    that means (correct me if I am wrong) that my reports
    would have to be deployed in OracleAS
    Yes
    >
    I have to try all this yet as till this point I was
    trying to run Oracle reports deployed in JBoss...
    This may be possible, I am not sure.
    >
    Oracle J2EE Thin Client?
    I am not sure what this is used for in your setup.

  • Install OIM 9.0.2 on Linux with JBOSS or OAS 10.1.3.1

    Hi all,
    I try to install OIM on RHEL 4 update 3 .
    First I installed OIM 9.0.2 in Oracle 10.2.0.1 with JBOSS and I obstacled with errors during compilling adapters of OEBS and OID from Connectors Pack.
    After that I desided to install OIM in existing Oracle 10.2.0.1 on OAS 10.1.3.1 during installation I obstacle with follow error "Oracle Identity Manager installer has found that Oracle Application Server is not running. So, start Oracle Application Server and then proceed with installation."
    I tested my OAS and I's starting
    Please give me advise about my abilities with installation OIM 9.0.2 on Linux.

    For JBOSS I use
    ./java -version
    java version "1.4.2_13"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_13-b06)
    Java HotSpot(TM) Client VM (build 1.4.2_13-b06, mixed mode)
    For OAS 10.1.3.1 I use
    ./java -version
    java version "1.5.0_06"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
    Java HotSpot(TM) Server VM (build 1.5.0_06-b05, mixed mode)
    After all, I installed OIM 9.0.2 on OAS 10.1.3.1 but I have same problems which I have with JBOSS installation:
    1. I have warnings during import xml files of adapters such as
    OID User
    [Warning] Warn:Target has more recent definition.
    Lookup.OID.Department
    [Warning] Warn:Target has more recent definition.
    Lookup.OID.Location
    [Warning] Warn:Target has more recent definition.
    UD_OID_ROLE
    [Warning] Warn:Target has more recent definition.
    adpOIDADDUSERTOGROUP
    [Warning] Warn:Target has more recent definition.
    AttrName.Prov.Map.OID
    [Warning] Warn:Target has more recent definition.
    com.thortech.xl.dataobj.tcUD_OID_ROLE
    [Warning] Warn:Target has more recent definition.
    com.thortech.xl.dataobj.tcOBJ
    [Warning] Warn:Target has more recent definition.
    etc ...
    2. I have errors during compilling adapters in Design Console, It's error such as ""CODE GEN EXCEPTION" "

  • Java.lang.InstantiationException: Error communicating with server:

    Hello everybody, I am an easy Helloworld application, the deploy is fine, but when I execute the client it appears the next error:
    java.lang.InstantiationException: Error communicating with server: Lookup error:
    java.net.ConnectException: Connection refused: connect; nested exception is:
    java.net.ConnectException: Connection refused: connect; nested exception
    is:
    javax.naming.NamingException: Lookup error: java.net.ConnectException: C
    onnection refused: connect; nested exception is:
    java.net.ConnectException: Connection refused: connect
    at com.evermind.server.ApplicationClientContext.createContext(Applicatio
    nClientContext.java:300)
    at com.evermind.server.ApplicationClientInitialContextFactory.getInitial
    Context(ApplicationClientInitialContextFactory.java:190)
    at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
    at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
    at javax.naming.InitialContext.init(Unknown Source)
    at javax.naming.InitialContext.<init>(Unknown Source)
    at hello.HelloClient.main(HelloClient.java:33)
    NamingException: Error reading application-client descriptor: Error communicatin
    g with server: Lookup error: java.net.ConnectException: Connection refused: conn
    ect; nested exception is:
    java.net.ConnectException: Connection refused: connect; nested exception
    is:
    javax.naming.NamingException: Lookup error: java.net.ConnectException: C
    onnection refused: connect; nested exception is:
    java.net.ConnectException: Connection refused: connect
    This is my application client:
    // HelloClient.java
    package hello;
    import javax.ejb.*;
    import javax.naming.*;
    import javax.rmi.PortableRemoteObject;
    import java.io.*;
    import java.util.*;
    import java.rmi.RemoteException;
    * A simple client for accessing an EJB.
    public class HelloClient
    public static void main(String[] args)
    System.out.println("client started...");
    try {
    // Initial context properties are set in the jndi.properties file
         Hashtable env = new Hashtable();
         env.put(Context.INITIAL_CONTEXT_FACTORY,"com.evermind.server.ApplicationClientInitialContextFactory");
         env.put(Context.PROVIDER_URL, "ormi://ecd11107.eadscasa.casa.corp:23791/helloworld");
         env.put(Context.SECURITY_PRINCIPAL, "admin");
         env.put(Context.SECURITY_CREDENTIALS, "123");
         Context context = new InitialContext(env);
    // This for use with com.evermind.server.rmi.RMIInitialContextFactory
    //Object homeObject = context.lookup("HelloBean");
    // This is for use with com.evermind.server.ApplicationClientInitialContextFactory
    Object homeObject = context.lookup("java:comp/env/Helloworld");
    // Narrow the reference to HelloHome.
    HelloHome home =
         (HelloHome) PortableRemoteObject.narrow(homeObject, HelloHome.class);
         System.out.println("hello home");
    // Create remote object and narrow the reference to Hello.
    Hello remote =
         (Hello) PortableRemoteObject.narrow(home.create(), Hello.class);
    System.out.println(remote.sayHello("James Earl"));
    } catch(NamingException e) {
    System.err.println("NamingException: " + e.getMessage());
    } catch(RemoteException e) {
    System.err.println("RemoteException: " + e.getMessage());
    } catch(CreateException e) {
    System.err.println("FinderException: " + e.getMessage());
    Can somebody helps me ???

    Thank you, but don�t work well yet. I checked the files orion-application.xml & principals.xml in the directory C:\servOracle\oracle\j2ee\home\application-deployments\helloworld but the result is the same, when I run the client the next error appears:
    NamingException: Lookup error: javax.naming.NoPermissionException: Not allowed to look up HelloBean, check the namespace-access tag setting in orion-application.xml for details; nested exception is:
    javax.naming.NoPermissionException: Not allowed to look up HelloBean, check the namespace-access tag setting in orion-application.xml for details
    This is my orion-application.xml
    <?xml version="1.0"?>
    <!DOCTYPE orion-application PUBLIC "-//ORACLE//DTD OC4J Application runtime 9.04//EN" "http://xmlns.oracle.com/ias/dtds/orion-application-9_04.dtd">
    <orion-application deployment-version="9.0.4.0.0" default-data-source="jdbc/OracleDS" treat-zero-as-null="true">
         <ejb-module remote="false" path="helloworld-ejb.jar" />
         <web-module id="helloworld-web" path="helloworld-web.war" />
         <client-module path="helloworld-client" deployment-time="fce4439997" auto-start="false" />
         <persistence path="persistence" />
         <principals path="principals.xml" />
         <jazn provider="XML" location="jazn-data.xml" />
         <log>
              <file path="application.log" />
         </log>
         <namespace-access>
              <read-access>
                   <namespace-resource root="">
                        <security-role-mapping name="<jndi-user-role>">
                             <group name="users" />
                        </security-role-mapping>
                   </namespace-resource>
              </read-access>
              <write-access>
                   <namespace-resource root="">
                        <security-role-mapping name="<jndi-user-role>">
                             <group name="users" />
                        </security-role-mapping>
                   </namespace-resource>
              </write-access>
         </namespace-access>
    </orion-application>
    And this is my principals.xml
    <?xml version="1.0"?>
    <!DOCTYPE principals PUBLIC "//ORACLE//DTD OC4J Principals 9.04//EN" "http://xmlns.oracle.com/ias/dtds/principals-9_04.dtd">
    <principals>
         <groups>
              <group name="users">
                   <description>users</description>
                   <permission name="rmi:login" />
              </group>
              <group name="guests">
                   <description>guests</description>
              </group>
              <group name="administrators">
                   <description>administrators</description>
                   <permission name="administration" />
              </group>
         </groups>
         <user username="admin" password="ADMIN">
              <description>The default administrator</description>
              <group-membership group="administrators" />
              <group-membership group="guests" />
              <group-membership group="users" />
         </user>
         <user username="SCOTT" password="TIGER">
              <description>no description</description>
              <group-membership group="users" />
              <group-membership group="administrators" />
         </user>
    </principals>
    Thanks in advance, please help me....

  • Access to reach Oracle database with ODBC

    Hello oracle community,
    Oracle 11.1.0.7.0, Access 2007:
    We have an ODBC driver to connect to the oracle database over access. it is working fine, just when we open two instance of access on the same machine, two connections (over same ODBC) to different schema/users and starting a query, he is not able to find the tables of the second connection. it seems like he is using the wrong user. is there any solution or anything we are doing wrong ?
    Ikrischer

    I tried all three options: "use US setttings", "use Microsoft regional settings" and "use Oracle NLS settings", none worked (hope I dont need to reboot for that). When I am working with Toad and make an insert, I can perform an insert statement with '1,5' for a numeric column, everything is fine. When I am trying the same in the access programm (I can enter values there directly into the linked table) I get an error message ora-01722 for the value '1,5'. But if I try to insert 1.5 into access, he is converting it to 15.
    PS: just made another test, not inserting values, just reading records from the table. I opened the table in Excel over the same ODBC driver, everything is fine, the value '1,5' for one record. When I use the same ODBC driver in Access, the vlaue is 15, that is funny. is there a problem in access ?
    Ikrischer
    Edited by: Ikrischer on Mar 23, 2010 2:56 PM

  • BPEL 10.1.2.0.2 with JBOSS deployment descriptor of database adapter

    We use Oracle BPEL Process Manager 10.1.2.0.2 with JBOSS v3.2.6 . In our BPEL processes we use also the DatabaseAdapter.
    We deploy our processe manually with obant, because we are only able to access our productiv-system about putty(ssh).
    For that we have to manually adapt our DatabaseConnectionData,which were created on our development enviroment, in the apropriate wsdl files.
    On our productiv-system we see in the domain-log files following lines:
    <2006-11-08 04:52:44,465> <INFO> <condis.collaxa.cube.ws> <AdapterFramework::Outbound>
    file:/opt/etmn/jboss_bpel/domains/condis/tmp/.bpel_WF_Notifikation_1.0.jar/SetFaultedWS.wsdl [ SetFaultedWS_ptt::SetFaultedWS(InputParameters) ] - Using JCA Connection Pool -
    max size = <unbounded>
    <2006-11-08 04:52:44,468> <WARN> <condis.collaxa.cube.ws> <AdapterFramework::Outbound>
    file:/opt/etmn/jboss_bpel/domains/condis/tmp/.bpel_WF_Notifikation_1.0.jar/SetFaultedWS.wsdl [ SetFaultedWS_ptt::SetFaultedWS(InputParameters) ] - JNDI lookup of
    'java:/eis/DB/DBL_WFMODUL' failed due to: DBL_WFMODUL not bound
    <2006-11-08 04:52:44,469> <INFO> <condis.collaxa.cube.ws> <AdapterFramework::Outbound> Since unable to locate the JCA Resource Adapter deployed at 'java:/eis/DB/DBL_WFMODUL',
    will then attempt to instantiate ManagedConnectionFactory oracle.tip.adapter.db.DBManagedConnectionFactory directly.
    After some reading in the "Adapters UserGuide" you can find some lines about necessary configuration of the "deployment descriptor of the database adapter"
    concerning the "<jca:address location=..." used in the apropriate wsdl files:
    The adapter service WSDL refers to the run-time connection configured in the
    deployment descriptor of the database adapter. (In Oracle Application Server, it is
    oc4j-ra.xml). The relevant code example for the service WSDL follows:
    <jca:address location="eis/DB/DBL_WFMODUL" UIConnectionName="DBL_WFMODUL"
    ManagedConnectionFactory="oracle.tip.adapter.db.DBManagedConnectionFactory"
    The questions are now:
    What is the apropriate file for the "deployment descriptor of the database adapter" for Oracle BPEL Process Manager 10.1.2.0.2 with JBOSS 3.2.6 ??
    Exist there a description for that?
    What are really the consequences if you configure the "deployment descriptor of the database adapter" or not ?

    Hi Martin,
    Thanks for sharing valuable information of bpel install .
    We are stuck installing bpel pm 10.1.2.0.2 on linux from past one week ,can u plz help us in giving some pointers.
    We downloaded mrca utility from otn and tried to upload the repository into 10g database but we got "ultra search schema not found" error and few other errors.
    Can we use any 10g database or is there any version that we need to use.Can you plz specify the database version that u used for ur install.
    Then we tried to create a repository while installing Oracle Application Server 10.1.2.0.2(J2EE and Web Cache with new OID), which creates a new dbase with a repository loaded into it.
    we tried to run the ldap search command to get the encrypted password but failed to execute that command successfully.finally we tried to change orabpel pwd with alter command. And when we finally started with BPEL PM install and pointed to the above AS home it didnt recognize it and giving error as "plz point to the appropriate Application Server(AS) home and it cant find the AS home in folder in which we specified."
    Can u plz help us and give some pointers in resolving our issues.
    Thanks a lot in advance.
    Vandana.

  • Conversion Error: I/O error while communicating with native process

    Hi,
    I am trying to use Oracle Outside In Technology Image Export for conversion of images. I am trying to run the example ExportTest that comes with the downloaded SDK.
    I get the below error while running the ExportTest example.
    Conversion Error: I/O error while communicating with native process .
    Am I missing any settings?
    Please guide to the right forum if this is not the one for posting queries on Oracle Outside In Technology Image Export.
    Thank you.

    Hi Revanth,
    I am using Image Export 8.3.7 and I am trying to run the java class "ExportTest" that is in the location sdk\samplecode\ExJava\Examples\ExportTest\src of the download.
    My input folder has one jpg - puzzle.jpg (this is just a simple jpg), I am trying to convert it to TIFF. ExportTest.java uses the classes in Export.jar . Export.jar is located in the sdk\samplecode\ExJava\Examples\ExportTest . You can see source files of the Export.jar at location sdk\samplecode\ExJava\Java API\src of the download. I am running the 'ExportTest' by providing the arguments (input folder, output folder and ix.cfg - this file comes with the download). So now when I run this class I was getting the error I mentioned in this post. Inorder to find more details about the error I modified the 'Export.java' (at sdk\samplecode\ExJava\Java API\src\com\outsideinsdk) just to printStackTrace when the exception occurs and rebuilt the 'Export.jar' and ran the 'ExportTest.java'.
    And below is the stack trace that I got :
    java.io.IOException: CreateProcess: nullexporter.exe "inputpath_u=AGkAbgBwAHUAdA
    BcAHAAdQB6AHoAbABlAC4ASgBQAEc=" "outputpath_u=AG8AdQBwAHUAdABcAHAAdQB6AHoAbABlAC
    4ASgBQAEcALgBUAEkARgBG" "outputid=FI_TIFF" "fallbackformat=FI_TEXT" "tiffcolorsp
    ace=24BitRGB" "preferoitrendering=false" "tiffcompression=Packbits" "mapbuffersi
    ze=8192" "defaultprintfontheight=20" "graphicwidthlimit=0" "reordermethod=off" "
    unmappablechar=0x002A" "timezone=0" "graphicheightlimit=0" "defaultmarginleft=14
    40" "ssshowheadings=false" "quickthumbnail=false" "graphicoutputdpi=0" "ssdirect
    ion=AcrossandDown" "defaultmarginbottom=1440" "ssshowgridlines=false" "dbshowhea
    dings=false" "readbuffersize=2" "whattoexport=all" "graphicsizelimit=0" "imagewa
    termarkopacity=0" "blue=-1" "handlenewfileinfo=no" "outputid=FI_TIFF" "lzwcompre
    ssion=enabled" "usedocpagesettings=true" "defaultmarginright=1440" "numberofstat
    callbacks=0" "dbfittopage=NoScaling" "tempbuffersize=2048" "pdffilterreorderbidi
    =no" "imagecropping=nocropping" "defaultmargintop=1440" "documentmemorymode=larg
    e" "m?
    at java.lang.Win32Process.create(Native Method)
    at java.lang.Win32Process.<init>(Win32Process.java:66)
    at java.lang.Runtime.execInternal(Native Method)
    at java.lang.Runtime.exec(Runtime.java:566)
    at java.lang.Runtime.exec(Runtime.java:491)
    at java.lang.Runtime.exec(Runtime.java:457)
    at com.outsideinsdk.Export.convert(Export.java:262)
    at com.outsideinsdk.ExportTest.convert(ExportTest.java:142)
    at com.outsideinsdk.ExportTest.main(ExportTest.java:214)
    hope this helps to find the problem.
    Thank you

Maybe you are looking for