How to create Seperate Containers in Sun AppServer 8.1 2005Q2?

Hi !
We are currently in the middle of a server migration - from Oracle AppServer to the Sun AppServer 8.1. In Oracle it was possible to create seperate containers which had the same i-net address and same port(Called OC4J Instances). These containers were able to start and stop seperatly.(The reason for this is that we have many applications running and if some problems arise we don't need to stop the whole Container/Server)
I tried different solutions:
- create a new domain --> Port has to be not the same
- create an instance --> Port has to be not the same
- create a virtual server --> domain name has to change
i also thought about a special config for http listners
but didn't get to a point jet.
pls help me -- i'm sure it is possible
greetings
maty

Hi Maty,
To anwer you questions from previous posting:
1. Yes you have to deploy all of your apps on all instances known to the loadbalancer. This is becasue all of the request comming to the load balancer can be routed to any of these instances.
2. To insure that you don't run two different versions of you application in the cluster you can quiese single appserver instance or any given application before update. See following doc for more info.
http://docs.sun.com/source/819-0216/ha_as_overview.html#wp1046921
One additional note: To upgrade you application in Sun AS8.1 you don't need to shut it down as it supporst dynamic application deployment. This may be all you need... that is If you don't want any of the High availability features that LB gives you .
Regards,
/Oleg

Similar Messages

  • How to create seperate albums in ipad2?

    Iam a professional photographer and i want to show my portfolio to my clients.When i try to import my photos using itunes they all end up as one album.how do i create seperate albums in ipad2 ?.Kidly advise

    You cannot do it directly on the iPad.
    If you are using iPhoto or Aperature on your Mac, create separate albums there.
    Then select the iPad in iTunes, click the Photos tab across top and select the Albums you want to sync to the iPad.

  • How to create seperate color channel for print of illustrator document

    Hi,
    I need to print a document with partial UV-spots, and cannot figure out how to make my Illustrator document ready for print!
    The online print center guides me to:
    create a 'seperate print channel' for the specific elements in my document i want covered, with either a '5th color or a special color' set for 'over-print and 100% color'.
    Can anyone help?
    Thank you!

    Draw the spots you want to use and fill them with a spot color.

  • How to create Logical domain in Sun Fire T2000 server

    Hi,
    I am new to this Logical domain, Can some one provide me doc to install a guest OS in logical domain.I have sun T 2000 server with solaris 10 OS
    Regards
    Alex

    Hi Alex,
    this is a good place to start reading (even though it refers to LDOMs 1.0):
    http://www.sun.com/blueprints/0207/820-0832.pdf
    followed by here for the docs set for whichever version you're using - have fun!
    http://docs.sun.com/app/docs/prod/ldoms

  • How to create an instance of a class?

    how do you create sn instance of a class, and how do you call a method from another class?

    You may need to read thru the information provided on this page to understand how to create objects: http://java.sun.com/docs/books/tutorial/java/data/objectcreation.html
    I'd also suggest you read the tutorial available at: http://java.sun.com/docs/books/tutorial/java/index.html
    Regarding how you call a method belonging to another class you could do it in the foll. ways depending on whether the method is static or not - a static method may be called using the class name followed by a dot and the static method name while a non-static method would require you to create an instance of the class and then use that instance name followed by a dot and the method name. All said and done i'd still suggest you read thru the complete Java programming tutorial to get a good grounding on all these concepts and fundamentals of the language if you are looking to master the technology.
    Thanks
    John Morrison

  • Can't PING a Datasource from  Sun AppServer 1.4

    posted February 25, 2004 06:49 PM
    Hi all!
    I am trying to create a datasoure in Sun AppServer 1.4 Developer Release. To connect to MySQL
    After download and installed the mysql-connector, I created a connection pool in the appserver called mySQLconPool with the following settings:
    Datasource Classname: com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource
    Additional Properties
    serverName: 127.0.0.1
    databaseName:test
    port:3306
    user:Admin
    password:admin
    I added the mysql-connector jar file path to the app server> JVM Settings> Classpath sufix.
    The problem is that if I try to PING the connection I get the following error:
    quote:
    An error has occurred.
    Operation 'pingConnectionPool' failed in 'resources' Config Mbean. Target exception message: Error getting connection from the EIS
    What am I doing wrong? Am I missing something?
    Please if any of you can help me I will appreciate!!!!!!
    Thanks in advance,
    JOSEL

    Hi aagore:
    First thank you for replying. Here you have a snippet you domain.xml:
    <jdbc-connection-pool connection-validation-method="auto-commit" datasource-classname="com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource" fail-all-connections="false" idle-timeout-in-seconds="300" is-connection-validation-required="false" is-isolation-level-guaranteed="false" max-pool-size="32" max-wait-time-in-millis="60000" name="mySQLconPool" pool-resize-quantity="2" steady-pool-size="8">
    <property name="url" value="jdbc:mysql://127.0.0.1:3306/sss"/>
    <property name="user" value="Admin"/>
    <property name="port" value="3306"/>
    <property name="databaseName" value="sss"/>
    <property name="password" value="admin"/>
    <property name="serverName" value="127.0.0.1"/>
    </jdbc-connection-pool>
    </resources>
    JOSEL

  • How to create & Assign unique Qualification level and Groups(Each trans.)

    Hi,
    While working on CRM_LEAD i have observed that i cannot create unique Qualification level or Groups/origins for each transactions, if i add one more Qualification level or Groups/origins in existing table it is reflecting in all corroseponding Leads.
    Please tell me how to create seperate Qualification level and Groups/origins for each Transaction, else we can use Authorisation Object for this.
    Please resolve.
    Regurds,
    Dipesh.

    Hi Chirag,
    I've read the following link, but the question is....
    - Where is the link to create transport groups? That is my only question It's as easy as that
    Found it...sorry I knew it was easy
    Edited by: Gonçalo Mouro Vaz on Dec 20, 2007 5:13 PM

  • How  I can to do get a data sources on sun appserver 8  like this?

    jsc GUI develop jsf pages ,I want to get a data sources by Context lookup jndi have binding data sources.
    I know weblogic to get this.
    such as :
    Context ctx = null;
    Properties p = new Properties();
    p.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    p.put( Context.PROVIDER_URL, "t3://localhost:7001" );
    p.put("java.naming.security.principal", user);
    p.put("java.naming.security.credentials", pwd);
    ctx = new InitialContext(p);
    ds = (DataSource)ctx.lookup( "myds" );
    do you tell me sun appserver 8 how to implements this?thx.

    HI
    I am not clear what you are looking for but let me try to give you something. Yes it is possible to get DataSources on apserver 8 by registering JDBC Connection Pool and JDBC DataSource in the admin gui. You can use the regisred datasource in your code like this
    InitialContext ctx = new InitialContext();
    dataSource ds = (DataSource)ctx.lookup( "jdbc/myds" );
    OR
    if you are looking for the Creator do all these, here is the way.
    Create a datasource in the server navigator to point to any of your database. Drag and drop a table to any of your pages in the application (This is not neccessary if any of your application pages have a rowset/datatable already).
    Deploy the application then the datasource will be registered into application server 8. You can use the same code now to access the datasource
    InitialContext ctx = new InitialContext();
    dataSource ds = (DataSource)ctx.lookup( "jdbc/myds" );
    Please let me know if you are not looking for above .
    Thanks
    Srinivas

  • How to create Chart within a web page NOT as seperate page?

    Hi, I am using JCharts and am trying to figure out how (or if it is even possible) to create a chart and then place it in a web page. All the examples I've seen show you how to create a JPEG of the chart and then link to this image from your web page. Is it not possible to surround the JPEG chart with other HTML so that I can keep my web page logo and menu etc on the same page as the chart?
    I can't find any examples which show how to surround your images with HTML as JCharts creates a JPG file and returns that in the Http Response e.g. "ServletEncoderHelper.encodeJPEG13(axisChart, 1.0f, response);".
    My environment is Java 1.4.2, Struts and Tomcat 4.1.30.
    Is there a way of drawing charts directly into a web page rather than displaying them on a seperate page as an image file?
    many thanks in advance,
    James.

    Hi Hatton,
    in html, there exists an img-tag. this tag contains a parameter called src. And if you want to embedd an image in your html-page, you will put the source of the image you want to display to the src-parameter. The same with servlets or java server pages. For the browser it doesn't matter where the html comes from. it doesn't matter if it has to be generated by an servlet-container like tomcat. So you write a servlet, which will create an image and make it accessible to your servlet container and then insert an tag like
    <html>
    <body>
    <img src="http://yourdomain/servlet?param=value" width=aNumber height=aNumber>
    </body>
    </html>This can be done because servlets can be configured to response with images which can be created by java2d or something else...
    I hope, this will help you...

  • HT1338 How do I create seperate contact groups (family, business, friends) in my Contacts application on my Macbook Pro?

    How do I create seperate contact groups (family, business, friends) in my Contacts application on my Macbook Pro?

    You should have an option to create groups in the File menu. To add contacts to this group, simply drag and drop them to it (switch to Groups display, to view all your groups).
    Otherwise, you may create "smart groups", based on some criteria you define (File menu too).
    Hope this helps.

  • How to setup ORB in sun appserver 8?

    Dear All,
    I would like to try to use a deployed EJB from a remote server, but do not know how to do.
    Suppose there are 2 machines, that are PC A and PC B. I would like the EJB to be deployed on the sub appserver 8 on the PC A, and the bean to be able to be accessed by a client on PC B.
    Does anyone know any tutorial on doing this?
    I know that there is some settings about ORB in sun appserver 8, but do not have any idea on how to set it.
    Henry Cheung

    Have you looked at the Developer's Guide? Specifically, the section on developing clients.
    http://docs.sun.com/source/819-0079/dgacc.html

  • How to create frames ...!  in sun java studio creator

    Hello Every One,
    How to create a frame set in java studio creator ...!
    I prefer to run my entire applicaion on a window which comes out as a frame set, rather open in a browser. How to do that ...! if some one knows it help me out.
    Basically this is what i am trying to do.
    in my web page or frame i have an list box on the left
    based on the values selected in the list the information is displayed on the right which has bunch of text boxes.
    through me an idea how to do this using Sun Java Studio Creator.
    Thanks
    Senthil

    As of 1.0 Creator doesn't support creating HTML frames via the designer. However, it may be possible to edit the JSP source to include one by hand.
    Have you tried Page Fragments?
    - WInston

  • Trying to create a JMS Client in LifeCycle Module. Sun Appserver 8

    I have created a Lifecycle module which initializes a set of JMX Beans. One of them is a JMX Client.
    I have created a JMS Queue Connection factory according to the guidelines and associated a JNDI name jms/TrQueueConnectionFactory.
    I have created a destination of type Queue with JNDI name jms/catalogQueue.
    When the code is trying to make get the reference to the queue connection factory, I encounter the following exception
    NamingException
    javax.naming.CommunicationException: serial context communication ex [Root exception is com.sun.enterprise.resource.PoolingException]
         at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:328)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at com.i2.catalog.services.request.BRR.startJmsConnection(BRR.java:662)
         at com.i2.catalog.services.request.BRR.startService(BRR.java:514)
         at com.i2.catalog.base.ServiceMBeanSupport.start(ServiceMBeanSupport.java:387)
         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:324)
         at com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:414)
         at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
         at com.i2.catalog.base.ServiceManager.start(ServiceManager.java:347)
         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:324)
         at com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:414)
         at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
         at com.i2.catalog.boot.CatalogController.start(CatalogController.java:401)
         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:324)
         at com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:414)
         at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
         at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
         at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
         at com.i2.catalog.boot.Bootstrap.start(Bootstrap.java:188)
         at com.transora.im.startup.SunAppServerStartup.initialize(SunAppServerStartup.java:164)
         at com.transora.im.startup.SunAppServerStartup.handleEvent(SunAppServerStartup.java:98)
         at com.sun.appserv.server.ServerLifecycleModule.postEvent(ServerLifecycleModule.java:192)
         at com.sun.appserv.server.ServerLifecycleModule.onStartup(ServerLifecycleModule.java:234)
         at com.sun.appserv.server.LifecycleModuleService.onStartup(LifecycleModuleService.java:194)
         at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300)
         at com.sun.enterprise.server.PEMain.run(PEMain.java:294)
         at com.sun.enterprise.server.PEMain.main(PEMain.java:220)
    Caused by: com.sun.enterprise.resource.PoolingException
         at com.sun.enterprise.connectors.AdministeredObjectResource.createAdministeredObject(AdministeredObjectResource.java:143)
         at com.sun.enterprise.naming.factory.AdministeredObjectFactory.getObjectInstance(AdministeredObjectFactory.java:67)
         at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:301)
         at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:304)
         ... 39 more
    Caused by: java.security.PrivilegedActionException: com.sun.enterprise.connectors.ConnectorRuntimeException
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sun.enterprise.connectors.AdministeredObjectResource.createAdministeredObject(AdministeredObjectResource.java:139)
         ... 42 more
    Caused by: com.sun.enterprise.connectors.ConnectorRuntimeException
         at com.sun.enterprise.connectors.util.SetMethodAction.handleException(SetMethodAction.java:110)
         at com.sun.enterprise.connectors.util.SetMethodAction.run(SetMethodAction.java:96)
         ... 44 more
    Caused by: java.lang.reflect.InvocationTargetException
         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:324)
         at com.sun.enterprise.connectors.util.SetMethodAction.run(SetMethodAction.java:69)
         ... 44 more
    Caused by: java.lang.IllegalArgumentException: MQ:Queue:Invalid Queue Name -
         at com.sun.messaging.Queue.setName(Queue.java:64)
         ... 49 more
    It seems that there is a security issue. Is there any entry I need to have in the sever.policy to make it happen.
    Note: I have defined jdbc datasource for oracle and the jmx services are able to access the datasource via JNDI lookup
    Your help and direction is deeply appreciated.
    Thanks in advance,
    Chiths

    As I know, the lifecycle module is just an external RMI client that has your lifecycle controled by container.
    Please, correct me if I am wrong, but there is no way to access JMS or Datasource via external RMI clients.

  • How to create an Virtual resource Adapter in SUN IDM 7.1?

    Hi,
    Can anyone know how to create an Virtual resource Adapter in SUN IDM 7.1?
    Regards
    Damodar

    Hi Dinesh,
    Try using waveset.adminRoles
    Thanks

  • How to create a seperate database image / disk?

    Has anyone found a way how to create a database image like the one Oracle provides for 11g to be used in conjunction with a system image (I'm refering to the "guest templates" Oracle offers)?
    I would like to create an image from an Oracle 10g R2-database, that ends up as a Xen-mountable image (e.g. "oracle10g.img"). So without the Linux OS inside. The OS wil reside in "system.img".
    So in the end the vm.cfg disk-entry will look like this:
    disk = ['file:/OVS/running_pool/1_vm_server_1/system.img,hda,w',
    'file:/OVS/running_pool/1_vm_server_1/oracle10g.img,hdb,w',
    ',hdc:cdrom,r',
    ]TIA!

    Bump... [No/any]one?

Maybe you are looking for

  • PatchBay error while running ATG application

    Hi All, I am getting the following error while running ATG application. Error  /atg/dynamo/messaging/MessagingManager PatchBay failed to startup properly : a Scheduler job will be registered to continue trying to bring PatchBay up : note this will ma

  • Itunes wifi sync useless

    First off let me say I love the idea of syncing wirelessly. That being said I reall wish apple would get it figured out. Ever since they updated to itunes 10.5 and iOS 5 with "wireless" syncing I have had problems with all of my devices syncing. In p

  • Installment plan/ payment plan without SSN

    Dear community, I am I'm the US with a. Visa and therefore do not possess a Social Security Number. I could not find  satisfactory info on the apple website, so I'm asking here. Do you happen to know if there is a special payment plan to pay for a Ma

  • Mailing a webpage - mistake in Safari Help

    I don't know if anyone else has seen this. I was going to mail a webpage to a friend of mine today, but couldn't remember how to do it. I clicked on Safari Help, typed in "mail a webpage", & got this answer: Choose Edit > Mail Contents of This Page,

  • Closing FLEX current application using AS

    I use the following code to close the current application using Action Script and JavaScript: var urlString:String = "javascript:window.opener = self; self.close();"; var request:URLRequest = new URLRequest(urlString); navigateToURL(request, "_self")