Cycle was detected in the build path of project

Hi
I was trying to create a Test application for MDB.
Here from the webContent I call the service locator in the EJB folder and get the bean object. Using the object I need to put a message in the MQ.
The onMessage method<present under EJB folder> picks up the message<which is a key> and then it has to refer the value in the Map which is under the ../WebContent/Javasource/..
But when I try to complile the project it is giving a error stating that A cycle was detected in the build path of project: MDBTestEJB.
How do I solve this ?? Please help ?

The fix for this - regardless of IDE - is to use a
bit of common sense, and good old-fashioned logic
(remember that?). You've obviously got (at least) 2
things that are dependent on each other, which - if
you remember the Chicken and Egg problem* - can't
possibly work. Work it out for yourself, you're
writing software, after all. If A needs B to do some
work but can't because B needs A first, you've got
problems
* sensible "it was the egg. Something
not-quite-like-a-chicken-but-close mated with
something-else-not-quite-like-a-chicken, and produced
an egg that eventually hatched into a chicken"
notwithstandingOK georgemc, I allowed you to motivate me to look for a better fix. I think I came up with a solution but I'd like to see if you, or anyone else, agrees with it.
First let me say that I'm using a persistence layer, which I've never done before, and with cardinality annotations different classes need to reference each other cyclically.
My problem was that I had class A in project 1 that depended on class B in project 2, but class B (project 2) also depended on class A (project 1). This meant that I had project 2 on the project 1 build path and vice versa; which is why I was getting the error.
After your post I started to think about it and it seems that my original solution didn't do a very good job of utilizing the extensibility that Java's OO gives us. My new solution is to remove any reference of class A that is in class B and also remove project 1 from the project 2 build path. Then extend class B into class ChildOf_B in project 1 and insert the references to class A in the new child class. I of course keep project 2 on the project 1 build path.
I've since told eclipse to throw an error for build path cycles instead of a warning and I no longer have any problems.

Similar Messages

  • Error : A cycle was detected in the classpath of project

    Hi, When I build a scheduler program, I get the below error
    A cycle was detected in the classpath of project:
    Error A cycle was detected in the classpath of project: EPD_APMDM_Dkmsted.com EPD_APMDM_Dkmsted.com
    Error A cycle was detected in the classpath of project: EPD_APMDM_DLibWrapted.com EPD_APMDM_DLibWrapted.com
    Please help
    Thanks
    Prabhu.M...

    The issue has been resolved.
    I was referring the jar files in 2 places , one in Wrapper and another in Portal DC.
    I removed the reference from Wrapper and issue got resolved
    Thanks

  • Cycle was detected error

    Has anyone seen this error: 'A cycle was detected in the
    build path of project:...?' I know it has something to do with
    using .as files from an external project, but I can't figure out
    how to fix the issue. I've' Googled' the error but nothing is
    leading me to a solution; any ideas?

    The issue has been resolved.
    I was referring the jar files in 2 places , one in Wrapper and another in Portal DC.
    I removed the reference from Wrapper and issue got resolved
    Thanks

  • How do I add a jar file into the build path of the compiler?

    Hey,
    I'm trying to import a jar file into the build path of the compilation process, but it does not find the packages or the classes that are in it.
    I think I don't add it right...
              ArrayList<String> options=new ArrayList<String>();
              options.add("-d");
              options.add(targetDirectory);
              options.add("-classpath");
              for(String str:includeDirectory)
                   options.add(str);
              if (!compiler.getTask(writer, fileManager, diagnostics, options, classes, compilationUnits).call());
                    ....and I've tried this way:
         public void setTargetDirectory(String targetDirectory) {
              this.targetDirectory = "-d " + targetDirectory;
         private void compile(Iterable<? extends JavaFileObject> compilationUnits) throws Exception {
              ArrayList<String> options = new ArrayList<String>();
              options.add(targetDirectory);
              String classPath="-cp ";// tried this also with "-classpath"
              for (String str : includeDirectory)
                   classPath+=str+":";
              options.add(classPath);
         if (!compiler.getTask(writer, fileManager, diagnostics, options, classes, compilationUnits).call())
              // throw new Exception("Compilation Error");
         }Thanks in advance,
    Adam.
    Edited by: Adam-Z. on Feb 24, 2010 5:41 AM
    Edited by: Adam-Z. on Feb 24, 2010 5:42 AM

    Thank you for your reply,
    Q: Are there .class files in that directory in that jar file? (the compiler doesn't ( can't )) look for directories, it can just look for specific files , and scan to get a list of all files matching certain criteria. So if there are no class files, it will say the package doesn't exist, even if there is a directory, possibly containing other files.yes there are class files in the jar, the tree structure:
    j2MeDataChunkGenerator_Plugin\(lots of class files)
    META-INF\manifest.mf
    and thats it.
    , your code will only work on windows because other platforms use a different path separator. You should use java.io.File.pathSeparator not explicit ';" when building your classpath. (this is unrelated to your problem, but you should correct it)will do, thanks.
    Q: Is that error in your post formatted by your own diagnostics? (we could possibly help you better if we didn't have to guess!!)I would not post my own error code, this text is generated by the compiler diagnostic.
    {code}
         System.err.println(" Error details: " + diagnostic.getMessage(null));
    {code}
    Q: Is line 3 of ImageCroper_Editor.java (sic) an import statement? (we could possibly help you better if we didn't have to guess!!)it is an import error... didn't the error message stated that it is an import problem? wired, I'm sure before it did. anyway it is an import error.
    Also you don't show us what the variable includeDirectory is in terms of type, and contents, that might be helpful. (we could possibly help you better if we didn't have to guess!!)It has only one String object: "D:\%Important Documents\WorkSpaces\PacMan\ApplicationManager\Plug-in\Data Chunk Designer.jar"
    the last file on the classpath list.
    Q: Have you proven this? that i did post, in this long line of text.
    Q: Is the compiler finding other classes (in other packages) in that same jar file?No. all the class files are in the jar, they all have entries that start with "j2MeDataChunkGenerator_Plugin\*.class", and since I get 47 errors I guess it does not load any other class.
    thank you for you comments, the problem with having these errors, is that I can't even get a piece of information where this error is coming from, only that it is an import loading error package not found, what does that mean? that the jar was not loaded in compilation(no error about this), that the jar is corrupted(no error about this), that the path is incorrect(it is correct I made sure), that there is no such package in the jar(There is), that the compiler does not load the package(does it even do that?), really I can't even guess why this happens, I've been at this on and of all day today, really annoying.
    Thanks,
    Adam.

  • A cycle is detected in the object graph.  This will cause an infinite loop.

    People,
    Looking for a little guidance.  Please point me in the correct direction if I am mistaken.  I am using Jersey 2.11 and generating JAXB definitions from XSD.
    I have a periodic exception that seems to be timing based.  If I change the timing of the message sent in anyway the error does not occur.  The other issue is that the cycle reported in the error changes some times, however, the cycles reported can not occur based on the XSD definition.  I have also dumped the message before sending and it definitely does not contain the cycle reported.
    In this specific scenario, I am sending a message of NotificationType which contains a list of DocumentType, however, DocumentType can never contain NotificationType so the following cycle is not possible:
    net.es.nsi.pce.discovery.jaxb.DocumentType@24d793f3 -> net.es.nsi.pce.discovery.jaxb.NotificationType@7f06bc07 -> net.es.nsi.pce.discovery.jaxb.DocumentType@24d793f3]
    I am wondering if there could be a different reason for receiving the following exception?
    Thank you for the help,
    John
    [code]
    [ERROR] [08/22/2014 11:16:22.307] [NSI-DISCOVERY-akka.actor.default-dispatcher-4] [akka://NSI-DISCOVERY/user/discovery-notificationRouter/$c] HTTP 500 Internal Server Error
    javax.ws.rs.ProcessingException: HTTP 500 Internal Server Error
            at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:255)
            at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:667)
            at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:664)
            at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
            at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
            at org.glassfish.jersey.internal.Errors.process(Errors.java:228)        at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:424)
            at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:664)
            at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:424)
            at org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:333)
            at net.es.nsi.pce.discovery.actors.NotificationActor.onReceive(NotificationActor.java:100)
            at akka.actor.UntypedActor$$anonfun$receive$1.applyOrElse(UntypedActor.scala:167)
            at akka.actor.Actor$class.aroundReceive(Actor.scala:465)
            at akka.actor.UntypedActor.aroundReceive(UntypedActor.scala:97)        at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)
            at akka.actor.ActorCell.invoke(ActorCell.scala:487)
            at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238)
            at akka.dispatch.Mailbox.run(Mailbox.scala:220)
            at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:393)
            at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
            at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
            at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
            at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
    Caused by: javax.ws.rs.InternalServerErrorException: HTTP 500 Internal Server Error
            at org.glassfish.jersey.message.internal.AbstractJaxbElementProvider.writeTo(AbstractJaxbElementProvider.java:152)
            at org.glassfish.jersey.message.internal.AbstractJaxbElementProvider.writeTo(AbstractJaxbElementProvider.java:85)
            at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.invokeWriteTo(WriterInterceptorExecutor.java:265)
            at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.aroundWriteTo(WriterInterceptorExecutor.java:250)
            at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162)
            at org.glassfish.jersey.filter.LoggingFilter.aroundWriteTo(LoggingFilter.java:293)
            at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162)
            at org.glassfish.jersey.message.internal.MessageBodyFactory.writeTo(MessageBodyFactory.java:1154)
            at org.glassfish.jersey.client.ClientRequest.writeEntity(ClientRequest.java:503)
            at org.glassfish.jersey.client.HttpUrlConnector._apply(HttpUrlConnector.java:315)
            at org.glassfish.jersey.client.HttpUrlConnector.apply(HttpUrlConnector.java:227)
            at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:246)
            ... 22 more
    Caused by: javax.xml.bind.MarshalException
    - with linked exception:
    [Exception [EclipseLink-25003] (Eclipse Persistence Services - 2.5.0.v20130507-3faac2b): org.eclipse.persistence.exceptions.XMLMarshalException
    Exception Description: An error occurred marshalling the object
    Internal Exception: Exception [EclipseLink-25037] (Eclipse Persistence Services - 2.5.0.v20130507-3faac2b): org.eclipse.persistence.exceptions.XMLMarshalException
    Exception Description: A cycle is detected in the object graph.  This will cause an infinite loop: net.es.nsi.pce.discovery.jaxb.DocumentType@24d793f3 -> net.es.nsi.pce.discovery.jaxb.NotificationType@7f06bc07 -> net.es.nsi.pce.discovery.jaxb.DocumentType@24d793f3]
            at org.eclipse.persistence.jaxb.JAXBMarshaller.marshal(JAXBMarshaller.java:403)
            at org.glassfish.jersey.message.internal.XmlJaxbElementProvider.writeTo(XmlJaxbElementProvider.java:139)
            at org.glassfish.jersey.message.internal.AbstractJaxbElementProvider.writeTo(AbstractJaxbElementProvider.java:150)
            ... 33 more
    Caused by: Exception [EclipseLink-25003] (Eclipse Persistence Services - 2.5.0.v20130507-3faac2b): org.eclipse.persistence.exceptions.XMLMarshalException
    Exception Description: An error occurred marshalling the object
    Internal Exception: Exception [EclipseLink-25037] (Eclipse Persistence Services - 2.5.0.v20130507-3faac2b): org.eclipse.persistence.exceptions.XMLMarshalException
    Exception Description: A cycle is detected in the object graph.  This will cause an infinite loop: net.es.nsi.pce.discovery.jaxb.DocumentType@24d793f3 -> net.es.nsi.pce.discovery.jaxb.NotificationType@7f06bc07 -> net.es.nsi.pce.discovery.jaxb.DocumentType@24d793f3
            at org.eclipse.persistence.exceptions.XMLMarshalException.marshalException(XMLMarshalException.java:97)
            at org.eclipse.persistence.internal.oxm.XMLMarshaller.marshal(XMLMarshaller.java:911)
            at org.eclipse.persistence.internal.oxm.XMLMarshaller.marshal(XMLMarshaller.java:848)
            at org.eclipse.persistence.jaxb.JAXBMarshaller.marshal(JAXBMarshaller.java:401)
            ... 35 more
    Caused by: Exception [EclipseLink-25037] (Eclipse Persistence Services - 2.5.0.v20130507-3faac2b): org.eclipse.persistence.exceptions.XMLMarshalException
    Exception Description: A cycle is detected in the object graph.  This will cause an infinite loop: net.es.nsi.pce.discovery.jaxb.DocumentType@24d793f3 -> net.es.nsi.pce.discovery.jaxb.NotificationType@7f06bc07 -> net.es.nsi.pce.discovery.jaxb.DocumentType@24d793f3
            at org.eclipse.persistence.exceptions.XMLMarshalException.objectCycleDetected(XMLMarshalException.java:400)
            at org.eclipse.persistence.internal.oxm.XPathObjectBuilder.buildRow(XPathObjectBuilder.java:207)
            at org.eclipse.persistence.internal.oxm.TreeObjectBuilder.buildRow(TreeObjectBuilder.java:118)
            at org.eclipse.persistence.internal.oxm.TreeObjectBuilder.buildRow(TreeObjectBuilder.java:1)
            at org.eclipse.persistence.internal.oxm.XMLCompositeObjectMappingNodeValue.marshalSingleValue(XMLCompositeObjectMappingNodeValue.java:237)
            at org.eclipse.persistence.internal.oxm.XMLCompositeObjectMappingNodeValue.marshal(XMLCompositeObjectMappingNodeValue.java:149)
            at org.eclipse.persistence.internal.oxm.NodeValue.marshal(NodeValue.java:102)
            at org.eclipse.persistence.internal.oxm.record.ObjectMarshalContext.marshal(ObjectMarshalContext.java:59)
            at org.eclipse.persistence.internal.oxm.XPathNode.marshal(XPathNode.java:393)
            at org.eclipse.persistence.internal.oxm.XPathObjectBuilder.buildRow(XPathObjectBuilder.java:238)
            at org.eclipse.persistence.internal.oxm.TreeObjectBuilder.buildRow(TreeObjectBuilder.java:118)
            at org.eclipse.persistence.internal.oxm.TreeObjectBuilder.buildRow(TreeObjectBuilder.java:1)
            at org.eclipse.persistence.internal.oxm.XMLCompositeCollectionMappingNodeValue.marshalSingleValue(XMLCompositeCollectionMappingNodeValue.java:321)
            at org.eclipse.persistence.internal.oxm.XMLCompositeCollectionMappingNodeValue.marshal(XMLCompositeCollectionMappingNodeValue.java:104)
            at org.eclipse.persistence.internal.oxm.NodeValue.marshal(NodeValue.java:149)
            at org.eclipse.persistence.internal.oxm.NodeValue.marshal(NodeValue.java:102)
            at org.eclipse.persistence.internal.oxm.record.ObjectMarshalContext.marshal(ObjectMarshalContext.java:59)
            at org.eclipse.persistence.internal.oxm.XPathNode.marshal(XPathNode.java:393)
            at org.eclipse.persistence.internal.oxm.XPathObjectBuilder.buildRow(XPathObjectBuilder.java:238)
            at org.eclipse.persistence.internal.oxm.TreeObjectBuilder.buildRow(TreeObjectBuilder.java:118)
            at org.eclipse.persistence.internal.oxm.TreeObjectBuilder.buildRow(TreeObjectBuilder.java:1)
            at org.eclipse.persistence.internal.oxm.XMLMarshaller.marshal(XMLMarshaller.java:743)
            at org.eclipse.persistence.internal.oxm.XMLMarshaller.marshal(XMLMarshaller.java:901)
            ... 37 more
    [/code]

    Unfortunately, even this thread is unanswered, i am closing the thread.as it it creating problems for further posting

  • Adapter module:: JAR file in the build path of EJB project

    Hi Experts,
    I have created one adapter module, for this I have created one EJB project and also associated one EAR project to that.
    I have completed my coding and changes in the xml files.
    I have followed this -
    http://www.sdn.sap.com/irj/scn/index;jsessionid=(J2EE3417500)ID1494558950DB01504425675464955468End?rid=/library/uuid/c0b39e65-981e-2b10-1c9c-fc3f8e6747fa&overridelayout=true
    while creating the module.
    but after finishing this , I can not see the ejb.jar file corresponding to the ejb project, I can see the class file generated in the build path.
    but I can not see the ejb.jar in the EJB project after build.
    When I checked the EAR project I found under Deployment descriptor there is a folder called module and there is  a jar file named as -
    EJB<my ejb project name>.jar
    when I am about to deploy this EAR  in the server it is showing  me to choose the file from EAR project and this EAR project contain the EJB Project .
    Request you to please let me know is everything ok with my project ? or please let me know how can I see the  ejb.jar  file corresponding to the ejb project below the build path.
    Thanks
    Vinny

    Hi Experts,
    I have created one adapter module, for this I have created one EJB project and also associated one EAR project to that.
    I have completed my coding and changes in the xml files.
    I have followed this -
    http://www.sdn.sap.com/irj/scn/index;jsessionid=(J2EE3417500)ID1494558950DB01504425675464955468End?rid=/library/uuid/c0b39e65-981e-2b10-1c9c-fc3f8e6747fa&overridelayout=true
    while creating the module.
    but after finishing this , I can not see the ejb.jar file corresponding to the ejb project, I can see the class file generated in the build path.
    but I can not see the ejb.jar in the EJB project after build.
    When I checked the EAR project I found under Deployment descriptor there is a folder called module and there is  a jar file named as -
    EJB<my ejb project name>.jar
    when I am about to deploy this EAR  in the server it is showing  me to choose the file from EAR project and this EAR project contain the EJB Project .
    Request you to please let me know is everything ok with my project ? or please let me know how can I see the  ejb.jar  file corresponding to the ejb project below the build path.
    Thanks
    Vinny

  • EJB3 Entities + Web Services: A cycle is detected in the object graph

    I have a Java EE 5 application, using Glassfish v2. My ejb project consists of a handful of entity beans, session beans, and this problem arose when I added a new web service.
    Here is a simple scenario borrowed from another forum post with a similar problem:
    Let's say I have a web service called getVehicle(int vehicleId) that returns a Vehicle object.
    Vehicle has a java.util.Set of Wheel objects.
    The Wheel object has a reference to its owner (Vehicle).
    The issue is this bi-directional relationship causes a cycle that the JAX system doesn�t like.
    Caused by: javax.xml.bind.MarshalException
    - with linked exception:
    [com.sun.istack.SAXException2: A cycle is detected in the object graph. This will cause infinitely deep XML: org.test.Vehicle at 13c6308 -> org.test.Wheel at 15880be -> org.test.Vehicle at 13c6308
                  at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:282)
                  at com.sun.xml.bind.v2.runtime.BridgeImpl.marshal(BridgeImpl.java:110)
                  at com.sun.xml.bind.api.Bridge.marshal(Bridge.java:178)
                  at com.sun.xml.ws.message.jaxb.JAXBMessage.writePayloadTo(JAXBMessage.java:299)
                  ... 54 more
    The one bit of information that I found that might fix this doesn't do much for me:
    https://jaxb.dev.java.net/guide/Mapping_cyclic_references_to_XML.html
    What options do I have to make my soap method work?
    Thanks,
    Hugh                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    i have got the same issue�C
    how did you implement onCycleDetected method�H
    can you send your full code to my mail [email protected]
    thanks !

  • Infinite loop - A stale JDBC connection was detected in the connection pool

    Hello.
    I have a simple JSP (no servlets) application with a single Fastlane Reader style view object to back it up. I'm deploying my application under OC4J 10g 9.0.4 using BC4J 9.0.3.11.50 (JDev 9.0.3.3) on RHEL 3.0, j2sdk1.4.2_03.
    I run with -Djbo.debugoutput=console
    Every so often, intermittently, and totally unpredictably, I see this on stdout for OC4J:
    03/12/23 07:42:07 [33326] A stale JDBC connection was detected in the connection pool
    03/12/23 07:42:07 [33327] Creating a new pool resource
    03/12/23 07:42:07 [33328] Trying connection/2: url='jdbc:oracle:thin:@somedb:1521:somedbsid' info='{user=someuser, password=somepass, dll=ocijdbc9, protocol=thin}' ...
    This message occurs over and over ultimately resulting in hundreds upon thousands of failed connections to the database. I have to forcibly restart OC4J to stop it.
    The weird thing about it is that it seems to only start doing this on one system (which is our internal deployment site); it works fine under an OC4J running in IDE or on a preproduction machine.
    Has anyone experienced this before - or at the very least, can clue me in on getting BC4J to be a little more verbose on the connection failure?
    Thanks and Happy Holidays,
    Sean

    Hi did you find an answer?
    if so, could you post it here?
    thanks

  • A port conflict was detected in the server configuration

    Hi
    Iam getting following error message "A port conflict was detected in the server configuration" error when I run startWeblogic.sh. I checked same in config.sh file about repeatation of port for channel sip but it is not repeated. Please help me out
    I have run nodemanager successfully on 5556 port but I have admin server starting problem I tried both $DOMIAN_HOME/startWeblogi.sh and $DOMAIN_HOME/bin/startWeblogic.sh location and I am getting same issue.
    Error message:
    ####<May 4, 2011 10:43:23 AM IST> <Info> <WebLogicServer> <HSCHARTOMR0112> <> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1304486003957> <BEA-000000> <WebLogic Server "AdminServer" version:
    WebLogic Server 10.3.4.0 Fri Dec 17 20:47:33 PST 2010 1384255 Copyright (c) 1995, 2009, Oracle and/or its affiliates. All rights reserved.>
    ####<May 4, 2011 10:43:24 AM IST> <Notice> <Log Management> <HSCHARTOMR0112> <> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1304486004002> <BEA-170019> <The server log file /u01/BEA/MW_HOME/user_projects/domains/base_domain/servers/AdminServer/logs/AdminServer.log is opened. All server side log events will be written to this file.>
    ####<May 4, 2011 10:43:24 AM IST> <Info> <Log Management> <HSCHARTOMR0112> <> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1304486004005> <BEA-170023> <The Server Logging is initialized with Java Logging API implementation.>
    ####<May 4, 2011 10:43:24 AM IST> <Info> <Diagnostics> <HSCHARTOMR0112> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1304486004044> <BEA-320001> <The ServerDebug service initialized successfully.>
    ####<May 4, 2011 10:43:24 AM IST> <Info> <Server> <HSCHARTOMR0112> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1304486004141> <BEA-002622> <The protocol "t3" is now configured.>
    ####<May 4, 2011 10:43:24 AM IST> <Info> <Server> <HSCHARTOMR0112> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1304486004141> <BEA-002622> <The protocol "t3s" is now configured.>
    ####<May 4, 2011 10:43:24 AM IST> <Info> <Server> <HSCHARTOMR0112> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1304486004141> <BEA-002622> <The protocol "http" is now configured.>
    ####<May 4, 2011 10:43:24 AM IST> <Info> <Server> <HSCHARTOMR0112> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1304486004142> <BEA-002622> <The protocol "https" is now configured.>
    ####<May 4, 2011 10:43:24 AM IST> <Info> <Server> <HSCHARTOMR0112> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1304486004142> <BEA-002622> <The protocol "iiop" is now configured.>
    ####<May 4, 2011 10:43:24 AM IST> <Info> <Server> <HSCHARTOMR0112> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1304486004143> <BEA-002622> <The protocol "iiops" is now configured.>
    ####<May 4, 2011 10:43:24 AM IST> <Info> <Server> <HSCHARTOMR0112> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1304486004144> <BEA-002622> <The protocol "ldap" is now configured.>
    ####<May 4, 2011 10:43:24 AM IST> <Info> <Server> <HSCHARTOMR0112> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1304486004144> <BEA-002622> <The protocol "ldaps" is now configured.>
    ####<May 4, 2011 10:43:24 AM IST> <Info> <Server> <HSCHARTOMR0112> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1304486004147> <BEA-002622> <The protocol "cluster" is now configured.>
    ####<May 4, 2011 10:43:24 AM IST> <Info> <Server> <HSCHARTOMR0112> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1304486004148> <BEA-002622> <The protocol "clusters" is now configured.>
    ####<May 4, 2011 10:43:24 AM IST> <Info> <Server> <HSCHARTOMR0112> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1304486004152> <BEA-002622> <The protocol "snmp" is now configured.>
    ####<May 4, 2011 10:43:24 AM IST> <Info> <Server> <HSCHARTOMR0112> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1304486004152> <BEA-002622> <The protocol "admin" is now configured.>
    ####<May 4, 2011 10:43:24 AM IST> <Info> <Server> <HSCHARTOMR0112> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1304486004153> <BEA-002624> <The administration protocol is "t3s" and is now configured.>
    ####<May 4, 2011 10:43:24 AM IST> <Info> <Server> <HSCHARTOMR0112> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1304486004157> <BEA-002622> <The protocol "sip" is now configured.>
    ####<May 4, 2011 10:43:24 AM IST> <Info> <Server> <HSCHARTOMR0112> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1304486004158> <BEA-002622> <The protocol "sips" is now configured.>
    ####<May 4, 2011 10:43:24 AM IST> <Info> <Server> <HSCHARTOMR0112> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1304486004159> <BEA-002622> <The protocol "sips-admin" is now configured.>
    ####<May 4, 2011 10:43:24 AM IST> <Info> <Server> <HSCHARTOMR0112> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1304486004164> <BEA-002622> <The protocol "diameter" is now configured.>
    ####<May 4, 2011 10:43:24 AM IST> <Info> <Server> <HSCHARTOMR0112> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1304486004165> <BEA-002622> <The protocol "diameters" is now configured.>
    ####<May 4, 2011 10:43:24 AM IST> <Info> <Server> <HSCHARTOMR0112> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1304486004166> <BEA-002622> <The protocol "diameter-sctp" is now configured.>
    ####<May 4, 2011 10:43:24 AM IST> <Emergency> <Server> <HSCHARTOMR0112> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1304486004185> <BEA-002633> <A port conflict was detected in the server configuration. The server is configured to listen on two ports that have the same port number and IP address. Channel "sip" address "sip://fe80:0:0:0:fcff:ffff:feff:ffff:5006" conflicts with channel "sip" address "sip://fe80:0:0:0:fcff:ffff:feff:ffff:5006".>
    ####<May 4, 2011 10:43:24 AM IST> <Critical> <WebLogicServer> <HSCHARTOMR0112> <AdminServer> <main> <<WLS Kernel>> <> <> <1304486004186> <BEA-000362> <Server failed. Reason: Network configuration error, check log for details.>
    ####<May 4, 2011 10:43:24 AM IST> <Notice> <WebLogicServer> <HSCHARTOMR0112> <AdminServer> <main> <<WLS Kernel>> <> <> <1304486004281> <BEA-000365> <Server state changed to FAILED>
    ####<May 4, 2011 10:43:24 AM IST> <Error> <WebLogicServer> <HSCHARTOMR0112> <AdminServer> <main> <<WLS Kernel>> <> <> <1304486004281> <BEA-000383> <A critical service failed. The server will shut itself down>
    ####<May 4, 2011 10:43:24 AM IST> <Notice> <WebLogicServer> <HSCHARTOMR0112> <AdminServer> <main> <<WLS Kernel>> <> <> <1304486004283> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
    ####<May 4, 2011 10:43:24 AM IST> <Info> <WebLogicServer> <HSCHARTOMR0112> <AdminServer> <main> <<WLS Kernel>> <> <> <1304486004283> <BEA-000236> <Stopping execute threads.>
    Thanks,
    Phani
    Edited by: Phani on 3 May, 2011 10:28 PM
    Edited by: Phani on 4 May, 2011 1:25 AM
    Edited by: Phani on 4 May, 2011 3:03 AM

    Refer:- wlcs_server1 won't start - sipchannel port conflict
    -Akshay

  • JPA:A cycle is detected in the object graph

    HI Friends,
    I am facing bit too many errors while working with JPA.unfortunately we dont have proper examples which can provided  clarity.
    Here in my case : I have Two Entities
    One to One bidirectional.
      EMPLOYEE
      CUBICLE.
    Employee.java
    @Entity
    @Table(name = "CS1_EMPLOYEE")
    public class Employee {
         @Id
         private int id;
         private String name;
        @OneToOne(cascade=CascadeType.ALL)
        private Cubicle cubicle;
         public int getId() {
              return id;
         public void setId(int id) {
              this.id = id;
         public String getName() {
              return name;
         public void setName(String name) {
              this.name = name;
         public Cubicle getCubicle() {
              return cubicle;
         public void setCubicle(Cubicle assignedCubicle) {
              this.cubicle = assignedCubicle;
    Cubicle.java
    @Entity
    @Table(name = "CS1_CUBICLE")
    public class Cubicle {
         @Id
         private int id;
         private String cubeName;
         // Bidirectional
         @OneToOne(mappedBy="cubicle",cascade=CascadeType.ALL)
         private Employee employee;
         public int getId() {
              return id;
         public void setId(int id) {
              this.id = id;
         public String getCubeName() {
              return cubeName;
         public void setCubeName(String cubeName) {
              this.cubeName = cubeName;
         public Employee getEmployee() {
              return employee;
         public void setEmployee(Employee residentEmployee) {
              this.employee = residentEmployee;
    *sql file*
    CREATE TABLE "CS1_EMPLOYEE"
        "ID"           Integer    NOT NULL,
        "NAME"         Varchar (12) UNICODE,
        "CUBICLE_ID"   Integer,
        PRIMARY KEY ("ID")
    CREATE TABLE "CS1_CUBICLE"
    "ID"          Integer    NOT NULL,
        "CUBENAME"      Varchar (12) UNICODE,
        PRIMARY KEY ("ID")
    Session Bean(EJB)
    when i test this method i am gettig the error(Method In Bean)
    public Cubicle findCubicleById(int id)
         String jpql = "select c from Cubicle c where c.id = " +id;
             Query q = em.createQuery(jpql);
             Cubicle c = (Cubicle)q.getSingleResult();
             return c;
    error
    [com.sun.istack.SAXException2: A cycle is detected in the object graph. This will cause infinitely deep XML: com.sap.com.jpacasestudy1.model.Employee@1ae5bf7 -> com.sap.com.jpacasestudy1.model.Cubicle@75e38d -> com.sap.com.jpacasestudy1.model.Employee@1ae5bf7])->com.sap.engine.services.webservices.espbase.server.additions.exceptions.ProcessException: Connection IO Exception. Check nested exception for details. (Exception; nested exception is:  javax.xml.bind.MarshalException
    I am unable to trace what the error is.Any help from SDN Experts?
    Regards
    Chandra Dasari
    Edited by: chandra shekar dasari on Jul 16, 2009 1:48 PM:ver1te
    Edited by: chandra shekar dasari on Jul 16, 2009 1:49 PM:code re

    Unfortunately, even this thread is unanswered, i am closing the thread.as it it creating problems for further posting

  • [svn:fx-trunk] 11479: Tweak the Spark project settings so that builder shows MX+spark setting in the build path .

    Revision: 11479
    Author:   [email protected]
    Date:     2009-11-05 13:47:44 -0800 (Thu, 05 Nov 2009)
    Log Message:
    Tweak the Spark project settings so that builder shows MX+spark setting in the build path.
    QE notes: None
    Doc notes: None
    Bugs: None
    Reviewer: Glenn
    Tests run: FB builds spark project
    Is noteworthy for integration: No
    Modified Paths:
        flex/sdk/trunk/development/eclipse/flex/spark/.actionScriptProperties

    Thats good news.

  • OVM Manager w 2nd NIC = A port conflict was detected in the server config

    Greetings,
    ENV: Oracle VM 3.1.1.544.
    Issue: We had to add/setup a second interface/NIC on a second subnet on Oracle VM Manager. Now, when ovmm is started, we get: <A port conflict was detected in the server configuration. The server is configured to listen on two ports that have the same port number and IP address. Channel "https" address "https://fe80:0:0:0:26b6:fdff:fec8:f4b1:7002" conflicts with channel "https" address "https://fe80:0:0:0:26b6:fdff:fec8:f4b1:7002".>
    BEA Docs (http://docs.oracle.com/cd/E13222_01/wls/docs92/messages/Server.html)
    BEA-002633: Emergency: A port conflict was detected in the server configuration. The server is configured to listen on two ports that have the same port number and IP address. Channel "channel1" address "url" conflicts with channel "channel2" address "url".
    Action: Please ensure that the address identities [ListenAddress and ListenPort combinations] are distinct and unique.
    Would you happen to know which file, (i.e. config.xml), and which lines (i.e. <listen-address>) we need to edit, with the correct syntax to add a second IP address/subnet to our WebLogic server?
    Thank you in advance for your support!
    Regards,
    Roddy

    Thank you for your support!
    1. What version of Linux? OL 62 x64
    2. Have you set a separate DNS name for the second interface IP? No, although we are using/setup dnsmasq on the second interface/eth3 to dish up DNS on the private network. DNS name resolutions works like a charm on the private vlan.
    3. Do you still have a single default route or are you trying to use more than one? The second interface is in a private unroutable network. the front end network/NIC eth0 is routable and on a public network.
    Public/Private Network Setup:
    * Public network with oracle vm manager on eth0/10.4.x.x. This is how we access the ovm manager GUI, and ssh to manager, and via manager ssh to the dom0s. The dom0s are on private nonroutable networks available via the manager host's eth3.
    * Private networks accessible via the oracle vm manager host eth3/802.1q/VLAN xxx. this is the server management network channel, this vlan is not routable. We have two other vlans, i.e. heartbeat and live migration, both also not routable.
    Thoughts?

  • Ojdeploy does not take jars specified in build path of project

    Hi,
    I am running build script for a project in which i am just specifying JDEV_HOME,WORKSPACE,OUTPUT_DIR,BUILD_LOGand then calling ojdeploy...
    those projects which has references of external jars are not getting compiled..since ojdeploy is not able to locate those jars while compiling..
    Have I missed any step...?
    How do I give path of external jars to my project..?
    Thnks,
    Yamini.

    I am running batch file :
    set JDEV_HOME=D:\Oracle\MiddlewareR4\jdeveloper\jdev\bin
    set WORKSPACE=D:\r2\UIForBuild\ui\UICommon\UICommon.jws
    set OUTPUT_DIR=D:\UIReleasedArea\deploy\com.ui.common.jar
    set BUILD_LOG=D:\r2\UIForBuild\log\uicommonstatuslog.xml
    %JDEV_HOME%\ojdeploy -workspace %WORKSPACE% -profile common -project com.ui.common -clean -outputfile %OUTPUT_DIR% -statuslogfile %BUILD_LOG% -forcerewrite

  • Including Library in Build Path

    I am using Eclipse 3.x,
    How do I add External Libraries in my Project
    Ans: Add all the external Jars in the build path (from project properites)
    What if its a huge hirarchy ?
    Ans shoud be: make a userlibrary and link that library to the folder which contains all jar files (hirarch of folders), and then include that userlibrary to your project.
    Problem; If I create userlibrary, I have to select the jar files .. not the higetst level folder, which contains all the jar files ... This is what I dont want. I want to just select a folder.. and that all, and then use this folder as the build path .. "HOW do I do this ""??
    -

    In eclpise, Drop all jar files under the lib folder of your project (including folders and subfolders).
    Right click on the project icon, go to <properties><java build path><libraries>
    Navigate to one of the sub folders. click on the top jar file, hold down the <shift> key and then click on the bottom jar file. All jar files between are selected. Add them to the project. Since this is a one-time-only effort, I wouldn't spend too much time trying to find a better short cut. You can pretty quickly go though each subfolder and get what you need.
    If you insist on your way, perhaps you need to repackage all the folders and subfolders with thier jar file in an all enclosing jar file with a manifest. I dont know how to do this.
    An alternative is to read up on Maven (the more modern way of automatically adding jar files and thier correct versions to a project). However, it will probably take you a long time to come up to speed on it.

  • The project was not built since its build path is incomplete

    Hi, Recently I port my project fro bea 8.1 to 10.2 & I am ubale to find following packages... workspace studio alos not able to find teh librraies contabing those files.
    The project was not built since its build path is incomplete. Cannot find the class file for weblogic.management.ManagementException. Fix the build path then try building this project
    The project was not built since its build path is incomplete. Cannot find the class file for weblogic.security.service.ResourceBase. Fix the build path then try building this project
    com.bea.p13n.mbeans.MailServiceMBean
    -KASH

    It seems this occurs since the required jar files for building the files is not available in the IDE build path.
    The build classpath is the path which is used to find classes that are referenced by your source code. During compilation, this path is used to search for classes outside of your project. As you know th build classpath can be specified for each project. In the project properties, it is referred to as the "Java Build Path Adding a JAR file to the build path : You can add a JAR file stored either in the workbench or anywhere in your file system to the build class path. To add a JAR to your build class path follow these steps: 1>>Select the project, and from its pop-up menu, select Properties. In the Properties dialog,select the Java Build Path page. 2>>Click the Libraries tab. You can now either add a JAR file which is contained in your workspace or which is somewhere else: to add a JAR file which is inside your workspace click the Add JARs button to add an external JAR file click the Add External JARs button.

Maybe you are looking for