Using Jboss Seam in an OC4J

Good morning everyone, i need some help because i've tried to use the jboss seam framework in a web app to run in an OC4J server using jdeveloper 10 and when i execute the start page i get the following stack trace:
GRAVE: [current-workspace-app] Se ha producido un error al desplegar el módulo EJB: com.evermind.server.ejb.exception.DeploymentException: [current-workspace-app:registration_model_0]: No se ha especificado ningún <around-invoke> ni ninguna devolución de llamada del ciclo de vida para el interceptor org.jboss.seam.ejb.SeamInterceptor.
com.evermind.server.ejb.exception.DeploymentException: [current-workspace-app:registration_model_0]: No se ha especificado ningún <around-invoke> ni ninguna devolución de llamada del ciclo de vida para el interceptor org.jboss.seam.ejb.SeamInterceptor.
     at com.evermind.server.ejb.exception.DeploymentException.missingAroundInvokeOrCallback(DeploymentException.java:158)
     at com.evermind.server.ejb.deployment.InterceptorDescriptor.verifyCallbackSet(InterceptorDescriptor.java:148)
     at com.evermind.server.ejb.deployment.InterceptorDescriptor.parseEJBJarXML(InterceptorDescriptor.java:137)
     at com.evermind.server.ejb.deployment.EJBPackage.parseInterceptors(EJBPackage.java:669)
     at com.evermind.server.ejb.deployment.EJBPackage.parseEJBModule(EJBPackage.java:506)
     at com.evermind.server.ejb.EJBPackageDeployment.parseMetaData(EJBPackageDeployment.java:960)
     at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:832)
     at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:217)
     at com.evermind.server.Application.setConfig(Application.java:439)
     at com.evermind.server.Application.setConfig(Application.java:340)
     at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1853)
     at com.evermind.server.ApplicationServer.initializeDeployedApplications(ApplicationServer.java:1608)
     at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:990)
     at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
     at java.lang.Thread.run(Thread.java:595)
07/06/25 09:36:57 ADVERTENCIA: Application.setConfig Application: current-workspace-app is in failed state as initialization failed.
java.lang.InstantiationException: Error initializing ejb-modules: [current-workspace-app:registration_model_0]: No se ha especificado ningún <around-invoke> ni ninguna devolución de llamada del ciclo de vida para el interceptor org.jboss.seam.ejb.SeamInterceptor.
25-jun-2007 9:36:57 com.evermind.server.ServerMessages warningApplicationInitializationFailed
ADVERTENCIA: Excepción al inicializar la aplicación desplegada: current-workspace-app. Application: current-workspace-app is in failed state as initialization failed
Ready message received from Oc4jNotifier
I think that i need an extra descriptor in some xml, i've looked the Jboss documentation and they say that it's independient of the server and they only know the current setup for Jboss, i hope you help me with this, Thanks

i answer the questions:
Is this right way? No
Is there any alternative? to run few handler class parallely from MDB. creating multiple instances of the MDB.
How can be Work manager made available in OC4J?
I dont think there is any way to make Work Manager available in OC4J

Similar Messages

  • Problem logging on to the managed RAS using JBoss Seam

    <p>The app I am currently working on is using JBoss Seam.  The sample jsp files you guys created were excellent.  As a simple test I first tried to logon and export a report thru a different app using JSP and Tomcat and had no problems.   I then copied the same code to my Seam application.  I placed the logon and export report code into an Action class.  I had to place the crystal jars into the seam/lib directory in order for seam to compile without errors.  I now have seam running successfully,  but get a runtime exception  every time I try to logon to the RAS server.</p><p>This code</p><p><strong>enterpriseSession = sm.logon(username, password, cms, auth);</strong></p><p>causes this exception</p><p>2006-11-20 12:00:49,551 ERROR [com.crystaldecisions.sdk.occa.pluginmgr.internal.PluginMgr] (getPlugins:292): unexpected exception<br /><strong>java.lang.ClassCastException</strong>: com.crystaldecisions.sdk.plugin.desktop.pdf.internal.PDFFactory</p><p>Any ideas on how to correct this?</p><p>Thanks in advance,</p><p>Dave</p>

    <p>Hi Dave</p><p>I wasn&#39;t familiar with JBoss Seam before you mentioned it in your post.  Looks like yet another application framework like Struts or JSF.  The logon error shouldn&#39;t cause any kind of ClassCastException with a PDF factory.  </p><p>Have you tried commenting out all code except for the login.  My only guess is that Seam changes the way that the code is executed so it appears that the error has to do with the login call.  I really don&#39;t think this is possible.</p><p>Start off real simple and uncomment the code as you go to see where the error is coming from. </p><p>Rob Horne<br /><a href="/blog/10">Rob&#39;s blog - http://diamond.businessobjects.com/blog/10</a></p>

  • Can i use jboss seam in jdeveloper

    Hi,
    I am new to jdeveloper.
    I am developing and application using jboss seam.
    I am using jdeveloper as my ide.
    can anybody tell me if i can use jboss seam with jdeveloper.
    or are there any plugin available for jboss seam.
    nagesh

    Hi Babak
    It's a common requirement on posting to this forum that you describe which version of JDeveloper you're using and what technologies (obviously ADF BC in this case).
    For making the static value dynamic within your View Object, are you familiar with the View Object bind variables/bind parameters? This will allow you to define a named variable in your VO that you can set programmatically or even let the user set. Play around with those first and see if they solve one part of your problem, then come back to the forum for the second part.
    Regards,
    CM.

  • Can jboss seam used with jdeveloper

    Hi,
    I am new to jdeveloper.
    I want to develop my application using jboss seam.
    does jdeveloper supports seam development.
    any help in this regards would be of great help.
    nagesh

    You are asking in the wrong forum. Try the JDeveloper forum: JDeveloper and ADF

  • Add JBoss seam to weblogic server workshop

    hello,
    i would like to use JBoss seam with weblogic workshop, but i dont know how to do that.
    if any one know steps to do that ?
    thanks a lot.

    which version of workshop you are using to installed Jboss server to your IDE.

  • Error in obtaining JDBC connection JBoss Seam 2.0.2 11g

    Hi,
    We are running a J2EE application based on JBoss Seam 2.0.2 and 11g R1.
    We are frequently encountering the below error. It is very intermittent and goes away on a screen refresh.
    Some help in resolving this would be greatly appreciated -
    java.lang.RuntimeException: java.lang.RuntimeException: org.jboss.serial.exception.SerializationException: Could not create instance of oracle.jdbc.driver.OraclePreparedStatementWrapper - oracle.jdbc.driver.OraclePreparedStatementWrapper
    at org.jboss.ejb3.interceptor.LifecycleInterceptorHandler.postActivate(LifecycleInterceptorHandler.java:152)
    at org.jboss.ejb3.stateful.StatefulContainer.invokePostActivate(StatefulContainer.java:409)
    at org.jboss.ejb3.stateful.StatefulBeanContext.postActivate(StatefulBeanContext.java:388)
    at org.jboss.ejb3.cache.simple.StatefulSessionFilePersistenceManager.activateSession(StatefulSessionFilePersistenceManager.java:316)
    at org.jboss.ejb3.cache.simple.SimpleStatefulCache.get(SimpleStatefulCache.java:387)
    at org.jboss.ejb3.cache.simple.SimpleStatefulCache.get(SimpleStatefulCache.java:375)
    at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:61)
    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
    at org.jboss.ejb3.stateful.StatefulRemoveInterceptor.invoke(StatefulRemoveInterceptor.java:97)
    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
    at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
    at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:110)
    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
    at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
    at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
    at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
    at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:206)
    at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:119)
    at $Proxy354.destroy(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
    at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
    at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:76)
    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
    at org.jboss.seam.ejb.RemoveInterceptor.aroundInvoke(RemoveInterceptor.java:43)
    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
    at org.jboss.seam.core.SynchronizationInterceptor.aroundInvoke(SynchronizationInterceptor.java:32)
    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
    at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
    at org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInterceptor.java:54)
    at org.javassist.tmp.java.lang.Object_$$_javassist_6.destroy(Object_$$_javassist_6.java)
    Caused by: java.lang.RuntimeException: org.jboss.serial.exception.SerializationException: Could not create instance of oracle.jdbc.driver.OraclePreparedStatementWrapper - oracle.jdbc.driver.OraclePreparedStatementWrapper
    at org.jboss.ejb3.stateful.StatefulBeanContext.extractBeanAndInterceptors(StatefulBeanContext.java:822)
    at org.jboss.ejb3.stateful.StatefulBeanContext.getInterceptorInstances(StatefulBeanContext.java:781)
    at org.jboss.ejb3.interceptor.LifecycleInvocationContextImpl.getLifecycleInvocationContext(LifecycleInvocationContextImpl.java:65)
    at org.jboss.ejb3.interceptor.LifecycleInterceptorHandler.postActivate(LifecycleInterceptorHandler.java:143)
    ... 57 more
    Caused by: org.jboss.serial.exception.SerializationException: Could not create instance of oracle.jdbc.driver.OraclePreparedStatementWrapper - oracle.jdbc.driver.OraclePreparedStatementWrapper
    at org.jboss.serial.classmetamodel.ClassMetaData.newInstance(ClassMetaData.java:342)
    at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:239)
    at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412)
    at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82)
    at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:643)
    at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353)
    at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273)
    at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241)
    at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412)
    at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82)
    at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:643)
    at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353)
    at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273)
    at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241)
    at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412)
    at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82)
    at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:643)
    at org.jboss.serial.persister.ArrayPersister.readObjectArray(ArrayPersister.java:196)
    at org.jboss.serial.persister.ArrayPersister.readData(ArrayPersister.java:172)
    at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412)
    at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82)
    at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:643)
    at org.jboss.serial.io.JBossObjectInputStream.readObjectOverride(JBossObjectInputStream.java:163)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:345)
    at org.jboss.serial.io.MarshalledObject.get(MarshalledObject.java:68)
    at org.jboss.ejb3.stateful.StatefulBeanContext.extractBeanAndInterceptors(StatefulBeanContext.java:793)
    ... 60 more
    Caused by: java.lang.InstantiationException: oracle.jdbc.driver.OraclePreparedStatementWrapper
    at java.lang.Class.newInstance0(Class.java:340)
    at java.lang.Class.newInstance(Class.java:308)
    at org.jboss.serial.classmetamodel.ClassMetaData.newInstance(ClassMetaData.java:334)
    ... 85 more
    Thanks !!
    Shankar

    I agree with the previous post.
    Here are some of my previous posts that might help. As a general rule, an a MVC design, your JDBC objects (connection, resultSet, preparedStatement) should not be exposed outside of the database layer.
    Re: how to connect multiple databases
    Re: can not get the right query result using JDBC

  • How to integrate Jboss seam frame work with Jdeveloper 11

    hi
    Really i don't know how to integrate Jboss seam frame work with JDeveloper, actually my current project implementation was started with Netbeans, but i am planning to suggest my customer , use JDeveloper.
    please provide the solution are any information, how to integrate the JBoss Seam frame work.
    Thanks
    Lakshmi

    Hi,
    JDeveloper 11 does not yet provide documentation about the integration with Seam (not only the technology but also the documentation is in early preview stage). However, this is an interesting question you ask and I'll follow up to see if we can get some document out in short term.
    Frank

  • JBoss Seam

    Hello,
    i want use JSF and EJB and I have jboss-seam-1.0.1.GA.zip file, but I don't know what i have to do with this file. I can see the booking example, but i don't know how i can do a new application.
    I use eclipse, jboss and myeclipse.
    can you help me, please?

    Hey your core exception root is related with naming server. Is there any setup to use InitialContext or name binding?

  • EJB annotations are not documented , versus Hibernate and JBoss seam do

    I have an application that contains EJB3 annotations, Hibernate Annotations and JBoss Seam annotations in the java code.
    When I generate the javadoc, the Hibernate and JBoss Seam annotations show by the side of the members and methods who has them, like, for example
    @Name(value="authenticator")
    @Scope(value=SESSION)
    @AutoCreate
    public class AuthenticatorImpl
    <dt>extends java.lang.Object </dt><dt>implements </dt>
    or, another example,
    h3. facesContext{noformat}@In(value="org.jboss.seam.faces.facesContext",
    create=true)
    private javax.faces.context.FacesContext facesContext{noformat}
    However, none of the EJB3 annotations included in the code are being dieplayed in the javadocs.
    Does someone knows if there is any reason why this should happen?
    This is my javadoc command:
    javadoc -version -d doc2 -sourcepath src\model;src\action -classpath "lib/core.jar;lib/jboss-embedded-api.jar;lib/jsr250-api.jar;classes/test;lib/hibernate.jar;lib/log4j.jar;lib/testng.jar;lib/ojdbc14.jar;lib/hibernate-commons-annotations.jar;lib/hibernate-search.jar;lib/hibernate-entitymanager.jar;lib/drools-compiler.jar;lib/richfaces-impl.jar;lib/jboss-cache.jar;lib/jboss-seam.jar;lib/janino.jar;lib/hibernate-annotations.jar;lib/richfaces-api.jar;lib/ejb-api.jar;lib/mvel14.jar;lib/jbosssx.jar;bootstrap;lib/jbpm-jpdl.jar;lib/commons-beanutils.jar;lib/lucene-core.jar;lib/jgroups.jar;lib/jsf-api.jar;lib/jboss-el.jar;lib/el-api.jar;lib/antlr-runtime.jar;lib/jstl.jar;classes/model;lib/antlr.jar;lib/persistence-api.jar;lib/jsf-facelets.jar;classes/action;lib/richfaces-ui.jar;lib/mail.jar;lib/drools-core.jar;lib/jboss-seam-debug.jar;lib/hibernate-validator.jar;lib/servlet-api.jar;lib/jta.jar" -private mil.navy.med.rota.model mil.navy.med.rota.security mil.navy.med.rota.action.util mil.navy.med.rota.action.util.mpd mil.navy.med.rota.action.mpd mil.navy.med.rota.action.referrals mil.navy.med.rota.model.referrals mil.navy.med.rota.action.trainman mil.navy.med.rota.model.trainman -use -version -author -splitindex
    The version of javadoc used is
    Standard Doclet 1.6.0.0_3
    Aticipated thanks!

    Nevermind, the issue was that my persistence.xml did not contain the following property:
    <property name="hibernate.hbm2ddl.auto" value="create-drop"/>
    Therefore, the tables were not being created upon deployment.
    Still, I would expect to see entity beans listed in the WebLogic console.

  • Unable to create database connection using jboss

    hi masters,
    i have developed an application using jdeveloper ADF, and created .EAR file and deployed it in jboss. it shows that application is deployed, but when using application using URL http://localhost:8080/appl/index.jspx it opens login window, but when we enter username and password it does not authenticate user.
    i am not developer, but a DBA and ask to deploy application using jboss. how can i resolve this issue??? while starting , jboss generates error "creating connection to database failed- unauthenticated login attempted"
    what might be the issue?????
    posting my exact error here, hope someone will post some suggestion.
    MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
    ObjectName: jboss.mq:service=PersistenceManager
    state: FAILED
    I Depend On: jboss.jca:service=DataSourceBinding,name=DefaultDS
    Depends On Me: jboss.mq:service=DestinationManager
    java.lang.SecurityException: Invalid authentication attempt, principal=null
    ObjectName: jboss:service=KeyGeneratorFactory,type=HiLo
    state: FAILED
    I Depend On: jboss:service=TransactionManager
    jboss.jca:service=DataSourceBinding,name=DefaultDS
    Depends On Me: java.lang.SecurityException: Invalid authentication attempt, principal=null
    ObjectName: jboss.mq:service=StateManager
    state: FAILED
    I Depend On: jboss.jca:service=DataSourceBinding,name=DefaultDS
    Depends On Me: jboss.mq:service=DestinationManager
    org.jboss.mq.SpyJMSException: Error creating connection to the database.; - nested throwable: (java.
    lang.SecurityException: Invalid authentication attempt, principal=null)
    ObjectName: jboss.ejb:service=EJBTimerService,persistencePolicy=database
    state: FAILED
    I Depend On: jboss.jca:service=DataSourceBinding,name=DefaultDS
    Depends On Me: java.lang.SecurityException: Invalid authentication attempt, principal=null
    any suggestion will be appreciated..
    thanks and regards
    VD
    Edited by: vikrant dixit on १९ फ़रवरी, २००९ ९:१६ अपराह्न

    hello all,
    do anyone have any suggestion????
    thanks and regards
    VD

  • Configuration of JMS receiver  Using Jboss JMS provider

    Hi all..
    I am configuring JMS adapter as receiver.
    I am using JMS provider JBOSS .
    I hav done configuration as
    Transport protocol :Acess JMS provider with JNDI
    JNDI lookUp Name of q connection factory: org.jboss.naming.LinkRefPairService
    Name of JNDI initial Context factory :org.jnp.interfaces.NamingContextFactory
    in sxmb_moni I am getting blak&white flag
    IN Run time work bench In adapter monitoring I am getting
    Receiver channel. Details: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory.
    Can anybody plz tell me why this haapend?

    Did you deploy the JMS client jars to the J2EE Engine?
    Cannot instantiate class: org.jnp.interfaces.NamingContextFactory  sounds like the Framework can't find the class.
    Take a look here:
    Re: Using JBOSS JMS provider with XI
    Greetz
          Sebastian
    Message was edited by: Sebastian Simon

  • I am using jboss 4.2, java5.0 and Fedora Linux Enterprise Version 4.0 with

    Hi,
    I am using jboss 4.2, java5.0 and Fedora Linux Enterprise Version 4.0 with kernel 2.6 and NPTL 2.3.4
    I am using open source network chart generation API provided by geosoft ( http://geosoft.no/graphics/). This API generates chart into swing window.
    I wrote the code to change this swing window into web browser compatible jpeg image. I used thread to generate the image. It is working fine, for one user and no other processes running on the application.
    ISSUE:- When more than 5 users hit the application at the same time, some images get generated, some donot, there is no fixed trend to this image generation process.
    I analyzed CPU timing, it is using 100% CPU and after the images are generated / not generated, the CU usage goes down to zero.
    When I used the same code with Linux 9.0 (kernel 2.4, NPTL � 0.6), rest remain the same, it is working perfectly fine with more than 10 users, with all images being generated within 30 secs
    Can somebody help me out to figure out whether it is a kernel issue / NPTL issue? Does it have something to do with thread processing?
    Code for network chart generation :-
    NetworkGenerator ntw=new NetworkGenerator();
    BufferedImage img;
    ntw.setVectRootNodes(vectRootNodes);
    ntw.setHashChildNodeNames(hashNodeData);
    ntw.setHashNodeRelation(hashNodeRelation);
    ntw.setHashNodesCreated(hashNodesCreated);
    ntw.setSupplyChainBean(supplyChainBean);
    Thread t=new Thread(ntw);
    t.setPriority(Thread.MAX_PRIORITY);
    t.start();
    try{
    t.join();
    catch(Exception e)
    DebugManager.doDebug(className.toString(),e);
    if(t!=null)
    System.out.println(t.getState().name());
    System.out.println(t.isAlive());
    public class NetworkGenerator extends JFrame implements Runnable{
    public void run()
    //call the garbage collector
    System.gc();
    // Create the graphic canvas
    window = new no.geosoft.cc.graphics.GWindow();
    window.getCanvas().setSize(screenWidth,screenHt );
    // Create the GUI
    JPanel topLevel = new JPanel();
    topLevel.setBackground(new Color(255,255,255)) ;
    topLevel.setLayout (new BorderLayout());
    getContentPane().add (topLevel);
    topLevel.add (window.getCanvas(), BorderLayout.CENTER);
    topLevel.setVisible(true);
    // Create scene with default viewport
    scene = new no.geosoft.cc.graphics.GScene(window, "My Scene"+ (new Date().getTime()));
    no.geosoft.cc.graphics.GStyle style = new no.geosoft.cc.graphics.GStyle();
    style.setForegroundColor (new Color (0, 0, 0));
    style.setBackgroundColor (new Color (255, 255, 255));
    style.setFont (new Font ("Arial", Font.BOLD, 10));
    scene.setStyle (style);
    int xPos=minY ;
    int yPos=0;
    int noofChild=vectRootNodes.size();
    int dev=(screenHt -minY )/(noofChild+1);
    int newDev=Math.round(dev-(dev/5));
    //log.debug("---------noofChild-----------------------------------"+noofChild);
    if(!hashNodesCreated.isEmpty())
    for(int i=0;i<noofChild;i++)
    yPos=minY +(dev*(i+1));
    String nodeName = vectRootNodes.get(i).toString();
    log.debug("root nodename===="+nodeName+" with ypos :"+yPos);
    //log.debug("nodeName=="+nodeName);
    //create root nodes
    Node rootNode = createChildNode( nodeName,minY,screenHt,xPos, yPos ,newDev,1);
    scene.add(rootNode);
    log.debug("screenWidth ===="+screenWidth );
    // if(screenWidth>minExtXval)
    // minExtXval = screenWidth;
    // w2 o
    // * |
    // * |
    // * |
    // * w0 o-------o w1
    double w0[] = {0.0,screenHt ,0.0};
    double w1[] = {screenWidth,screenHt,0.0};
    double w2[] = {0.0,0.0,0.0};
    scene.setWorldExtent (w0, w1, w2);
    this.pack();
    Thanks in advance.

    How do I do that as I checked for it in utilities and is not there? Thanks in advance

  • How to Struts and Spring in NetBeans using Jboss

    Hi Every One,
    I have a some basic Knowledge in Struts Spring and Hibernate. I already worked in it with Eclipse IDE in WebSphere Server...
    But Now i want to How to Use Struts Spring and Hibernate in NetBeans using JBoss i need that Folder Structure like that Stuffs
    Can Anybody Help Me for this

    Google

  • Using JBOSS JMS provider with XI

    Hi,
    I am connecting XI to a custom Java application developed on JBOSS app server.  The custom application is developed with connectivity using JMS.  I was told that JBOSS has a JMS provider used by the custom app.  Has anyone done this before?  Is it possible for XI to use JBOSS JMS provider?  How difficult is this going to be for synchronous interface?  Any information is greatly appreciated.
    thanks.
    James Chang

    hi,
    first deploy jboss-j2ee.jar,jms.jar,dom4j-full.jar..for deploying these jars into the xi follow this link
    http://help.sap.com/saphelp_nw04s/helpdata/en/33/e6fb40f17af66fe10000000a1550b0/frameset.htm
    then to make use of the JMS adapter follow this link,
    http://help.sap.com/saphelp_nw04s/helpdata/en/4d/a3bc97ff55c742af7faed661635baf/frameset.htm
    hope this will be useful.....
    regards,
    Sundararamaprasad

  • Clarrification about JSF and JBoss Seam

    Hi ,
    i have just started a couple of hours ago reading about JSF and JBoss Seam and it seems interesting ......
    here is my question :
    i have a form ( registration form ) written in jsp and a congratulation page (jsp page too)
    is right what i am saying ?
    JSF form ( input values) are sent to Seam to be validated under hibernate rules and then it( Seam ) responses to the JSF the entity bean .
    again JSF form asks Seam to resolve the variable Register ( the value of the submit button in the form) and Seam returns the RegisterACtion
    After that the same jsp page invoke the register method of the RegisterAction stateless session beam .inside the register method it redirect the user to congratulation jsp page .
    do you think its correct
    sorry folks for my english
    Best reagrds
    yacine fandi

    or maybe if you can give a link of a good tutorial I�ll be greatfull
    cheers yacine
    Message was edited by:
    fandi_yacine

Maybe you are looking for