Trouble with customer-cmp-ear example for new sun application server 9.0

recently, i have been playing with sun Java system application server 9.0 and try a couple of examples, but i was in trouble. for example, i try customer-cmp-ear example, and i can create db, but i can not Set up JDBC resources, and i always get the following error:
CLI146 /path/to/passwordfile does not exist in the file system or read permission denied.
i take a look at the description of the example, one thing i do not quite understand, at the common instruction, i am required to set javaee.server.passwordfile property, does it mean i have to create a passwordfile? where do I put it ? i hope someone can help me, i will really appreciate it.
Message was edited by:
junjun

I solved it.
Change the file"build.properties.sample" to
"build.properties"
Maybe it's a bug in J2ee TutorialThe instructions in the About chapter tell you to copy build.properties.sample to build.propertieshttp://java.sun.com/javaee/5/docs/tutorial/doc/?wp405013&About.html#wp87965
-Ian

Similar Messages

  • How to configure oracle thin drivers for SUN APPLICATION SERVER

    hi all,
    I am working with EJB with oracle as back-end. I wants to know how to configure oracle thin drivers for the SUN APPLICATION SERVER. Please explain me breifly.
    Advanced thanks to all the replies.
    with regards,
    /kumaraswamy.n

    Kumaraswamy,
    Did you try searching the Internet? Here are the results of my Internet search:
    http://tinyurl.com/zo4gk
    And one of the first hits in the list was this:
    Deploying to a Sun Java System Application Server
    Good Luck,
    Avi.

  • I am having trouble with custom color settings. It randomly reverts back to North American General Purpose without warning. This is a big problem for me. My customers (professional photographers) expect consist colors in my printing. Help!

    I am having trouble with custom color settings. It randomly reverts back to North American General Purpose without warning. This is a big problem for me. My customers (professional photographers) expect consist colors in my printing. Help!

    Do you even know how to nuke and re-set Photoshop's preferences, colorplak?  Your last post seems to reveal that you don't understand what I'm talking about. Here's a link you can click on:
    Preference file functions, names, locations | Photoshop CC
    To re-create the preferences files for Photoshop, start the application while holding down Ctrl+Alt+Shift (Windows) or Command+Option+Shift (Mac OS). Then, click Yes to the message, "Delete the Adobe Photoshop Settings file?"
    Note: If this process doesn't work for you while you're using a wireless (bluetooth) keyboard, attach a wired keyboard and retry.
    Important: If you re-create the preferences by deleting the Adobe Photoshop CC Settings file, make sure that you only delete that file. If you delete the entire settings folder, you also delete any unsaved actions or presets.
    Reinstalling Photoshop does not remove the preferences file. Before reinstalling Photoshop, re-create your preferences.
    Note for Photoshop 14.1 and later: If you use Generator and reset your Preferences, Generator is disabled. Choose Preferences > Plug-ins to turn it back on.
    Video: Julieanne Kost created a video that takes you through two ways of resetting your Photoshop preferences. The manual preference file removal method is between 0:00 - 5:05. The keyboard shortcut method is between 5:05 - 8:18. The video is located here.
    Mac OS
    Important: Apple made the user library folder hidden by default with the release of Mac OS X 10.7. If you require access to files in the hidden library folder to perform Adobe-related troubleshooting, see How to access hidden user library files.

  • Trouble with mobile site. Displays for a second then screen goes black.

    Trouble with mobile site. Displays for a second then screen goes black. Using safari, 4s on Verizon. Example: m.mlb.com/lad/

    I hadn't checked the site since January or so, when it worked. It might be related to the Opening Weekend skin they have on the site, but for me, it shows the top part of the page for 3 seconds while it's loading (scrolling down is impossible) and then all of a sudden it turns black, showing nothing. It's that way for every MLB mobile site.
    At first:
    Two seconds later:
    I noticed this on 4/7/12. Does anyone NOT have this problem?
    Matt

  • I'm having trouble with custom ringtones.  I have downloaded the free software "makeTones" and have created some ringtones.  I then copied those to Mac and played them in ITunes.  My Itunes does not have a ringtone tab.  I can not sync the ringtones.

    I'm having trouble with custom ringtones.  I have downloaded the free software "makeTones" and have created some ringtones.  I then copied those to Mac and played them in ITunes.  My Itunes library does not have a ringtones tab.  I can not sync the ringtones (or I don't know how)!  Please help.

    Yes, the file extension is M4R.  Does it matter where I save these files on my Macbook?  I then opened them in Itunes and played them.  I did find the Tones folder in Itunes but the Tones or Ringtones tab does not show up when I select Iphone (within Itunes).  When I open the Tones folder in the Library, it is empty.  Thanks in advance for your help.

  • Has anyone had trouble with the middle mouse (open in new tab) button lately?

    Hi gang. Since v29 came out, I have been having trouble with the middle mouse (open in new tab) button.
    Sometimes the button does not register with Firefox. And sometimes FF acts like I pressed it several times.
    Has anyone else had any problems? I use an add-on called
    '''''[https://addons.mozilla.org/en-US/firefox/addon/mclickfocustab/?src=collection&collection_id=33bf10fa-666d-45a2-9bc9-491ce21671c6 MClickFocusTab]'''''
    I disabled it but the problem was still there.

    ''''' "Sometimes the button does not register with Firefox. And sometimes FF acts like I pressed it several times." '''''
    Sounds like a mouse on its' way to mouse-heaven. Seriously, the exact symptoms I have seen with a dozen 3 button mouse's (?meese - ?mice) over the last 15 years. <br />
    Not registering a click is usually due to a dirty contact. And the "double-click" is when the flat spring looses tension and bounces.
    I have had similar happen with the left button, too. But when it happens to that button it is more noticeable much sooner.
    I bought a box of a dozen A4D house branded infrared wireless 3-button mouse's for like $24.00 back in 2000 that were on clearance because the driver disk didn't support W2K, only Win95, 98, and NT4. I got newer drivers from the A4D website and wore all 12 out over the 8 or 9 years. I even fixed a few that broke from the parts from other broken mouse's. I still have 6 or 7 of them laying in the "needs to be fixed" box under my workbench. I'll probably never fix them though, the nano receiver USB mouses I have been using for the 4 or 5 years have much better battery life and lately only need one AA battery.

  • Where I can find an example for an ADF application

    where I can find an example for an ADF application where the view layer is JSF and the Business service layer is JAVA with JSF controller as controller layer
    Edited by: belal on Jun 18, 2011 11:59 PM

    I created new Fusion web application so I have now to parts in the application navigator (model, viewcontroller)
    I want to write java class in the Model part as following:
    package persistence;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    public class DBManager {
    Connection connection = null;
    public DBManager() {
    super();
    public void init() {
    try {
    // Load the JDBC driver
    String driverName = "oracle.jdbc.driver.OracleDriver";
    Class.forName(driverName);
    // Create a connection to the database
    String serverName = Constant.DB_SERVER_NAME;
    String portNumber = Constant.DB_PORT_NUMBER;
    String sid = Constant.DB_SID;
    String url =
    "jdbc:oracle:thin:@" + serverName + ":" + portNumber + ":" +
    sid;
    String username = Constant.DB_USER_NAME;
    String password = Constant.DB_PASSWORD;
    connection = DriverManager.getConnection(url, username, password);
    System.out.println("*");
    System.out.println(connection.getCatalog());
    } catch (ClassNotFoundException e) {
    System.out.println("Could not find the database driver");
    } catch (SQLException e) {
    System.out.println("Could not connect to the database");
    e.printStackTrace();
    and wrote JSP page in the view controller part as following :
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@page import="persistance.*"%>
    <% persistance.DBManager manager = new DBManager(); %>
    <%@ page contentType="text/html;charset=windows-1252"%>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/>
    <title>Browse</title>
    </head>
    <body>
    <table>
    </table>
    </body>
    </html>
    but this I have the following error in the jsp page :*type persistance.DBManager not found*
    my job is to build simple ADF application using JSF and java without any ADF faces or JPA or any another technology
    thanks
    Edited by: belal on Jun 19, 2011 12:51 AM

  • Looking for SAP Netweaver Application server with any version

    Hi Friends
      I am looking for SAP NetWeaver application server alone with out Portal and collaboration and Trex
      Some time back my self downloaded from SDN , but now not available
      Due to some urgnt work i  need to do some R&D on J2EE engine i need sneak preview version
      So friends if your holding application server sneak preview any version  kindly let me know
      I am  from Bangalroe  India. So if  any one my friends from banglaore city having kindly let  
      me know if possible i will collect personally
    Thanks
    Malli
    Edited by: mallikarjuna pasupulati on Feb 3, 2009 11:11 AM

    https://media.sdn.sap.com/javadocs/NW04/SPS15/index.html
    Here is the v1.4 spec, which is the highest the netweaver currently is tested for.
    http://java.sun.com/j2ee/1.4/docs/api/index.html
    Regards,
    Rich Heilman

  • New Blog for SOA and Application server,BPEL

    Hi Everyone,
    I have created a New Blog for SOA and Application server and BPEL and i would like everyone to have a look at it and give me some comments on it like what is the other information i can keep which can help us all etc....
    You can visit it at http://oraclefusionmiddleware.blogspot.com

    Oracle Application Server consists of Oracle HTTP and OC4J servers which deploys J2EE-based applications.
    Integration server manages all communication, process interactions, Data Transactions among different systems and applications. Oracle integration server consists of all the SOA elements (BPEL, ESB, Business Rules, and OWSM)
    when you want to deploy Java applications then you will deploy to Application Server.When you want to deploy BPEL,ESB Process you will use integraion server(BPEL Server,ESB Server).
    Integration server is just the web server which connects to application server which helps in administrating and managing different applications as a whole
    Regards,
    Deepa

  • How to configure sun application server 8.2 for Oracle RAC 10g

    Hello,
    We have numerous boxes running the sun platform application server 8.2 and 2 boxes running enterprise version 8.2 all connecting to a 4 node Oracle RAC 10 G release 2 database. We have the system up and working. The application servers are connecting just fine to the database and the apps don't have any problems querying, inserting, etc. However, when we try to do failover testing of situations when a node or nodes of the Oracle RAC database goes down the application server does not gain new valid connections. Our configuration is this, OracleDataSource for the data source, table validation turned on with a valid table, ONS configuration set in properties, connectionCache enabled, and fastconnectionfailover enabled as well in the properties. We have that long oracle rac url with load balancing turned on set fot the database URL. We have the checkbox checked to fail all connections on any failure. ONS is configured properly within the database because we have a java application that runs outside of the application server that uses all the same settings described above (only set manually in our code for the OracleDataSource). This application works seemlessly when DB nodes are shutdown. We can shutdown all but one node and it's still humming along without skipping a beat. Start up one of the others, kill the last node, it still hums along nicely without skipping a beat. We'd really like to get the applications running in the application server to work the same way. Any help would be greatly appreciated. We've tried all the combinations that we can think of with configuration settings in the application server and it never works. Am tempted to rip out the database connection pool from inside the application server and configure it manually in the code but we are using entity beans and this is the much easier approach, if it will work. It's down to the point of does sun application server actually work with oracle RAC for connection failovers.

    Hi,
    We are also facing similar execption. Here is the error, we are getting, when a node is failed on RAC.
    [#|2007-11-11T12:43:53.685+0000|WARNING|sun-appserver-ee8.1_02|javax.enterprise.system.core.transaction|_ThreadID=38;|JTS5041: The resource manager is doing work outside a global transaction
    oracle.jdbc.xa.OracleXAException
    at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1270)
    at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:318)
    at com.sun.gjc.spi.XAResourceImpl.start(XAResourceImpl.java:184)
    at com.sun.jts.jta.TransactionState.startAssociation(TransactionState.java:258)
    at com.sun.jts.jta.TransactionImpl.enlistResource(TransactionImpl.java:181)
    at com.sun.enterprise.distributedtx.J2EETransaction.enlistResource(J2EETransaction.java:397)
    at com.sun.enterprise.distributedtx.J2EETransactionManagerImpl.enlistResource(J2EETransactionManagerImpl.java:312)
    at com.sun.enterprise.distributedtx.J2EETransactionManagerOpt.enlistResource(J2EETransactionManagerOpt.java:114)
    at com.sun.enterprise.resource.ResourceManagerImpl.registerResource(ResourceManagerImpl.java:113)
    at com.sun.enterprise.resource.ResourceManagerImpl.enlistResource(ResourceManagerImpl.java:71)
    at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerImpl.java:176)
    at com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:268)
    at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:193)
    at com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:122)
    at com.sun.gjc.spi.DataSource.getConnection(DataSource.java:70)
    at com.syntegra.nasp.etp.dax.DBManager.getConnection(DBManager.java:192)
    at com.syntegra.nasp.etp.dax.DBManager.createDBCommand(DBManager.java:241)
    at com.syntegra.nasp.etp.dax.DBManager.createDBCommand(DBManager.java:251)
    at com.syntegra.nasp.etp.dax.sp.SPS_PRESCRIPTION_GUID_PROC.getCommand(SPS_PRESCRIPTION_GUID_PROC.java:31)
    at com.syntegra.nasp.etp.dax.sp.SPS_PRESCRIPTION_GUID_PROC.execute(SPS_PRESCRIPTION_GUID_PROC.java:23)
    at com.syntegra.nasp.etp.dax.PrescriptionBaseDataMapper.loadPresciptionByGUID(PrescriptionBaseDataMapper.java:203)
    at com.syntegra.nasp.etp.model.PrescriptionBase.findByPrescriptionGUID(PrescriptionBase.java:176)
    at com.syntegra.nasp.etp.messages.PatientPrescriptionReleaseRequest.execute(PatientPrescriptionReleaseRequest.java:120)
    at com.syntegra.nasp.etp.service.ETPSLBean.processMessage(ETPSLBean.java:159)
    at sun.reflect.GeneratedMethodAccessor97.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:147)
    at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:128)
    at $Proxy6.processMessage(Unknown Source)
    at com.syntegra.nasp.etp.listener.RequestListener.onRequest(RequestListener.java:204)
    at com.syntegra.spine.csf.consumer.mdb.CSFListenerRegisteringConsumer.onRequest(CSFListenerRegisteringConsumer.java:54)
    at com.syntegra.spine.csf.consumer.mdb.CSFConsumerBase.invokeListener(CSFConsumerBase.java:267)
    at com.syntegra.spine.csf.consumer.mdb.CSFConsumerBase.processMessage(CSFConsumerBase.java:180)
    at com.syntegra.spine.csf.consumer.mdb.CSFConsumerBase.onMessage(CSFConsumerBase.java:102)
    at sun.reflect.GeneratedMethodAccessor96.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sun.enterprise.security.SecurityUtil$2.run(SecurityUtil.java:153)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.enterprise.security.application.EJBSecurityManager.doAsPrivileged(EJBSecurityManager.java:955)
    at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:158)
    at com.sun.ejb.containers.MessageBeanContainer.deliverMessage(MessageBeanContainer.java:956)
    at com.sun.ejb.containers.MessageBeanListenerImpl.deliverMessage(MessageBeanListenerImpl.java:42)
    at com.sun.enterprise.connectors.inflow.MessageEndpointInvocationHandler.invoke(MessageEndpointInvocationHandler.java:130)
    at $Proxy9.onMessage(Unknown Source)
    at com.sun.genericra.inbound.DeliveryHelper.deliverMessage(DeliveryHelper.java:183)
    at com.sun.genericra.inbound.DeliveryHelper.deliver(DeliveryHelper.
    Regards
    Selvan.

  • JMS problem with Sun Application Server 8.2

    Hi!
    I've just started trying JMS and found a problem.
    I set a connection factory called "QueueConnectionFactory" in the Sun Application Server Admin Consol.
    After this I test this code:
    import javax.jms.*;
    import javax.naming.*;
    public class Sun_JNDI
    public static void main(String args[]) throws Exception
    Context jndiContext = null;
    System.setProperty("java.naming.factory.initial","com.sun.enterprise.naming.SerialInitContextFactory" );
    System.setProperty("java.naming.factory.url.pkgs","=com.sun.enterprise.naming");
    System.setProperty("java.naming.provider.url","localhost:1024");
    jndiContext = new InitialContext();
    Object O = jndiContext.lookup("QueueConnectionFactory");
    System.out.println(jndiContext);
    in result I got this long Exception message:
    2006.02.12. 10:52:59 com.sun.corba.ee.spi.logging.LogWrapperBase doLog
    INFO: "IOP00710299: (INTERNAL) Successfully created IIOP listener on the specified host/port: all interfaces/1356"
    2006.02.12. 10:53:00 com.sun.enterprise.connectors.ActiveRAFactory createActiveResourceAdapter
    SEVERE: RAR6001 : Class Not found : com.sun.messaging.jms.ra.ResourceAdapter
    2006.02.12. 10:53:00 com.sun.enterprise.connectors.ActiveRAFactory createActiveResourceAdapter
    SEVERE:
    com.sun.enterprise.connectors.ConnectorRuntimeException: Error in creating active RAR
    at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:76)
    at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:267)
    at com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:189)
    at com.sun.enterprise.naming.factory.ConnectorObjectFactory.getObjectInstance(ConnectorObjectFactory.java:71)
    at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
    at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:293)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)
    at Sun_JNDI.main(Sun_JNDI.java:40)
    Caused by: java.lang.ClassNotFoundException: com.sun.messaging.jms.ra.ResourceAdapter
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:164)
    at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:50)
    ... 7 more
    2006.02.12. 10:53:00 com.sun.enterprise.naming.SerialContext lookup
    SEVERE: NAM0004: Exception during name lookup : {0}
    com.sun.enterprise.connectors.ConnectorRuntimeException: Error in creating active RAR
    at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:76)
    at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:267)
    at com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:189)
    at com.sun.enterprise.naming.factory.ConnectorObjectFactory.getObjectInstance(ConnectorObjectFactory.java:71)
    at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
    at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:293)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)
    at Sun_JNDI.main(Sun_JNDI.java:40)
    Caused by: java.lang.ClassNotFoundException: com.sun.messaging.jms.ra.ResourceAdapter
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:164)
    at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:50)
    ... 7 more
    Exception in thread "main" javax.naming.CommunicationException: serial context communication ex [Root exception is com.sun.enterprise.connectors.ConnectorRuntimeException: Error in creating active RAR]
    at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:317)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)
    at Sun_JNDI.main(Sun_JNDI.java:40)
    Caused by: com.sun.enterprise.connectors.ConnectorRuntimeException: Error in creating active RAR
    at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:76)
    at com.sun.enterprise.connectors.ResourceAdapterAdminServiceImpl.createActiveResourceAdapter(ResourceAdapterAdminServiceImpl.java:267)
    at com.sun.enterprise.connectors.ConnectorRuntime.createActiveResourceAdapter(ConnectorRuntime.java:189)
    at com.sun.enterprise.naming.factory.ConnectorObjectFactory.getObjectInstance(ConnectorObjectFactory.java:71)
    at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
    at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:293)
    ... 2 more
    Caused by: java.lang.ClassNotFoundException: com.sun.messaging.jms.ra.ResourceAdapter
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:164)
    at com.sun.enterprise.connectors.ActiveRAFactory.createActiveResourceAdapter(ActiveRAFactory.java:50)
    ... 7 more
    So I tested this code under Netbeans5 and I don't where to find jar file contains the class: com.sun.messaging.jms.ra.ResourceAdapter
    Other time I tryied to lookup this URL: "java:comp/env/jms/QueueConnectionFactory"
    The result was: javax.naming.NameNotFoundException
    I know it is a small code example but if I'm not able to solve this problem I can't go on with JMS.
    I would be glad by any help.
    Regards:
    Sandor

    Hello
    In my code it looks like that:
    1: System.setProperty("com.sun.jndi.ldap.LdapCtxFactory", "iiop://localhost:3700");
    2: Context ctx = new InitialContext();
    3: TopicConnectionFactory factory = (TopicConnectionFactory)ctx.lookup("jms/DailyDestinationFactory");
    4: TopicConnection connection = factory.createTopicConnection();
    5: TopicSession session = connection.createTopicSession(false, Session.AUTO_ACKNOWLEDGE);
    6: Topic topic = (Topic)ctx.lookup("jms/DailyBean");
    7: TopicPublisher pub = session.createPublisher(topic);
    8: TextMessage msg = session.createTextMessage();
    9: msg.setText("NewMessage");
    10: pub.send(msg);
    and it work with Sun App Server 8.2.

  • How to create the deployment descriptor with the sun application server

    I have packaged my .war and ejb-jar files. I go to autodeploy and it says i need a deployment descriptor?

    this is actually an example .ear file that i am trying to run. When i create the client with the deploytool that comes with suns application server i get
    C:\appclient>appclient -client swe645-appClient.jar
    Caught an unexpected exception!
    javax.naming.NameNotFoundException: EditEmpBean not found
            at com.sun.enterprise.naming.TransientContext.doLookup(TransientContext.
    java:185)
            at com.sun.enterprise.naming.TransientContext.lookup(TransientContext.ja
    va:157)
            at com.sun.enterprise.naming.SerialContextProviderImpl.lookup(SerialCont
    extProviderImpl.java:101)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(Reflecti
    veTie.java:123)
            at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispa
    tchToServant(CorbaServerRequestDispatcherImpl.java:648)
            at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispa
    tch(CorbaServerRequestDispatcherImpl.java:192)
            at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest
    Request(CorbaMessageMediatorImpl.java:1709)
            at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest
    (CorbaMessageMediatorImpl.java:1569)
            at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(C
    orbaMessageMediatorImpl.java:951)
            at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.call
    back(RequestMessage_1_2.java:181)
            at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest
    (CorbaMessageMediatorImpl.java:721)
            at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.dispatc
    h(SocketOrChannelConnectionImpl.java:473)
            at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doWork(
    SocketOrChannelConnectionImpl.java:1262)
            at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.
    run(ThreadPoolImpl.java:409)

  • Node id does not exist for the current application server id  on forms

    Hi,
    We have a Two node RAC setup on which Oracle e-business suite R12.0.6 is setup
    We have CP and DB on two RAC nodes and Forms and Web on two separate server(non-RAC)
    while opening oracle forms we are getting" Node id does not exist for the current application server id "
    on checking Concurrent manager logfile we founf no error, we matched Application Server id from DBC file of all the 4 nodes with application table
    Fnd_nodes... which matches ( there is no mismatch of application server id) .
    We have also tried commenting the application server id in dbc file and executed adgendbc.sh to regenarate dbc file but we are facing the same issue.
    Also tried to clear setup with fnd_conc_clone.clean setup and again executing autoconfig on db and application tier but no result yet.
    Can some one guide as to which file has this message "Node id does not exist for the current application server id "
    and what could be the reason for this.
    Help is appreciated.
    Regards,
    Milan

    I already tried the mentioned metalink note id but it did not work.What did you try exactly?
    Can u help out as from where am i getting the message "Node id does not exist for the current application server id" It is already mentioned in the doc referenced above -- From the dbc file under $FND_SECURE directory.
    i mean from which file does the above message comes.Please clean FND_NODES table as per (How to Clean Nonexistent Nodes or IP Addresses From FND_NODES [ID 260887.1]), run AutoConfig on the database tier then on the application tier and check then.
    Thanks,
    Hussein

  • Node id does not exist for the current application server id

    Hi gurus,
    when i start application services (adstrtal.sh) i encounter the following error: Node id does not exist for the current application server id.
    i executed the command select server_id from fnd_nodes and had the following output
    SERVER_ID
    991D192B1CFC10F2E043C0A8645210F226563381082071204628231314463687
    i also checked the .dbc files under $FND_TOP/secure, there were two HOSTNAME_SID.dbc files (IPPDDVP_VIS.dbc and ippddvp_vis.dbc) with different APPL_SERVER_ID
    ippddvp_vis.dbc == 9827D18C8C2E8816E043C0A86452881611641850934523625093287478849136
    IPPDDVP_VIS.dbc == 991D192B1CFC10F2E043C0A8645210F226563381082071204628231314463687
    Please help me out.
    thanks.

    i cleaned the FND_NODES TABLE as per metalink note 260887.1. i run autoconfig on db/apps tier. Now when i start the application, i encounter the following error:
    applmgr >./adstrtal.sh apps/apps
    You are running adstrtal.sh version 115.19
    Executing service control script:
    /dvp2/product/viscomn/admin/scripts/VIS_ippddvp/adapcctl.sh start
    script returned:
    adapcctl.sh version 115.55
    Cannot reconnect to gateway
    Cause: Application Object Library is unable to reconnect to your gateway ORACLE account after you unsuccessfully attempted to sign-on.
    Action: Check that your gateway environment variable is set correctly.
    Apache Web Server Listener is not running.
    Starting Apache Web Server Listener (dedicated HTTP) ...
    Cannot reconnect to gateway
    Cause: Application Object Library is unable to reconnect to your gateway ORACLE account after you unsuccessfully attempted to sign-on.
    Action: Check that your gateway environment variable is set correctly.
    Cannot reconnect to gateway
    Cause: Application Object Library is unable to reconnect to your gateway ORACLE account after you unsuccessfully attempted to sign-on.
    Action: Check that your gateway environment variable is set correctly.
    Apache Web Server Listener (PLSQL) is not running.
    Starting Apache Web Server Listener (dedicated PLSQL) ...
    Cannot reconnect to gateway
    Cause: Application Object Library is unable to reconnect to your gateway ORACLE account after you unsuccessfully attempted to sign-on.
    Action: Check that your gateway environment variable is set correctly.
    adapcctl.sh: exiting with status 0
    .end std out.
    .end err out.
    please what should i do next to resolve this problem.
    thanks

  • Steps to create a new Oracle Application server

    I am in unfamiliar territory and need to create a new Oracle Application Server. I would appreciate any direction or direction to documentation that explains the steps required to establish a new server. Thanks.

    William,
    Have you looked at the Portal section on OTN? We recently added a whole bunch of information under the documentation section.
    It can be found by clicking on Internet Servers under the Products heading on the left hand navigation bar. That page will have a section for Oracle9i Application Server and under that you will see Related Features & Products where there is a link to Portal.
    Rich

Maybe you are looking for

  • How do you access parent component from a child in Flex 4?

    Suppose I have a Component A (as a Spark Group) that generates an event, eventX.  Inside Component A, I add Component B (also a Spark Group) that wants to add itself as an event listener for eventX.  How do I access Component A from Component B to re

  • Paste Options in Lion

    Hello all, I have recently upgraded from 10.5.8 to 10.7 and a Mac Pro and I have a question concerning the 'Paste' options in Lion.  This may have been part of Snow Leoprd as well, but although I also have SN installed on and external drive I've had

  • Problem updating 5800 XM to firmware v30

    I tried updating my 5800 XM to firmware 30 via OTA update. The update downloads and I accept the install. The phone then reboots showing a update in progress or something like that. It then reboots again and starts up with the following message: "Pho

  • Freeview interference on TV tuner & DVD tuner but ...

    I've got a weird problem that's been plagueing me on & off for the past couple of months... Intermittently but at no specific times, the freeview signal from the TV tuner and the DVD/HDD recorder become pixellated but the Freeview signal from the BT

  • About variable declaration

    I would know to know what's the meaning of a variable with arterisk, like itab*. Thanks