JboWarning - returns validion exception instead of warning

Hi defined validation method in my EO.
    public boolean validateSalary(Number salary) {
        if(salary.intValue() < 4000){
            JboWarning jboWarn = new JboWarning("Bad salary");
            jboWarn.setSeverity(JboWarning.SEVERITY_WARNING);
            getDBTransaction().addWarning(jboWarn);
        return true;
    } This method returns exeception instead of warning message for user - it behaves like a JboException

Hi there,
You could try the following:
    public boolean validateSalary(Number salary) {
        if(salary.intValue() < 4000){
            JboException jboException = new JboException("Bad salaray");
            jboException.setSeverity(JboWarning.SEVERITY_WARNING);
            getDBTransaction().addWarning(jboException);
        return true;
    }This should display a warning popup to the user. However if you want to associate that message with an EditatbleValueHolder on the page
then you should construct an AttrValException, set its severity to SEVERITY_WARNING, add it to the detail list of an RowValExceptioton
and then throw the RowValException or register it using the registerRowException() method of the RowImpl class. Foe example:
  public boolean validateManagerId(Integer managerid)
    if (managerid.intValue() < 4000) {
      // There might be an easier way to retrieve a particular AttributeDef
      AttributeDef[] attrDefs = this.getDefinitionObject().getAttributeDefs();
      AttributeDef attrDef = null;
      for (AttributeDef atDef : attrDefs) {
        if ("ManagerId".equals(atDef.getName())) {
          attrDef = atDef;
          break;
      // Construct an AttrValException and set its severity
      String errCode = "com.test.model.Departments.Manager_CUSTOM_ERROR";
      AttrValException attrEx = new AttrValException(MetaObjectBase.TYP_ENTITY_OBJECT, getResourceBundleDef(),
                                           errCode, getEntityDef().getFullName(),
                                           "ManagerId", getAttribute("ManagerId"), null, false);
      attrEx.setSeverity(JboWarning.SEVERITY_WARNING);
      // The list of detailed exceptions may hold an arbitrary number of exceptions
      ArrayList detailsList = new ArrayList();
      detailsList.add(attrEx);
      // Construct a RowValException object
      RowValException rowEx = new RowValException(getResourceBundleDef().createResourceBundle(ADFContext.getCurrent().getLocale()).getClass(),
                                                  null, getEntityDef().getFullName(), this.getKey(), detailsList, true);
//      this.registerRowException(rowEx);
      throw rowEx;
    return true;
  }

Similar Messages

  • Unmarshalling return; nested exception is: java.lang.ClassNotFoundException

    I think what I'm trying to achieve is probably very simple (or at least should be) but I've been trying for at least 5 hrs now:
    I'm using RMI for a distributed app I'm building for my degree.
    Up until today I got around the need for using a SecurityManager by including all shared classes (those I pass between client and server) in a class library .jar file referenced by both client and server projects.
    This has worked fine, but now I've coded a method that returns an object of a class that I do NOT want to include in the shared library (because I don't want the client to be able to construct these objects); therefore, I've decided to try and get the dynamic class loading working.
    I'm using netbeans and testing on a single computer.
    Here's what I'm trying:
    My main() method has the standard code I've seen: if (System.getSecurityManager() == null) System.setSecurityManager(new RMISecurityManager());
    In the server project's Run properties, I'm specifying VM Options: -Djava.security.policy=c:\security.policy -Djava.rmi.server.codebase="file://C:/"
    I've copied the ellusive class's .java file into C:\ to keep the URL simple, but I've also tried directing it to the netbean project's bin\ folder using '%20' for spaces, both with the same results - about a five second pause (so it's finding something I think) and then the error message from the client's output:
    error unmarshalling return; nested exception is: java.lang.ClassNotFoundException: mypackage.myClass
    My policy file's contents are:
    grant {
    permission java.security.AllPermission;
    I've tried about 20 different ways of formatting the codebase argument's URL.. can anyone help?
    David
    p.s. my OS is Windows 7

    Thanks EJP,
    Yes, after posting I guessed it might want the .class file instead, so I directed it their instead - still no joy, unfortunately!
    I'm carrying out all testing on one computer, so (+if+ I could get it to work) a local codebase address would not be a problem.
    Noted about the server-side security manager. I might want to use callbacks, but the server still won't need to download class files from the client, so I'll still try and set the codebase, but will try without loading a security manager on the server-side.
    For the time being I've put the class in the shared library but have defined it within the same package as the server code. By doing this I've been able to set the class's accessibility back to default, but the client can still access it as Object (from the shared library).
    This solution is good enough, but I still wonder why the client refuses to accept the class file from the C:\ codebase.

  • Animated gif icon for an exception instead of the standard icon?

    Hello,
    is there a possibillity to use an animated gif icon for an exception instead of the red standard icon in a web template?
    I tried  to change the standard icon s_s_ledr.gif against an animated gif icon in the mime repository, but it does not work. In the IE the icon is still shown without animation.
    Maybe I´ve changed the wrong icon?
    Can you please help me?
    Greetings
    Andreas
    Edited by: Andreas Zenner on Feb 25, 2009 1:22 PM

    Hi Andreas,
    it is possible to integrate own symbols for exceptions. If you can use animated gif I don't know. However there is a post over here explaining the usage of the modification for symbols:
    Re: BI 7 Web Design API - Parameter modification - Exception symbol
    If you have questions just let us know.
    Brgds,
    Marcel

  • Why use customized / particular exceptions instead java.lang.Exception

    Hi,
    Do any of you guys know where can I find a theorical statement / explanation about why use particular / customized exceptions instead java.lang.Exception? I am aware that it consumes more resources and becomes a heavier object, as well as the clearness when coding and all that stuff; however, my boss wants to see a tech document where all this is clearly stated. Any resource over there?
    Regards

    It is better to throw specific--or at least module- or
    package-specific--excpetions, rather than Exception,
    because then the caller knows what to expect. However,
    if you declare "throws Exception", the caller can
    still catch IOException, SQLException, etc.,
    separately. He'll just have to be a really good
    guesser as to which ones he should catch.True.
    Also, there's no point in declaring "throws
    NullPointerException." Any method can throw it without
    declaring it. If you generate your own NPE (or other
    unchecked exception) inside the method, then you
    should document it in the javadoc comments, but you
    don't need to put it in the throws clause. It doesn't
    do any harm, but it's redundant and cluttersome.It was an example and I wasn't feeling too creative....excuse me. ;-) But yeah, I've never thrown NPE ever.
    I'm assuming overhead caused by extending classes.At
    the worst, it would be miniscule, or so I wouldthink.
    What overhead is created by extending classes?Hmm, I was under the impression that a class the extended another class, inherited all of the other classes data (variables, etc.). Hence, you get something like this:
    SuperClass1 + SubClass1 + SubClassOfSubcCass1 = Memory usuage for SubClassOfSubClass1.
    Since adding postivie number will always end up increasing data, SubClassOfSubClass1 will use more dtat than SuperClass1.
    Am I wrong?

  • UnmarshalException:error unmarshalling return;nested exception ClassNotFoun

    Hi,
    I have written a client for an enterprise application. The client communicates with the application using APIs provided by the application that internally make RMI calls to the application server.
    I am getting the following error when the client invokes a remote method.
    java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
        java.lang.ClassNotFoundException: <a.b.c.MyClass>
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:169)The class 'a.b.c.MyClass' is included in the client JAR as well as in the server installation directory. The classes in this directory will be added by server into its classpath automatically. The client and server are running on the same machine but have different classpaths.
    The remote method uses class 'a.b.c.MyClass' in both input parameter and return type.
    This method returns a list of objects found as specified by the input parameters. The input parameter and the result both use the 'a.b.c.MyClass'.
    The code is able to make the call, the server processes the call, but it is failing wihle returning the result. I am not able to understand why it is failing for Unmarshalling the class that it has already (marshalled) used while sending the input parameters.
    The code was working fine previously. I am not able to find out what has made it not working.
    Waiting for your valuable help.
    Providing the complete stack trace for reference
        java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
        java.lang.ClassNotFoundException: <package.class>
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:169)
        at wt.method.MethodServerImpl_Stub.invoke(Unknown Source)
        at wt.method.RemoteMethodServer.invoke(RemoteMethodServer.java:616)
        at wt.fc.PersistenceManagerFwd.find(PersistenceManagerFwd.java:215)
        at ... Client call stack
        at AppSide_Connector.BusObjJavaInterface.poll(BusObjJavaInterface.java:584)
        at AppSide_Connector.AppCalls.poll(AppCalls.java:192)
        at AppSide_Connector.AgentBusinessObjectManager.poll(AgentBusinessObjectManager.java:717)
        at AppSide_Connector.AppPolling.poll(AppPolling.java:310)
        at AppSide_Connector.AppPolling.doPollingContinuousWait(AppPolling.java:574)
        at AppSide_Connector.AppPolling.run(AppPolling.java:137)
        at java.lang.Thread.run(Thread.java:534)
    Caused by: java.lang.ClassNotFoundException: <package.class>
        at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:219)
        at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:558)
        at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1513)
        at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1626)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
        at wt.fc.QueryResult$ChunkedExternalization.readObject(QueryResult.java:449)
        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 java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:838)
        at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1746)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
        at wt.fc.QueryResult.readExternal(QueryResult.java:156)
        at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1686)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1644)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
        at wt.method.MethodResult.readExternal(MethodResult.java:144)
        at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1686)
        at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1644)
        at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
        at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
        at sun.rmi.server.UnicastRef.unmarshalValue(UnicastRef.java:297)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:146)
        ... 15 moreRegards,
    jsk1

    did you get the answer, can you share that, am stuck with similar problem
    My remote call returns an object of some pojo which is generated from the class in a jar file. I get this exception
    Client exception: java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
    java.lang.ClassNotFoundException: com.xx.fir.xxxx.entity.Crdxx (no security manager: RMI class loader disabled)
    java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
    java.lang.ClassNotFoundException: com.xx.fir.xxxx.entity.Crdxx (no security manager: RMI class loader disabled)
    Also my ant traget:
    <java classname="com.xxx.cache.CacheServiceEndPoint" fork="yes">
    <jvmarg value="-Djava.rmi.server.codebase=file:/${build}/classes/ file:/${lib}/{color:#ff0000}hibernate-credit.jar{color}" />{color:#ff0000} jar file where the pojo resides
    {color}<jvmarg value="-Djava.security.policy=C:/workspace/Cache/policy.all" />
    thx in advance

  • Fmt:message returns question marks instead of unicode

    well, pretty simple problem.
    When i'm using <fmt:message key="someunicode"/>, the tag returns question marks instead of hebrew unicode string.
    The page displays unicode that isn't coming from the tags.
    The resorues files is ok too.
    Anyone knows something about it?

    Have you set the bundle for the fmt tag before you use the <fmt:message> tag?
    <fmt:setBundle var="mybundle" basename="resources.application"/>
    Then :
    <fmt:message key="my.key.message" bundle="${mybundle}"/>You can also the the bundle in the <fmt:message> tag.

  • PowerShell command returned an exception. Unexpected token 's' in expression or statement

    Hi All,
    I am trying to Creating a VM based on a Template in VMM through Orchestrator Runbook using below URL;
    http://blogs.catapultsystems.com/lrayl/archive/2013/07/03/orchestrator-system-center-integrations-part-3-creating-a-vm-based-on-a-template-in-vmm.aspx
    Runbook:
    But at the Create VM from Template activity runbook will failed:
    Throwing below error in while running runbook in Error Summary text:
    PowerShell command returned an exception. Unexpected token 's' in expression or statement.
    Exception: InvalidOperationException
    Target site: PSRunspaceInvoker.HandleInvokeException
    Stack trace:
       at Microsoft.SystemCenter.Orchestrator.Integration.PowerShellConnector.PSRunspaceInvoker.HandleInvokeException(Exception ex, ILogger logger)
       at Microsoft.SystemCenter.Orchestrator.Integration.PowerShellConnector.PSRunspaceInvoker.Invoke(RunspaceInvoke runspace, String script, ILogger logger)
       at Microsoft.SystemCenter.Orchestrator.Integration.PowerShellConnector.PSScriptRunner.Execute(String script)
       at Microsoft.SystemCenter.Orchestrator.Integration.VMM2012Domain.VM.CloneFromTemplate(String vmmServer, ParameterList inputParameters)
       at Microsoft.SystemCenter.Orchestrator.Integration.VMM2012QIK.VM.CloneFromTemplate.DoExecute(IActivityRequest request, ILogger logger)
       at Microsoft.SystemCenter.Orchestrator.Integration.VMM2012QIK.ActivityBase`2.Execute(IActivityRequest request, IActivityResponse response)
    Both Orchestrator & SCVMM powershell are set on Unrestricted powershell.
    Kindly suggest any solution or work around for resolution.
    Thanks Rahul$

    This may be a bit late and perhaps not even relevant but I came across this post when trying to solve an issue I had with a powershell script in Orchestrator. Maybe it will help you, or maybe it will help someone else.
    I was trying to create a connector between SCOM and our ticketing system. I wanted to export alert descriptions and in the process of testing I came across an alert description that had multiple lines and all kinds of crazy formatting. When I tried to assign
    the Published Data to a varialbe in my powershell script i would get an error "Unexpected token [a partial alert description] in expression or statement.". After looking at the actual alert description data and seeing that i was only getting some of it
    and not all of it it dawned on me that i somehow needed to escape out of all the crazy quoting, carriage returns, and special characters. to do that i assigned the Published Data to a variable in my powershell script as follows:
    $Description = @"
    {Description from "Get Alert"}
    Apparently the @" "@ is called a here-string. Somewhat interesting. Hope it helps you or someone else!

  • Sax parser returned an exception while trying to print/export in PDF

    Hi all ,
    I am getting an error as below when I am trying to export and print my report in PDF and also into POWERPOINT.
    Sax parser returned an exception. Message: Entity 'nbsp' was not found, Entity publicId: , Entity systemId: , Line number: 40, Column number: 511
    Error Details
    Error Codes: UH6MBRBC
    Location: saw.subsystem.pdf.postprocess, saw.subsystem.portal.pdf, saw.httpserver.processrequest, saw.rpc.server.responder, saw.rpc.server, saw.rpc.server.handleConnection, saw.rpc.server.dispatch, saw.threadpool, saw.threadpool, saw.threads
    This is in my QA environment.I have the same report in my local and that seems to be working fine without any errors.I saw an OTN thread below but that says they are using static text with html codes in their reports and that is causing the error..But I don't have any static text in my reprot.it is a Pivot table with combine with similar request.Also one more thing is I am getting this error all of sudden this morning..I have 8 more reports and they seem to be working fine.
    Error when trying to use the "Print to PDF" option
    Any suggestions please

    Hi Satya,
    I am facing the same issue. but I am facing this issue with Mozilla Firefox browser only. If I modify same reports in internet explorer I don't get this error.  It seems this issue is with OBIEE 10g version only and Oracle has provided some patches on this in OBIEE 11g .
    You have posted this question long back. If you have got any solution for this then please let me know also.
    Thanks

  • Sax parser returned an exception. Message: Invalid character (Unicode: 0x12

    Hi,
    I'm getting the error 'Sax parser returned an exception. Message: Invalid character (Unicode: 0x12), Entity publicId: , Entity systemId: , Line number: 47, Column number: 75'
    when I try and run a report in BI Answers 10g.
    Apparently it's to do with a Java applet (or piece of Java code anyway) not being sent to an exception so it can't handle it. The problem is that I can't
    run the report to get at some of the views that seem only available at run time. eg. charts.
    Does anyone know how I can see behind the scenes of views without running the report?
    Or does anyone know how to get rid of this error anyway?
    Many thanks,
    - Jenny

    Hi Satya,
    I am facing the same issue. but I am facing this issue with Mozilla Firefox browser only. If I modify same reports in internet explorer I don't get this error.  It seems this issue is with OBIEE 10g version only and Oracle has provided some patches on this in OBIEE 11g .
    You have posted this question long back. If you have got any solution for this then please let me know also.
    Thanks

  • Webservice returned with exception in method 'isConnectionLoopbackAlive'

    Hello,
    during monitoring of last 24 hours logs i found message:
    <b>Webservice returned with exception in method 'isConnectionLoopbackAlive'
    category: /Applications/CAF/KM
    Application:  sap.com/irj
    Location:com.sap.portal.prt.cafkm.com.sap.caf.km.service.ConnectionTestService.isConnectionLookupAlive(String)
    </b>
    can anybody help me? what does it mean?
    Denis
    ip
    Edited by: Denis Yugay on Mar 18, 2008 5:10 AM

    Hello, Vincent.
    Situation is same after rebooting server.
    Denis
    Edited by: Denis Yugay on Mar 20, 2008 5:17 AM

  • Report Result error Sax parser returned an exception

    Hi,
    I'm using Oracle Business Intelligence 10.1.3.4.2.
    Recently I changed the BI instance to another server. So that I copied the reports from Old server to New server.
    Reports are working fine in new server. But while trying to modify that reports it is showing error
    "Sax parser returned an exception. Message: Invalid character (Unicode: 0x13), Entity publicId: , Entity systemId: , Line number: 1, Column number: 10737"
    Error Codes: UH6MBRBC:E6MUPJPH
    Regards,
    Satya

    Hi Satya,
    I am facing the same issue. but I am facing this issue with Mozilla Firefox browser only. If I modify same reports in internet explorer I don't get this error.  It seems this issue is with OBIEE 10g version only and Oracle has provided some patches on this in OBIEE 11g .
    You have posted this question long back. If you have got any solution for this then please let me know also.
    Thanks

  • Getting unmarshaling return; nested exception when running application.

    I am getting the following error after login to my EJB based web application which has been deployed in weblogic 8.1 server.
    cannot unmarshaling return; nested exception is:
         java.io.InvalidClassException: local class incompatible: stream classdesc serialVersionUID = 1576396055896079162, local class serialVersionUID = 3218807580895902362
    Can anyone please help me to findout the solution for this problem.

    Usually, when you get NoSuchMethod exceptions, there are two possible causes:
    1. You are using reflection to try to find a method that doesn't exist -- perhaps there's a typo, or you don't have the correct version of the class
    2. You compiled your class against a different version of the dependency class than your virtual machine has loaded, and the method doesn't exist in the loaded version.
    Chances are, you haven't told the servlet engine you are using about the newer version of some library or other that you are using, so it's still loading up an older one.
    - Adam

  • Return a struct instead of query from cfc to as3

    Hi all,
    Recently I am updating an old project which make use of flash remoting (com.niarbtfel.remoting classes).
    I 've got my new coldefusion method in cfc which need to return a structure instead of a query result. It seems that is not supported
    as I get an error within the OnResult method in as3 code.
    The error is
    TypeError: Error #1010: A term is undefined and has no properties.
    it seems that the piece of code i am using is not accepting structures.
    function onSucceed(re:ResultEvent, args:Array)
         var resultStructur:Object = new Object();
         resultStructure = re.result.serverInfo.initialData;
    Any ideas, directions would be appreciated.
    cheers,
    Giorgos

    Ok I got this just now,
    I just need to ask for
    trace(re.result["STRUCTURE_ITEM"]);
    Cheers

  • Default domain creation returned following exception: abnormal subprocess

    Hi, I'm trying to install j2ee Sun AppServer 1.4 under XP. The installation fails because of this:
    "ERROR - default domain creation returned following exception: abnormal subprocess termination: Detailed Message:Das System kann die angegebene Datei nicht finden."
    Here is the translation for detailed message: System can not find the specified file.
    I'm have an admin account. I also tried to create a domain by using:
    asadmin create-domain adminport 4848 adminuser admin adminpassword adminadmin instanceport 8080 domain1
    But I get the same message again.
    Can any one help please?
    Here ist the output of the log file:
    INFO - unpacked jar file: appserv-ext.jar.pack
    INFO - unpacked jar file: appserv-rt1.jar.pack
    INFO - unpacked jar file: appserv-rt2.jar.pack
    INFO - unpacked jar file: appserv-rt3.jar.pack
    INFO - unpacked jar file: appserv-rt4.jar.pack
    INFO - unpacked jar file: j2ee.jar.pack
    INFO - unpacked jar file: appserv-assemblytool.jar.pack
    INFO - unpacked jar file: appserv-cmp.jar.pack
    INFO - unpacked jar file: appserv-jstl.jar.pack
    INFO - unpacked jar file: appserv-tags.jar.pack
    INFO - unpacked jar file: commons-launcher.jar.pack
    INFO - unpacked jar file: deployhelp.jar.pack
    INFO - unpacked jar file: j2ee-svc.jar.pack
    INFO - unpacked jar file: sun-appserv-ant.jar.pack
    INFO - unpacked jar file: commons-logging.jar.pack
    INFO - unpacked jar file: activation.jar.pack
    INFO - unpacked jar file: mail.jar.pack
    INFO - unpacked jar file: jaxr-api.jar.pack
    INFO - unpacked jar file: jaxr-impl.jar.pack
    INFO - unpacked jar file: jax-qname.jar.pack
    INFO - unpacked jar file: jaxrpc-api.jar.pack
    INFO - unpacked jar file: jaxrpc-impl.jar.pack
    INFO - unpacked jar file: relaxngDatatype.jar.pack
    INFO - unpacked jar file: xsdlib.jar.pack
    INFO - unpacked jar file: saaj-api.jar.pack
    INFO - unpacked jar file: saaj-impl.jar.pack
    INFO - unpacked jar file: s1as-jsr88-dm.jar.pack
    INFO - unpacked jar file: dom.jar.pack
    INFO - unpacked jar file: xalan.jar.pack
    INFO - unpacked jar file: xercesImpl.jar.pack
    INFO - number of merged jar entries: 2321
    INFO - number of merged jar entries: 1382
    INFO - number of merged jar entries: 1881
    INFO - number of merged jar entries: 858
    INFO - Start core server configuration.
    ERROR - default domain creation returned following exception: abnormal subprocess termination: Detailed Message:Das System kann die angegebene Datei nicht finden.
    INFO - End core server configuration.
    INFO - Start samples configuration.
    INFO - End samples configuration.
    INFO - Start Sun ONE Messaging Queue configuration
    INFO - End Sun ONE Messaging Queue configuration
    INFO - unpacked jar file: pbclient.jar.pack
    INFO - unpacked jar file: pbembedded.jar.pack
    INFO - unpacked jar file: pbtools.jar.pack
    INFO - Start PointBase configuration
    INFO - End PointBase configuration

    I didn't have any previous installations. I don't know what I did wrong... I solved this problem by not choosing the option to create a domain server rhight after the installation starts. Here the installation was successful.
    After the installation I started then the domain server like described in the "Quick Start Quide":
    Programs
    --> Sun Microsystems
    --> J2EE 1.4 SDK
    --> Start Default Domain
    So I was able to run the samples.

  • SOA OC4J VM TEMPLATE -failed: Exception: return= failed: Exception: xm crea

    I created a virtual machine using the template
    Oracle Fusion Middleware 10.1.3.4
    Service Oriented Architecture on OC4J
    Oracle Virtual Server Demo Template
    When I power on the virtual machine, I get the following error
    failed:<Exception: return=>failed:<Exception: xm create '/OVS/running_pool/116_qasoa01/vm.cfg'=>Error: ('065a491f-0783-0733-54fe-4281aee5d5f0', 'VM_metrics') > StackTrace: File "/opt/ovs-agent-2.2/OVSXXenVM.py", line 57, in xen_start_vm run_cmd(cmd) File "/opt/ovs-agent-2.2/OVSCommons.py", line 87, in run_cmd raise Exception('%s=>%s' % (cmd, p.childerr.read())) > StackTrace: File "/opt/ovs-agent-2.2/OVSSiteVM.py", line 84, in start_vm raise e Apr 14, 2009 7:57:49 AM Error
    Any one had similar problem. Help is appreciated
    Thanks
    Ganesan

    Hey,
    can you post the vm.cfg file for this template.
    Also once you import the template you then create a new system using it.
    When its created and goes to power off status - can you try to power it on thorugh command line-
    use 'xm create vm.cfg ' and wait for 2 mins to have the syystem in a running state.
    Still if you get error - please post your vm.cfg file

Maybe you are looking for