Logging stacktrace

Hi, I am using the logging API from sdk 1.5
I don't know if there is a simple mechanism to log stacktraces. The log-method doesn't allow to use the exception class as a parameter. Is there a simple workaround to easily log stacktraces from exceptions without converting the stacktrace array?
Thanks
Heiko

Hi, I am using the logging API from sdk 1.5
I don't know if there is a simple mechanism to log stacktraces. The log-method
doesn't allow to use the exception class as a parameter. Is there a simple
workaround to easily log stacktraces from exceptions without converting the
stacktrace array?If switching to log4j is an option for you, you can pass a message as well as
a Throwable to the logger and it appears nicely in the resulting log destination.
Otherwise you have to fiddle diddle something yourself to get the entire stack
trace logged ... IMHO log4j is better than Sun's own logging facility.
kind regards.
Jos

Similar Messages

  • Error RC-10203 while running adcfgclone.pl on apps tier

    Hi,
    Hoping someone can help - I am new to Oracle Apps and cloning.
    background:
    -I have been tasked with completing the cloning steps for a development environment.  I was provided source apps tier binaries (EBS 11i, 11.5.10.2)  and source database binaries (10gR2, 10.2.0.5) created from a production multi-tier instance.
    -The target is a two tier system (apps tier is one instance, db is other instance)
    -Both instances of the target are running Red Hat 5.9 (db is 64 bit, apps tier is 32-bit)
    -I have successfully restored the database
    -I have successfully configured the env and tnsnames.ora on the target apps tier and connect to the database using the APPS credentials
    -I do not have access to the production system nor can I ask anyone from the production side for assistance.
    problem:
    Getting an error when running:
    $COMMOM_TOP/clone/bin/adcfgclone.pl appsTier
    Throwing exception:
    RC-50004: Error occurred in CloneContext:
    RC-10203: The template provided does not match with the context file.
    Context file creation not successful.
    Any suggestions?
    I've performed cloning once before, but not with these binaries. Needless to say I did not get this error last time.
    Thanks in advance..
    RKU

    Hi Hussein-
    I pulled this from /tmp/CloneContext_0730050807.log
    StackTrace:
    java.lang.Exception: RC-10203: The template provided does not match with the context file.
            at oracle.apps.ad.context.CloneContext.setTemplateLocation(CloneContext.java:3144)
            at oracle.apps.ad.context.CloneContext.doClone(CloneContext.java:666)
            at oracle.apps.ad.context.CloneContext.main(CloneContext.java:6270)
    RC-50004: Error occurred in CloneContext:
    RC-10203: The template provided does not match with the context file.
    Context file creation not succesful

  • Question: JDev10g features

    1) Navigator
    What is the difference between the "Applications - Navigator" and the "System - Navigator" (Besides the allowed use of "Directory tree" and "File List" viewstyles, and the "Show all files" option)?
    2) Connections, SCM/Designer
    And also, what is the point with the "Connections/Designer Workarea"? Sure, I can view my workarea, but I can do that in the "Connections/Oracle SCM" as well. Plus here, I can perform operations like "Download latest version".
    Though I do not understand why this cannot function as it does in the "Applications - Navigator" or "System - Navigator", where I can download single files.
    3) Hyperlinked stacktrace
    Why is the logged stacktrace sometimes hyperlinked, and sometimes not? VERY useful function by the way. Cheers for that! ;o)
    4) Connections/Database
    It would be very useful if one not only could view database tables and objects, but change their contents as well. PL/SQL is very easy to edit and test through JDev, but I still need TOAD or SQLPlus to edit contents of tables. It would be nice to have a fully integrated development environment.
    5) Create connections
    These wizards are still a bit too dumb. When it comes to creating a connection to the database, JDev has a thing or two to learn from TOAD. TOAD looks up the oracle tnsnames.ora file to find connection specifications, and builds a list of available connections. All the user has to fill in, is username and password. It could then be up to JDev to decide what is the optimal connection method through JDBC.
    6) New feature suggestions
    a) "Debug.." - and / or "Run > Through embedded OC4J" new menuitem. It starts a new instance of OC4J through i.e. configurable command line parameters like;
    %JAVA_HOME%\javaw.exe "-server" "-classpath" "oc4j.jar" "-Xverify:none" "com.evermind.server.OC4JServer" "-config" "config\server.xml"
    And automatically sets the run target of the project to:
    %JDEV_HOME%\j2ee\home\oc4j.jar!\com\evermind\server\OC4JServer.class.
    Should be a piece of cake, and would save developers the trouble to configure External tools, or manually edit projects for debug purpouses.

    Hi,
    Thanks for the feedback. I'll try to answer the ones I know about, and leave the rest for others...
    1) The applications navigator's main benefit is that it provides a consistent, consolidated view of your project's artefacts. In the system navigator, each area of functionality displays its own set of package folders (BC4J packages, UML packages and Java packages). In the applications navigator, these packages are consolidated into a single tree.
    In addition to this, BC4J artefacts are also grouped together into a single node. An entity object in the system navigator is an expandable node containing .xml and .java subnodes. In the application navigator, there is a single entity object node representing these two files.
    2) Designer Workarea connections are specifically used for migrating from Designer to BC4J. The connection wizard for Designer Workarea connections ought to verify that the repository actually contains Designer schema (i.e. prevent you from creating a connection to an Oracle SCM only repository), but it doesn't, and this is an outstanding bug.
    3) The hyperlinks are missing if the source code can't be located for the line of code, or no line number information is present. Check your library settings.
    4) ...
    5) This probably stems from the fact that TOAD is a native application and can use OCI programmatically to retrieve information about tnsnames. This might be an area that improves in JDeveloper in future, but I'll let someone else comment on that...
    6) Isn't this what happens already when you Run or Debug a .jsp file or other web-based node?
    Thanks,
    Brian
    JDev Team

  • CPO SAP Adapter pre-requisite Check Error

    TEO 2.3.5 SAP adpater Pre-requisite Error
             Trying to setup an SAP ABAP connection. Satisfied the pre-requisite of SAP NCO sapnco30dotnet40P_7-20007348, still get the following error while checking the pre-requisite.
    Unable to check for prerequisites:
    A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
    This is what I see in the logs-
    /StackTrace><ExceptionString>System.ServiceModel.CommunicationObjectAbortedException: The communication object, System.ServiceModel.Channels.TransportReplyChannelAcceptor+TransportReplyChannel, cannot be used for communication because it has been Aborted.</ExceptionString></Exception></TraceRecord>
    ||735|2013/03/01 07:33:30.028|2084|PoolThread:57|||WCF: System.ServiceModel Error: 131075 :
    ||736|2013/03/01 07:33:30.029|2084|PoolThread:57|||WCF: <TraceRecord xmlns="
    http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord
    " Severity="Error"><TraceIdentifier>http://msdn.microsoft.com/en-US/library/System.ServiceModel.Diagnostics.ThrowingException.aspx</TraceIdentifier><Description>Throwing an exception.</Description><AppDomain>Tidal.Automation.Server.exe</AppDomain><Source>System.ServiceModel.Channels.TransportReplyChannelAcceptor+TransportReplyChannel/59871390</Source><Exception><ExceptionType>System.ServiceModel.CommunicationObjectAbortedException, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType><Message>The communication object, System.ServiceModel.Channels.TransportReplyChannelAcceptor+TransportReplyChannel, cannot be used for communication because it has been Aborted.</Message><StackTrace>   at System.ServiceModel.Channels.InputQueueChannel`1.EndDequeue(IAsyncResult result, TDisposable&amp;amp; item)
       at System.ServiceModel.Dispatcher.ErrorHandlingReceiver.EndTryReceive(IAsyncResult result, RequestContext&amp;amp; requestContext)
       at System.ServiceModel.Dispatcher.ChannelHandler.EndTryReceive(IAsyncResult result, RequestContext&amp;amp; requestContext)
       at System.ServiceModel.Dispatcher.ChannelHandler.AsyncMessagePump(IAsyncResult result)
       at System.Runtime.Fx.AsyncThunk.UnhandledExceptionFrame(IAsyncResult result)
       at System.Runtime.AsyncResult.Complete(Boolean completedSynchronously)
       at System.Runtime.InputQueue`1.AsyncQueueReader.Set(Item item)
       at System.Runtime.InputQueue`1.Shutdown(Func`1 pendingExceptionGenerator)
       at System.ServiceModel.Channels.CommunicationObject.Abort()
       at System.ServiceModel.Dispatcher.ListenerHandler.AbortChannels()
       at System.ServiceModel.Dispatcher.ListenerHandler.OnAbort()
       at System.ServiceModel.Channels.CommunicationObject.Abort()
       at System.ServiceModel.Dispatcher.ChannelDispatcher.OnAbort()
       at System.ServiceModel.Channels.CommunicationObject.Abort()
       at System.ServiceModel.ServiceHostBase.OnAbort()
       at System.ServiceModel.Channels.CommunicationObject.Abort()
       at Tidal.Automation.Server.WebService.WCFHost.StopServiceHost(Object state)
       at Tidal.Automation.Common.ThreadPool.OuterWaitCallBack(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
       at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
       at System.Threading.ThreadPoolWorkQueue.Dispatch()
       at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
    </StackTrace><ExceptionString>System.ServiceModel.CommunicationObjectAbortedException: The communication object, System.ServiceModel.Channels.TransportReplyChannelAcceptor+TransportReplyChannel, cannot be used for communication because it has been Aborted.</ExceptionString></Exception></TraceRecord>
    ||737|2013/03/01 07:33:30.164|2508|MainEngineThread|||Encountered an exception while attempting to kill adapter SAP Solution Manager Adapter (95151695-aacc-4310-af5f-c38abfcea384).  Proceeding.
    ||738|2013/03/01 07:33:30.164|2508|MainEngineThread|||EXCEPTION (Tidal.Automation.Common.Product.RhapsodyException): An attempt was made to stop the adapter named 95151695-aacc-4310-af5f-c38abfcea384 but it appears to have never been started.
    Stack Trace:   at Tidal.Automation.Engine.Core.AdapterStarter.KillAdapter(Guid adapterId)
       at Tidal.Automation.Engine.Core.AdapterLifecycleManager.DisableAdapterStartups()
    ||739|2013/03/01 07:33:30.165|2508|MainEngineThread|||Encountered an exception while attempting to kill adapter SAP ABAP Adapter (cf6f0f84-a364-4105-b11f-0fef62873b37).  Proceeding.
    ||740|2013/03/01 07:33:30.165|2508|MainEngineThread|||EXCEPTION (Tidal.Automation.Common.Product.RhapsodyException): An attempt was made to stop the adapter named cf6f0f84-a364-4105-b11f-0fef62873b37 but it appears to have never been started.
    Stack Trace:   at Tidal.Automation.Engine.Core.AdapterStarter.KillAdapter(Guid adapterId)
       at Tidal.Automation.Engine.Core.AdapterLifecycleManager.DisableAdapterStartups()
    ||741|2013/03/01 07:33:30.221|2508|MainEngineThread|||Encountered an exception while attempting to kill adapter SAP Solution Manager Adapter (95151695-aacc-4310-af5f-c38abfcea384).  Proceeding.
    ||742|2013/03/01 07:33:30.221|2508|MainEngineThread|||EXCEPTION (Tidal.Automation.Common.Product.RhapsodyException): An attempt was made to stop the adapter named 95151695-aacc-4310-af5f-c38abfcea384 but it appears to have never been started.
    Stack Trace:   at Tidal.Automation.Engine.Core.AdapterStarter.KillAdapter(Guid adapterId)
       at Tidal.Automation.Engine.Core.AdapterLifecycleManager.DisableAdapterStartups()
    ||743|2013/03/01 07:33:30.222|2508|MainEngineThread|||Encountered an exception while attempting to kill adapter SAP ABAP Adapter (cf6f0f84-a364-4105-b11f-0fef62873b37).  Proceeding.
    ||744|2013/03/01 07:33:30.222|2508|MainEngineThread|||EXCEPTION (Tidal.Automation.Common.Product.RhapsodyException): An attempt was made to stop the adapter named cf6f0f84-a364-4105-b11f-0fef62873b37 but it appears to have never been started.
    Stack Trace:   at Tidal.Automation.Engine.Core.AdapterStarter.KillAdapter(Guid adapterId)
       at Tidal.Automation.Engine.Core.AdapterLifecycleManager.DisableAdapterStartups()

    Please open a TAC case.  They can not only get you past the missing prerequisite, but also raise the issue on the bad prerequisite detection error which you are seeing so we can get it fixed in the product.

  • Error in Adding new vritual machine server to HaA cluster ???

    Hi
    when i adding new Server to my cluster i see this error
    Check prerequisites to add server (192.168.20.253) to server pool (karkas) succeed
    2009-11-29 12:16:33     Check prerequisites to add server (192.168.20.253) to server pool (karkas) succeed
    2009-11-29 12:16:46     During adding servers ([192.168.20.253]) to server pool (karkas), Cluster setup failed: (OVM-1011 OVM Manager communication with 192.168.20.254 for operation HA Setup for Oracle VM Agent 2.2.0 failed: errcode=50006, errmsg=Do 'clusterm_init_root_sr' on servers ('192.168.20.253') failed. )
    but when edited again see solved problem but not HA feature work correctly(when shutdown server pool virtual machine is goes down )
    i test is with nfs server but not work i user iscsci target on RHEL5 for create iscsi server
    i see ha work correctly same az this
    2009-11-29 12:25:44     Check prerequisites to add server (192.168.20.253) to server pool (karkas) succeed
    2009-11-29 12:25:50     Check prerequisites to add server (192.168.20.253) to server pool (karkas) succeed
    Select     Server Pool Name     Status     High Availability Status     Servers     Users     Logs
    Select     karkas     Active     Enabled     Total: 2     Total: 1     View Logs
    and no error in /var/log/ovs/*.log
    but when add new server i see in status "error in adding server "" and when edited again see server add and active state
    1-i have no ocfs2 partition on my machine use iscsi initiator
    2-all server use root cluster id /var/ovs/mount/disk_id
    3-all permission set for everybody and 777
    any idea for solve this problem
    thanks

    hi
    and very thanks for your reply
    every this work good
    [root@OVS2-253-32 ~]# service o2cb online
    Starting O2CB cluster ocfs2: OK
    [root@OVS2-253-32 ~]# service o2cb start
    Starting O2CB cluster ocfs2: OK
    [root@OVS2-253-32 ~]#
    but see :
         During adding servers ([192.168.20.253]) to server pool (jojo), Cluster setup failed: (OVM-1011 OVM Manager communication with 192.168.20.254 for operation HA Setup for Oracle VM Agent 2.2.0 failed: errcode=50006, errmsg=Do 'clusterm_init_root_sr' on servers ('192.168.20.253') failed. )
    Select     Server Host/IP     Server Name     Server Type     Status     Server Location     Server Pool Name     Logs
    Select     192.168.20.254     254     Server Pool Master,Utility Server,Virtual Machine Server     Active          jojo     View Logs
    Select     192.168.20.253     253     Virtual Machine Server     Error          jojo     View Logs
    but edit this server work fine. i use doc in step by step configure and no error occur in configuration but still see this error on adding new server and HA can't works correctly (only when i power off virtual quest machine after 15 second this server goes up and live migration not work correctly )when i shutting down one virtual machine server guest still wait for powering up this server
    ocfs2 kernel module load correctly
    cat /var/log/ovs-agent/ovs_root.log
    StackTrace:
    File "/opt/ovs-agent-2.3/OVSXCluster.py", line 115, in clusterm_init_root_sr
    sr.initialize()
    File "/opt/ovs-agent-2.3/_storage/OVSFileSR.py", line 127, in initialize
    self.sp.mount(mp)
    File "/opt/ovs-agent-2.3/_storage/plugins/OVSFileSP.py", line 209, in mount
    fs_spec = self.get_fs_spec()
    File "/opt/ovs-agent-2.3/_storage/plugins/OVSFileSP.py", line 184, in get_fs_spec
    tgt_dev = get_dev_spec(self.fs_uuid, self.fs_spec)
    File "/opt/ovs-agent-2.3/_storage/plugins/OVSFileSP.py", line 82, in get_dev_spec
    raise Exception("No device found: dev_uuid=%s" % dev_uuid)
    are you have any idea for solve this problem ???
    very thanks

  • WLS 6.0 & Cloudscape: "Exception in thread main"

    Hi,
    when I try to start the cview of cloudscape:
    java -ms32M -mx32M COM.cloudscape.tools.cview
    I get an "exception in thread main" and nothing else.
    I am using Win2000 and JDK 1.3. Does anybody have any
    idea?
    A.

    java -ms32M -mx32M COM.cloudscape.tools.cview
    I get an "exception in thread main" and nothing else.I've got an anser from cloudscape (he, BEA, is there no support
    of evaluation users?): Cloudscape 3.5 is not compatible with JDK
    1.3. So I downloaded Cloudscape 3.6.1 and converted the datebases.
    CView is working fine now. But WebLogic crashes with the following
    error:
    <02.03.2001 10:38:49 GMT+01:00> <Alert> <JMS> <JMSServer "examplesJMSServer",
    store failed to open, java.io.IOException: JMS JDBC store, connection
    pool = <demoPool>
    , prefix = <null>: change state
    java.io.IOException: JMS JDBC store, connection pool = <demoPool>,
    prefix = <null>: SQL exception
    ERROR 42X01: Syntax error: Encountered "COMMIT" at line 1, column
    1.
    and a log stacktrace.
    It seems to me, that it is not able to open the connection pool
    but it should! I copied the JAR-Files of the new cloudscape versions
    into WL's classpath an removed the old ones. DOesn't help. Any
    ideas?
    A.

  • Validating xml document in java

    Trying to do subject.
    I'm trying to use xsd from file(schemasource = 1) and from clob (schemasource = 0). I have two xsd schemas common_types.xsd and migom.xsd. second includes first. The problem is that when I'm using common_types schema from file I get error
    ORA-29532: Java call terminated by uncaught Java exception: oracle.xml.parser.v2.XMLParseException: An internal error condition occurred.
    and when I validate xml against only first schema has being read from clob I get success, but when I add second xsd, i get the same error, which says nothing at all.
    create or replace and compile java source named XmlTools AS
    import javax.xml.parsers.ParserConfigurationException;
    import javax.xml.parsers.SAXParser;
    import javax.xml.parsers.SAXParserFactory;
    import org.xml.sax.XMLReader;
    import org.xml.sax.InputSource;
    import oracle.sql.CLOB;
    import java.io.IOException;
    import org.xml.sax.SAXException;
    import java.sql.SQLException;
    import java.lang.IllegalArgumentException;
    import oracle.xml.parser.v2.XMLParseException;
    import javax.xml.parsers.ParserConfigurationException;
    import java.io.*;
    public class XmlValidator
    static final String JAXP_SCHEMA_LANGUAGE = "http://java.sun.com/xml/jaxp/properties/schemaLanguage";
    static final String W3C_XML_SCHEMA = "http://www.w3.org/2001/XMLSchema";
    static final String JAXP_SCHEMA_SOURCE = "http://java.sun.com/xml/jaxp/properties/schemaSource";
    public static void ValidateDocument(int schemasource, oracle.sql.CLOB schemadoc, oracle.sql.CLOB schemadoc1, oracle.sql.CLOB xmldoc) throws SAXException, IOException, SQLException, ParserConfigurationException, XMLParseException, IllegalArgumentException {
    try
    File myfile = new File(".//XML//common_types.xsd");
    if (myfile.exists())
    Serv.log("ValidateDocument", "file size" + Long.toString(myfile.length()));
    /*else
    Serv.log("ValidateDocument", "file doesn't exists" );
    Serv.log("ValidateDocument", "1" );
    SAXParserFactory factory = SAXParserFactory.newInstance();
    factory.setValidating(true);
    factory.setNamespaceAware(true);
    Serv.log("ValidateDocument", "2" );
    SAXParser saxParser = factory.newSAXParser();
    saxParser.setProperty(JAXP_SCHEMA_LANGUAGE, W3C_XML_SCHEMA);
    if (schemasource == 0)
    InputSource schemaIs = new InputSource(schemadoc.getCharacterStream());
    InputSource schemaIs1 = new InputSource(schemadoc1.getCharacterStream());
    InputSource[] schemas = {schemaIs, schemaIs1};
    //saxParser.setProperty(JAXP_SCHEMA_SOURCE, schemaIs);
    saxParser.setProperty(JAXP_SCHEMA_SOURCE, schemas);
    else
    saxParser.setProperty(JAXP_SCHEMA_SOURCE, ".//XML//common_types.xsd");
    XMLReader reader = saxParser.getXMLReader();
    //Получаем входной XML документ
    InputSource documentIs = new InputSource(xmldoc.getCharacterStream());
    Serv.log("ValidateDocument", "3" );
    //Запуск разбора
    reader.parse(documentIs);
    Serv.log("ValidateDocument", "4" );
    documentIs = null;
    /*catch (SAXException e)
    Serv.log("ValidateDocument", "SAXException" );
    Serv.log("ValidateDocument", "document is not valid because ");
    Serv.log("ValidateDocument", e.getMessage());
    throw(e);
    catch (ParserConfigurationException e)
    Serv.log("ValidateDocument", "ParserConfigurationException" );
    throw(e);
    catch (IOException e)
    Serv.log("ValidateDocument", "IOException" );
    throw(e);
    catch (XMLParseException e)
    Serv.log("ValidateDocument", "XMLParseException" );
    Serv.log("ValidateDocument", e.getMessage());
    StackTraceElement[] stack = e.getStackTrace();
    for (int i = 0; i < stack.length; i++)
    Serv.log("stacktrace element no " + Integer.toString(i), "toString: " + stack.toString());
    Serv.log("stacktrace element no " + Integer.toString(i), "file name: " + stack[i].getFileName() + ", class name: " + stack[i].getClassName() + ", method name: " + stack[i].getMethodName() + ", line : " + stack[i].getLineNumber());
    throw(e);
    catch (IllegalArgumentException e)
    Serv.log("ValidateDocument", "IllegalArgumentException" );
    Serv.log("ValidateDocument", e.getMessage());
    throw(e);
    additional information got from java stacktrace:
    file name: XMLError.java, class name: oracle.xml.parser.v2.XMLError, method name: flushErrors1, line : 320 file name: NonValidatingParser.java, class name: oracle.xml.parser.v2.NonValidatingParser, method name: parseDocument, line : 300 file name: XMLParser.java, class name: oracle.xml.parser.v2.XMLParser, method name: parse, line : 200 file name: XMLTOOLS, class name: XmlValidator, method name: ValidateDocument, line : 86
    my oracle version is Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod But my aim is to make it work on all versions starting from 9

    I found another examples of xml document validation in Java, but it seems to me that ORACLE's JVM doesn't include such class as SchemaFactory and class SAXParserFactory doesn't have method setSchema. Is it possible to update JVM installed in Oracle?
    SAXParserFactory factory = SAXParserFactory.newInstance();
    factory.setValidating(false);
    factory.setNamespaceAware(true);
    SchemaFactory schemaFactory =
    SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema");
    factory.setSchema(schemaFactory.newSchema(
    new Source[] {new StreamSource("contacts.xsd")}));
    SAXParser parser = factory.newSAXParser();
    XMLReader reader = parser.getXMLReader();
    reader.setErrorHandler(new SimpleErrorHandler());
    reader.parse(new InputSource("document.xml"));

  • Cannot get workspace for compartment

    Hi
    I'd created a track in CE EHP2.
    While creating any of the project from NWDS, i'm getting erorr
    Cannot get workspace for compartment abc_DEMOCE2_1
    Exception getting workspace by URL:Internal problem. See trace for details
      The exception was caught in the attached stack.
      com.sap.ide.dii05.util.api.log.Stacktrace
         at com.sap.ide.dii05.util.api.log.LogManager.internalCreateCaughtStatus(LogManager.java:326)
         at com.sap.ide.dii05.util.api.log.LogManager.createCaughtStatus(LogManager.java:297)
         at com.sap.ide.dii05.lib.internal.util.DtrLegacyUtil$1.doInWorkerThread(DtrLegacyUtil.java:146)
         at com.sap.ide.dii05.util.api.job.JdiJob$1.doInWorkerThread(JdiJob.java:77)
         at com.sap.ide.dii05.util.internal.job.InternalJdiJob$3.run(InternalJdiJob.java:215)
         at com.sap.ide.dii05.util.internal.job.BusyBackgroundIndicator.showWhile(BusyBackgroundIndicator.java:74)
         at com.sap.ide.dii05.util.internal.job.InternalJdiJob.internalRun(InternalJdiJob.java:189)
         at com.sap.ide.dii05.util.internal.job.InternalDiiJob.runInternal(InternalDiiJob.java:306)
         at com.sap.ide.dii05.util.internal.job.InternalDiiJob.runR(InternalDiiJob.java:204)
         at com.sap.ide.dii05.util.internal.job.InternalDiiJob.run(InternalDiiJob.java:192)
         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    Please share some pointers on this.
    Thanks
    Puneet

    Hello,
    please take care about the description letters of the track. If you use special character you cannot import the track in nwds. (i.e. no "ü", "ä" ...)
    Cheers

  • NWDS Import error

    Hi All,
    I am new NWDS,while importing i am getting following error:
    Status ERROR
    Plugin : com.sap.ide.dii05.lib
    code=0
    Development Configuration Import
    children=[
    Status ERROR
    Plugin : com.sap.cms.client
    code=0
    Service call exception; nested exception is:
    java.lang.Exception: Incorrect content-type found 'text/html'
    com.sap.cms.util.exception.CMSUnexpectedException: Service call exception; nested exception is:
    java.lang.Exception: Incorrect content-type found 'text/html'
    at com.sap.cms.client.ideAPI.CmsConfiguration.readConfigurationFromConfigService(CmsConfiguration.java:739)
    at com.sap.cms.client.ideAPI.CmsConfiguration.getConfiguration(CmsConfiguration.java:326)
    at com.sap.ide.dii05.lib.internal.sld.SldBasicContext.getDevConfStream(SldBasicContext.java:291)
    at com.sap.ide.dii05.ui.internal.devconf.wizard.DevConfImportSldPage.getInputStream(DevConfImportSldPage.java:729)
    at com.sap.ide.dii05.ui.internal.devconf.wizard.DevConfImportSldPage.access$1200(DevConfImportSldPage.java:84)
    at com.sap.ide.dii05.ui.internal.devconf.wizard.DevConfImportSldPage$7.run(DevConfImportSldPage.java:391)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
    Nested exceptions :java.rmi.RemoteException: Service call exception; nested exception is:
    java.lang.Exception: Incorrect content-type found 'text/html'
    atcom.sap.di.cts.config.client.DefaultConfigBindingStub.readDevConf(DefaultConfigBindingStub.java:478)
    atcom.sap.di.cts.config.client.DefaultConfigBindingStub.readDevConf(DefaultConfigBindingStub.java:488)
    atcom.sap.cms.client.ideAPI.CmsConfiguration.readConfigurationFromConfigService(CmsConfiguration.java:736)
    atcom.sap.cms.client.ideAPI.CmsConfiguration.getConfiguration(CmsConfiguration.java:326)
    atcom.sap.ide.dii05.lib.internal.sld.SldBasicContext.getDevConfStream(SldBasicContext.java:291)
    atcom.sap.ide.dii05.ui.internal.devconf.wizard.DevConfImportSldPage.getInputStream(DevConfImportSldPage.java:729)
    atcom.sap.ide.dii05.ui.internal.devconf.wizard.DevConfImportSldPage.access$1200(DevConfImportSldPage.java:84)
    atcom.sap.ide.dii05.ui.internal.devconf.wizard.DevConfImportSldPage$7.run(DevConfImportSldPage.java:391)
    atorg.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
    Nested exceptions :java.lang.Exception: Incorrect content-type found 'text/html'
    atcom.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.ClientMimeMessage.initDeserializationMode(ClientMimeMessage.java:119)
    atcom.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.handleResponseMessage(MimeHttpBinding.java:823)
    atcom.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1298)
    atcom.sap.di.cts.config.client.DefaultConfigBindingStub.readDevConf(DefaultConfigBindingStub.java:471)
    atcom.sap.di.cts.config.client.DefaultConfigBindingStub.readDevConf(DefaultConfigBindingStub.java:488)
    atcom.sap.cms.client.ideAPI.CmsConfiguration.readConfigurationFromConfigService(CmsConfiguration.java:736)
    atcom.sap.cms.client.ideAPI.CmsConfiguration.getConfiguration(CmsConfiguration.java:326)
    atcom.sap.ide.dii05.lib.internal.sld.SldBasicContext.getDevConfStream(SldBasicContext.java:291)
    atcom.sap.ide.dii05.ui.internal.devconf.wizard.DevConfImportSldPage.getInputStream(DevConfImportSldPage.java:729)
    atcom.sap.ide.dii05.ui.internal.devconf.wizard.DevConfImportSldPage.access$1200(DevConfImportSldPage.java:84)
    atcom.sap.ide.dii05.ui.internal.devconf.wizard.DevConfImportSldPage$7.run(DevConfImportSldPage.java:391)
    atorg.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
    children=[
    Status ERROR
    Plugin : com.sap.ide.dii05.util
    code=0
    The exception was caught in the attached stack.
    com.sap.ide.dii05.util.api.log.Stacktrace
    at com.sap.ide.dii05.util.api.log.LogManager.internalCreateCaughtStatus(LogManager.java:329)
    at com.sap.ide.dii05.util.api.log.LogManager.createCaughtStatus(LogManager.java:300)
    at com.sap.ide.dii05.lib.internal.sld.SldBasicContext.getDevConfStream(SldBasicContext.java:300)
    at com.sap.ide.dii05.ui.internal.devconf.wizard.DevConfImportSldPage.getInputStream(DevConfImportSldPage.java:729)
    at com.sap.ide.dii05.ui.internal.devconf.wizard.DevConfImportSldPage.access$1200(DevConfImportSldPage.java:84)
    at com.sap.ide.dii05.ui.internal.devconf.wizard.DevConfImportSldPage$7.run(DevConfImportSldPage.java:391)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
    at com.sap.ide.dii05.util.api.log.LogManager.internalCreateCaughtStatus(LogManager.java:329)
    at com.sap.ide.dii05.util.api.log.LogManager.createCaughtStatus(LogManager.java:300)
    at com.sap.ide.dii05.lib.internal.sld.SldBasicContext.getDevConfStream(SldBasicContext.java:300)
    at com.sap.ide.dii05.ui.internal.devconf.wizard.DevConfImportSldPage.getInputStream(DevConfImportSldPage.java:729)
    at com.sap.ide.dii05.ui.internal.devconf.wizard.DevConfImportSldPage.access$1200(DevConfImportSldPage.java:84)
    at com.sap.ide.dii05.ui.internal.devconf.wizard.DevConfImportSldPage$7.run(DevConfImportSldPage.java:391)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
    Thanks in Advance.
    Please help me solve this error

    Hello Vijay,
    The exception "java.lang.Exception: Incorrect content-type found 'text/html'" usually means that CBS cannot communicate with DTR.
    Most probably this is caused by a password error - either expired, incorrect or simply not set correctly.
    Please would you first check the user credentials. Please re-enter the passwords. Sometimes a wrong password might be set.
    For more directions please have a look on this SAP note
    896427-NWDI Admin User/Password update
    If this does not solve the issue would you please share more details about the scenario and a step-by-step description how you get to this error.
    Regards
    Milen

  • Regex to parse stacktrace in log file

    Hi,
    How to parse the below stack trace in log file:-
    Below is the stack trace:-
    2012-08-10 08:19:17 java.lang.NullPointerException
    2012-08-10 08:19:17 at net.minecraft.server.World.tickEntities(World.java:1146)
    2012-08-10 08:19:17 at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:567)
    2012-08-10 08:19:17 at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212)
    2012-08-10 08:19:17 at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:476)
    2012-08-10 08:19:17 at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408)
    2012-08-10 08:19:17 at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
    How to parse only the stack trace using regex? If i have put the stacktrace to a separate log file, what config needs to be done in log4j to capture only the stack trace?
    Thanks.

    > How to parse only the stack trace using regex?
    From the entire file?  I doubt it is possible.
    Log files are normally rather large.  You would need to read the entire file into memory, then apply a multiline regex which means it is going to be scanning an rescanning multiple times.  If it doesn't just die it would probably take a long time.
    Better to just build a parser that reads each line and does it.
    And of course the given example presumes that NO threads are in use.  If they are then the it is not deterministically possible to correctly the parse the file because there is no thread indicator.

  • How to print stacktrace in log using logging

    Hi All ,
                I am using logging in my webdynpro application
    I hv written following java class for logging
    ***************************************java class Starts *******************************
    public class ReferenceApplicationEJBLogger {
         private static final Location LOCATION = Location.getLocation("com.apl");
            private static final Category CATEGORY = Category.getCategory(Category.APPLICATIONS, "Reference Application");
       static{
               LOCATION.setMinimumSeverity(CATEGORY, Severity.INFO);
               LOCATION.setMaximumSeverity(CATEGORY, Severity.ALL);
               CATEGORY.addLog(new FileLog("./log/application/hrhelpdesk/edmProject.%g.trc"));
        public static void logException (Exception eMessage){
               logThrowable(eMessage);
               eMessage.printStackTrace();
             public static void logThrowable (Throwable eMessage){
               CATEGORY.logThrowableT(Severity.WARNING, LOCATION, eMessage.getLocalizedMessage(), eMessage);
        public static void logWarning (String logWarning, Exception eMessage) {
               CATEGORY.warningT(LOCATION, logWarning, new Object[]{eMessage});
             public static void logInfo (String logString){
               CATEGORY.infoT(LOCATION, logString);
             public static void logWarn (String logString){
               CATEGORY.warningT(LOCATION, logString);
    ***********************************Java class ends here **********************************
    and inside my webdynpro applicaiton i have written following code in side catch block
    ReferenceApplicationEJBLogger.logInfo("Error occured in application" );
    log is getting written in to defined locaiton ./log/application/hrhelpdesk/edmProject.%g.trc
    but i also want to print e.printStackTrce() in above mentioned location along with message "Error occured in application".
    How to go about it ? Thnx in advance
    Regards
    Kavita

    Let me understand first, are you looking at printing the complete exception log?
    catch (Exception e) {
              StringWriter sw = new StringWriter();
              PrintWriter pw = new PrintWriter(sw);
              e.printStackTrace(pw);
              System.out.println(sw.toString().toUpperCase());
    Tested, it works.
    Regards,
    Nitin
    Edited by: Nitin Mahajan on May 28, 2009 9:51 PM

  • Numerous ConcurrentCheckoutException stacktraces in ATGPublishing logs

    We have a programatic ImportService that takes GSA XML files and creates BCC Projects to contain the asset modifications the GSA XML file represents. On our QA Servers today, the process that converts the XML files into BCC Projects began throwing numerous ConcurrentCheckoutException stacktraces like...
    2012-03-16 19:21:15,927 ERROR [nucleusNamespace.atg.commerce.catalog.ProductCatalog] (Thread-4118)
    atg.adapter.version.ConcurrentCheckoutException: failed to checkout item id cat240269, type category, it may already be in the process of being checked out. Please retry checkout.
         at atg.adapter.version.VersionRepository.requestCheckOutLock(VersionRepository.java:3558)
         at atg.adapter.version.VersionRepository.checkOut(VersionRepository.java:3678)
         at atg.adapter.version.VersionRepository.checkOut(VersionRepository.java:3520)
         at atg.versionmanager.impl.WorkspaceRepositoryImpl.checkOutRepositoryItem(WorkspaceRepositoryImpl.java:772)
         at atg.versionmanager.impl.WorkspaceRepositoryImpl.checkOut(WorkspaceRepositoryImpl.java:706)
         at atg.adapter.version.VersionItemDescriptor.getVersionItem(VersionItemDescriptor.java:2412)
         at atg.adapter.version.CurrentVersionItem.getVersionItem(CurrentVersionItem.java:1059)
         at atg.adapter.version.CurrentVersionItem.checkoutDependentIfNeeded(CurrentVersionItem.java:1232)
         at atg.adapter.version.CurrentVersionItem.valueAdded(CurrentVersionItem.java:787)
         at atg.adapter.gsa.ChangeAwareList.add(ChangeAwareList.java:167)
         at java.util.AbstractList.add(AbstractList.java:108)
         at atg.adapter.gsa.xml.ImportItemUtil.setProperties(ImportItemUtil.java:154)
         at atg.adapter.gsa.xml.ImportWorkerThread.importItem(ImportWorkerThread.java:398)
         at atg.adapter.gsa.xml.ImportWorkerThread.processItems(ImportWorkerThread.java:212)
         at atg.adapter.gsa.xml.ImportWorkerThread.processPhase(ImportWorkerThread.java:141)
         at atg.adapter.gsa.xml.ImportWorkerThread.run(ImportWorkerThread.java:101)
    What does this stacktrace mean and how do I go about troubleshooting this? Looking around our BCC, I don't see that my BCC Project is competing with other project for asset locks or anything. I don't really know where to start troubleshooting this. Any insights or guidance is greatly appreciated.

    Make Bob sad. The silence is deafening. 2nd day troubleshooting this and I am no closer to a solution or even a root cause. Looks like I have to go Oracle SR route.

  • How to log in Tomcat administration page

    downloaded apache-tomcat-6.0.10
    OS:window xp
    Tomcat's servlets/JSPs execute fine, but Tomcat denies access to the Tomcat Manager, Tomcat Administration to log in for web application with database connection.
    The respective webapps and manager.xml and admin.xml are available and seem to look fine.
    Tomcat even seems to log in my default user
    tomcat and password tomcat or admin | admin .
    error message;invalid user and password.
    how can I log in?

    i]I edit tomcat-user [roles=manager, admin  user name:admin password:admin] I am sure tomcat-user.xml is correct
    would see the following error message after try to log in tomcat admin page, it happens not only this computer but also my laptop
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Exception in JSP: /index.jsp:16
    13: <% AccessDB accessDB=new AccessDB(); %>
    14:
    15: <%-- create an instance of List, then retrieve SubjectNames --%>
    16: <% List subjNames=accessDB.getSubjectName(); %>
    17:
    18: <%-- make list accessible to page --%>
    19: <% request.setAttribute("subjNames", subjNames); %>
    Stacktrace:
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:504)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
    root cause
    java.lang.NullPointerException
         org.AccessDB.getSubjectName(AccessDB.java:82)
         org.apache.jsp.index_jsp._jspService(index_jsp.java:54)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs.

  • Logging configuration is missing or invalid for target

    Hi,
    I am getting this error while starting the SOA Server
    HTTP to server: '[2001:0:cf2e:3096:30be:1076:3f57:fefc]', port: '7001'
    at weblogic.net.http.HttpClient.openServer(HttpClient.java:314)
    at weblogic.net.http.HttpClient.openServer(HttpClient.java:404)
    at weblogic.net.http.HttpClient.New(HttpClient.java:240)
    at weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:17
    2)
    at weblogic.deploy.service.datatransferhandlers.HttpDataTransferHandler.
    getDataAsStream(HttpDataTransferHandler.java:75)
    Truncated. see log file for complete stacktrace
    >
    java.net.ConnectException: Tried all: '1' addresses, but could not connect over
    HTTP to server: '[2001:0:cf2e:3096:30be:1076:3f57:fefc]', port: '7001'
    at weblogic.net.http.HttpClient.openServer(HttpClient.java:314)
    at weblogic.net.http.HttpClient.openServer(HttpClient.java:404)
    at weblogic.net.http.HttpClient.New(HttpClient.java:240)
    at weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:17
    2)
    at weblogic.deploy.service.datatransferhandlers.HttpDataTransferHandler.
    getDataAsStream(HttpDataTransferHandler.java:75)
    at weblogic.deploy.service.datatransferhandlers.DataHandlerManager$Remot
    eDataTransferHandler.getDataAsStream(DataHandlerManager.java:153)
    at weblogic.deploy.internal.targetserver.datamanagement.AppDataUpdate.do
    Download(AppDataUpdate.java:39)
    at weblogic.deploy.internal.targetserver.datamanagement.DataUpdate.downl
    oad(DataUpdate.java:56)
    at weblogic.deploy.internal.targetserver.datamanagement.Data.prepareData
    Update(Data.java:97)
    at weblogic.deploy.internal.targetserver.BasicDeployment.prepareDataUpda
    te(BasicDeployment.java:682)
    at weblogic.deploy.internal.targetserver.BasicDeployment.stageFilesForSt
    atic(BasicDeployment.java:725)
    at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeploy
    ment.java:104)
    at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(Dep
    loymentAdapter.java:39)
    at weblogic.management.deploy.internal.DeploymentAdapter.prepare(Deploym
    entAdapter.java:187)
    at weblogic.management.deploy.internal.AppTransition$1.transitionApp(App
    Transition.java:21)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionA
    pps(ConfiguredDeployments.java:233)
    at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(Con
    figuredDeployments.java:165)
    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(Conf
    iguredDeployments.java:122)
    at weblogic.management.deploy.internal.DeploymentServerService.resume(De
    ploymentServerService.java:173)
    at weblogic.management.deploy.internal.DeploymentServerService.start(Dep
    loymentServerService.java:89)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    <Aug 27, 2009 12:15:16 PM IST> <Error> <Deployer> <BEA-149205> <Failed to initia
    lize the application 'usermessagingdriver-email' due to error weblogic.managemen
    t.DeploymentException: Exception occured while downloading files.
    weblogic.management.DeploymentException: Exception occured while downloading fil
    es
    at weblogic.deploy.internal.targetserver.datamanagement.AppDataUpdate.do
    Download(AppDataUpdate.java:43)
    at weblogic.deploy.internal.targetserver.datamanagement.DataUpdate.downl
    oad(DataUpdate.java:56)
    at weblogic.deploy.internal.targetserver.datamanagement.Data.prepareData
    Update(Data.java:97)
    at weblogic.deploy.internal.targetserver.BasicDeployment.prepareDataUpda
    te(BasicDeployment.java:682)
    at weblogic.deploy.internal.targetserver.BasicDeployment.stageFilesForSt
    atic(BasicDeployment.java:725)
    Truncated. see log file for complete stacktrace
    java.net.ConnectException: Tried all: '1' addresses, but could not connect over
    HTTP to server: '[2001:0:cf2e:3096:30be:1076:3f57:fefc]', port: '7001'
    at weblogic.net.http.HttpClient.openServer(HttpClient.java:314)
    at weblogic.net.http.HttpClient.openServer(HttpClient.java:404)
    at weblogic.net.http.HttpClient.New(HttpClient.java:240)
    at weblogic.net.http.HttpURLConnection.connect(HttpURLConnection.java:17
    2)
    at weblogic.deploy.service.datatransferhandlers.HttpDataTransferHandler.
    getDataAsStream(HttpDataTransferHandler.java:75)
    Truncated. see log file for complete stacktrace
    >
    <Aug 27, 2009 12:15:17 PM IST> <Error> <Deployer> <BEA-149205> <Failed to initia
    lize the application 'soa-infra' due to error weblogic.management.DeploymentExce
    ption: [J2EE:160149]Error while processing library references. Unresolved applic
    ation library references, defined in weblogic-application.xml: [Extension-Name:
    adf.oracle.domain, exact-match: false], [Extension-Name: oracle.sdp.messaging, e
    xact-match: false]..
    weblogic.management.DeploymentException: [J2EE:160149]Error while processing lib
    rary references. Unresolved application library references, defined in weblogic-
    application.xml: [Extension-Name: adf.oracle.domain, exact-match: false], [Exten
    sion-Name: oracle.sdp.messaging, exact-match: false].
    at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(
    CheckLibraryReferenceFlow.java:26)
    at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.ja
    va:609)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
    river.java:37)
    at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.j
    ava:185)
    at weblogic.application.internal.EarDeployment.prepare(EarDeployment.jav
    a:53)
    Truncated. see log file for complete stacktrace
    >
    <Aug 27, 2009 12:15:18 PM IST> <Error> <Deployer> <BEA-149205> <Failed to initia
    lize the application 'worklistapp' due to error weblogic.management.DeploymentEx
    ception: [J2EE:160149]Error while processing library references. Unresolved appl
    ication library references, defined in weblogic-application.xml: [Extension-Name
    : adf.oracle.domain, exact-match: false], [Extension-Name: oracle.jsp.next, exac
    t-match: false]..
    weblogic.management.DeploymentException: [J2EE:160149]Error while processing lib
    rary references. Unresolved application library references, defined in weblogic-
    application.xml: [Extension-Name: adf.oracle.domain, exact-match: false], [Exten
    sion-Name: oracle.jsp.next, exact-match: false].
    at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(
    CheckLibraryReferenceFlow.java:26)
    at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.ja
    va:609)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
    river.java:37)
    at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.j
    ava:185)
    at weblogic.application.internal.EarDeployment.prepare(EarDeployment.jav
    a:53)
    Truncated. see log file for complete stacktrace
    >
    <Aug 27, 2009 12:15:20 PM IST> <Error> <Deployer> <BEA-149205> <Failed to initia
    lize the application 'b2bui' due to error weblogic.management.DeploymentExceptio
    n: [J2EE:160149]Error while processing library references. Unresolved applicatio
    n library references, defined in weblogic-application.xml: [Extension-Name: adf.
    oracle.domain, exact-match: false]..
    weblogic.management.DeploymentException: [J2EE:160149]Error while processing lib
    rary references. Unresolved application library references, defined in weblogic-
    application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].
    at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(
    CheckLibraryReferenceFlow.java:26)
    at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.ja
    va:609)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
    river.java:37)
    at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.j
    ava:185)
    at weblogic.application.internal.EarDeployment.prepare(EarDeployment.jav
    a:53)
    Truncated. see log file for complete stacktrace
    >
    <Aug 27, 2009 12:15:20 PM IST> <Error> <Deployer> <BEA-149205> <Failed to initia
    lize the application 'DefaultToDoTaskFlow' due to error weblogic.management.Depl
    oymentException: [J2EE:160149]Error while processing library references. Unresol
    ved application library references, defined in weblogic-application.xml: [Extens
    ion-Name: adf.oracle.domain, Implementation-Version: 11.1.1.1.0, exact-match: fa
    lse], [Extension-Name: oracle.jsp.next, exact-match: false]..
    weblogic.management.DeploymentException: [J2EE:160149]Error while processing lib
    rary references. Unresolved application library references, defined in weblogic-
    application.xml: [Extension-Name: adf.oracle.domain, Implementation-Version: 11.
    1.1.1.0, exact-match: false], [Extension-Name: oracle.jsp.next, exact-match: fal
    se].
    at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(
    CheckLibraryReferenceFlow.java:26)
    at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.ja
    va:609)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
    river.java:37)
    at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.j
    ava:185)
    at weblogic.application.internal.EarDeployment.prepare(EarDeployment.jav
    a:53)
    Truncated. see log file for complete stacktrace
    >
    JmsConnectionFactory: Unable to set connection parameters for OracleConnectionMa
    nager
    JmsConnectionFactory: Unable to set connection parameters for OracleConnectionMa
    nager
    JmsConnectionFactory: Unable to set connection parameters for OracleConnectionMa
    nager
    JmsConnectionFactory: Unable to set connection parameters for OracleConnectionMa
    nager
    JmsConnectionFactory: Unable to set connection parameters for OracleConnectionMa
    nager
    JmsConnectionFactory: Unable to set connection parameters for OracleConnectionMa
    nager
    JmsConnectionFactory: Unable to set connection parameters for OracleConnectionMa
    nager
    JmsConnectionFactory: Unable to set connection parameters for OracleConnectionMa
    nager
    JmsConnectionFactory: Unable to set connection parameters for OracleConnectionMa
    nager
    JmsConnectionFactory: Unable to set connection parameters for OracleConnectionMa
    nager
    JmsConnectionFactory: Unable to set connection parameters for OracleConnectionMa
    nager
    JmsConnectionFactory: Unable to set connection parameters for OracleConnectionMa
    nager
    JmsConnectionFactory: Unable to set connection parameters for OracleConnectionMa
    nager
    JmsConnectionFactory: Unable to set connection parameters for OracleConnectionMa
    nager
    Aug 27, 2009 12:15:47 PM oracle.wsm.common.logging.WsmMessageLogger logSevere
    SEVERE: Failure in looking up EJB component QueryService#oracle.wsm.policymanage
    r.ejb.IStringQueryServiceRemote.
    <Aug 27, 2009 12:16:29 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server st
    ate changed to ADMIN>
    <Aug 27, 2009 12:16:34 PM IST> <Warning> <Log Management> <BEA-170011> <The LogB
    roadcaster on this server failed to broadcast log messages to the admin server.
    The Admin server may not be running. Message broadcasts to the admin server will
    be disabled.>
    <Aug 27, 2009 12:17:11 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server st
    ate changed to RESUMING>
    <Aug 27, 2009 12:17:16 PM IST> <Notice> <Server> <BEA-002613> <Channel "Default[
    3]" is now listening on fe80:0:0:0:39b9:eee1:8736:8262:8001 for protocols iiop,
    t3, ldap, snmp, http.>
    <Aug 27, 2009 12:17:16 PM IST> <Notice> <Server> <BEA-002613> <Channel "Default[
    4]" is now listening on fe80:0:0:0:30be:1076:3f57:fefc:8001 for protocols iiop,
    t3, ldap, snmp, http.>
    <Aug 27, 2009 12:17:16 PM IST> <Notice> <Server> <BEA-002613> <Channel "Default[
    7]" is now listening on 0:0:0:0:0:0:0:1:8001 for protocols iiop, t3, ldap, snmp,
    http.>
    <Aug 27, 2009 12:17:16 PM IST> <Notice> <Server> <BEA-002613> <Channel "Default[
    1]" is now listening on 192.168.1.3:8001 for protocols iiop, t3, ldap, snmp, htt
    p.>
    <Aug 27, 2009 12:17:16 PM IST> <Notice> <Server> <BEA-002613> <Channel "Default"
    is now listening on 2001:0:cf2e:3096:30be:1076:3f57:fefc:8001 for protocols iio
    p, t3, ldap, snmp, http.>
    <Aug 27, 2009 12:17:16 PM IST> <Notice> <Server> <BEA-002613> <Channel "Default[
    5]" is now listening on fe80:0:0:0:c931:e3ad:23b7:a24c:8001 for protocols iiop,
    t3, ldap, snmp, http.>
    <Aug 27, 2009 12:17:16 PM IST> <Notice> <Server> <BEA-002613> <Channel "Default[
    2]" is now listening on fe80:0:0:0:39e8:36d5:9f8b:f988:8001 for protocols iiop,
    t3, ldap, snmp, http.>
    <Aug 27, 2009 12:17:16 PM IST> <Notice> <Server> <BEA-002613> <Channel "Default[
    6]" is now listening on fe80:0:0:0:0:5efe:c0a8:103:8001 for protocols iiop, t3,
    ldap, snmp, http.>
    <Aug 27, 2009 12:17:16 PM IST> <Notice> <Server> <BEA-002613> <Channel "Default[
    8]" is now listening on 127.0.0.1:8001 for protocols iiop, t3, ldap, snmp, http.
    >
    <Aug 27, 2009 12:17:16 PM IST> <Notice> <WebLogicServer> <BEA-000357> <Started W
    ebLogic Independent Managed Server "soa_server1" for domain "domain1" running in
    Development Mode>
    <Aug 27, 2009 12:17:16 PM IST> <Warning> <Server> <BEA-002611> <Hostname "Metamo
    rph26-PC", maps to multiple IP addresses: 192.168.1.3, fe80:0:0:0:30be:1076:3f57
    :fefc%11, fe80:0:0:0:c931:e3ad:23b7:a24c%13, fe80:0:0:0:0:5efe:c0a8:103%14, 2001
    :0:cf2e:3096:30be:1076:3f57:fefc>
    <Aug 27, 2009 12:19:24 PM IST> <Warning> <JMX> <BEA-149509> <Unable to establish
    JMX Connectivity with the Adminstration Server AdminServer at service:jmx:t3://
    [2001:0:cf2e:3096:30be:1076:3f57:fefc]:7001/jndi/weblogic.management.mbeanserver
    s.domainruntime.
    java.io.IOException
    at weblogic.management.remote.common.ClientProviderBase.makeConnection(C
    lientProviderBase.java:187)
    at weblogic.management.remote.common.ClientProviderBase.newJMXConnector(
    ClientProviderBase.java:81)
    at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnec
    torFactory.java:338)
    at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFacto
    ry.java:247)
    at weblogic.management.mbeanservers.runtime.internal.RegisterWithDomainR
    untimeService.getDomainMBeanServerConnection(RegisterWithDomainRuntimeService.ja
    va:206)
    Truncated. see log file for complete stacktrace
    javax.naming.CommunicationException [Root exception is java.net.ConnectException
    : t3://[2001:0:cf2e:3096:30be:1076:3f57:fefc]:7001: Destination unreachable; nes
    ted exception is:
    java.net.ConnectException: Connection timed out: connect; No available r
    outer to destination]
    at weblogic.jndi.internal.ExceptionTranslator.toNamingException(Exceptio
    nTranslator.java:40)
    at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLIni
    tialContextFactoryDelegate.java:783)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLIni
    tialContextFactoryDelegate.java:367)
    at weblogic.jndi.Environment.getContext(Environment.java:315)
    at weblogic.jndi.Environment.getContext(Environment.java:285)
    Truncated. see log file for complete stacktrace
    java.net.ConnectException: t3://[2001:0:cf2e:3096:30be:1076:3f57:fefc]:7001: Des
    tination unreachable; nested exception is:
    java.net.ConnectException: Connection timed out: connect; No available r
    outer to destination
    at weblogic.rjvm.RJVMFinder.findOrCreateInternal(RJVMFinder.java:216)
    at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:170)
    at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:153)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialReference(WLI
    nitialContextFactoryDelegate.java:400)
    at weblogic.jndi.Environment.getInitialReference(Environment.java:245)
    Truncated. see log file for complete stacktrace
    java.rmi.ConnectException: Destination unreachable; nested exception is:
    java.net.ConnectException: Connection timed out: connect; No available r
    outer to destination
    at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:464)
    at weblogic.rjvm.ConnectionManager.bootstrap(ConnectionManager.java:315)
    at weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java
    :251)
    at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:194)t
    at weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:238
    Truncated. see log file for complete stacktrace
    >
    <Aug 27, 2009 12:20:06 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server st
    ate changed to RUNNING>
    <Aug 27, 2009 12:20:06 PM IST> <Notice> <WebLogicServer> <BEA-000360> <Server st
    arted in RUNNING mode>
    I have reinstall it again and again but the same exception is coming.Please help me out.
    Thanks
    Ap

    It seem that you are missing libraries to start the application:
    Error while processing library references. Unresolved applic
    +ation library references, defined in weblogic-application.xml: [Extension-Name:+
    adf.oracle.domain, exact-match: false], [Extension-Name: *oracle.sdp.messaging*, e+
    +xact-match: false]..+
    weblogic.management.DeploymentException: J2EE:160149Error while processing lib
    rary references. Unresolved application library references, defined in weblogic-
    +application.xml: Extension-Name: adf.oracle.domain, exact-match: false, [Exten+
    sion-Name: oracle.sdp.messaging, exact-match: false].
    Either you haven't installed the libraries or you have installed them to the Admin server and need to activate them on the managed server. You should be able to see if they are installed if you look at the deployments overview in the weblogic console. I found this blog entry usefull when I needed to install the libraries for adf:
    http://one-size-doesnt-fit-all.blogspot.com/2009/01/configuring-weblogic-server.html
    If they are installed you might want to check each of them if they are assigned to you managed server target. You can select them in the deployment overview and choose the target option. There should be a check mark at the server you deployed your application to.
    Best regards,
    Sturla

  • System Update 5.01.0005 hangs every attempt on my X121e (log files inline)

    Hi, I installed TVSU on my x121e laptop and it hangs on 95% on every attempt, like 5th time now. I have tried to uninstall and reinstall and I am using the latest version, I think, which is 5.01.0005.
    Note that the system totally freezes on me. Nothing responds and Ctrl+Alt+Delete does not do anything. Only way is to shut down using the power button.
    System:
    ThinkPad x121e (30456UG)
    Windows 8 Pro 64-bit (v6.2 build 9200)
    Any ideas on what I can do to get it running? I don't know how to attach log files so I pasted them in full.
    tvsu_exe.log:
    TSS(L) 1: 22:07:56:0953 tvsu.cpp(1825): Installdir:  C:\Program Files (x86)\Lenovo\System Update
    TSS(L) 1: 22:07:57:0281 tvsu.cpp(1754): Installdir:  C:\Program Files (x86)\Lenovo\System Update
    TSS(L) 1: 22:07:57:0281 tvsu.cpp(1775): szCmd:  C:\Program Files (x86)\Lenovo\System Update\TvsuCommandLauncher.exe
    TSS(L) 1: 22:08:02:0579 tvsu.cpp(579): StartTvsukernel : admin
    TSS(L) 1: 22:08:02:0594 tvsu.cpp(586): Begin InvokeUacSdkViaService
    TSS(L) 1: 22:08:02:0626 tvsu.cpp(431): Installdir:  C:\Program Files (x86)\Lenovo\System Update
    TSS(L) 1: 22:08:02:0626 tvsu.cpp(466): szCmd:  C:\Program Files (x86)\Lenovo\System Update\TvsuCommandLauncher.exe
    ServiceStart.log = empty
    UACSdk.txt:
    TSS(L) 0: 22:08:06:0188 uacsdk.cpp(170): User: ADMIN
    TSS(L) 0: 22:08:06:0204 uacsdk.cpp(171): TempRegFile:
    TSS(L) 0: 22:08:06:0204 uacsdk.cpp(172): ComdLine:
    TSS(L) 0: 22:08:06:0220 uacsdk.cpp(180): ComdLine tvsukernel: C:\Program Files (x86)\Lenovo\System Update\\Tvsukernel.exe
    TSS(L) 0: 22:08:06:0220 uacsdk.cpp(190): Vista admin
    TSS(L) 0: 22:08:06:0220 vista.cpp(62): StartUIOnVistaWithAdminLongon ComdLine: C:\Program Files (x86)\Lenovo\System Update\\Tvsukernel.exe
    TSS(L) 0: 22:08:06:0220 vista.cpp(70): WTSGetActiveConsoleSessionId dwSessionId: 1
    TSS(L) 0: 22:08:06:0235 vista.cpp(124): ImpersonateLoggedOnUser succeed!
    TSS(L) 0: 22:08:06:0235 vista.cpp(129): CreateProcessAsUser CommandLine : C:\Program Files (x86)\Lenovo\System Update\\Tvsukernel.exe
    TSS(L) 0: 22:08:06:0423 vista.cpp(154): CreateProcessAsUser succeed!

    Hmm, I can in fact not paste the log since the message "exceeds 20,000 chars. Where do I find the "attach file" Icon - looking everywhere.
    Pasting bits and pieces from tvsu_log_121219220812.txt:
    Severe 2012-12-19 , 10:08:13
     vid Tvsu.Sdk.SuSdk.StartApplication()
     Message: Application runs with the framework: 2.0.50727.6400
    Severe 2012-12-19 , 10:09:04  vid Tvsu.FileDownloader.HttpsDownload.Init(FileDownloadInfo fileInfo)  Message: Debug Log: Init method:GET
    Severe 2012-12-19 , 10:09:05  vid Tvsu.FileDownloader.HttpsDownload.doDownloadByHttps(FileDownloadInfo fileInfo, downloadingDelegate downDelegate)  Message: Debug Log: doDownloadByHttps InterException is null, uri:https://download.lenovo.com/ibmdl/pub/pc/pccbbs/agent/SSClientCommon/HelloLevel_9_01_00.xml
    Severe 2012-12-19 , 10:09:05  vid Tvsu.FileDownloader.HttpsDownload.doDownloadByHttps(FileDownloadInfo fileInfo, downloadingDelegate downDelegate)  Message: Debug Log doDownloadByHttps webException message:Fjärrservern returnerade ett fel: (404) Kunde inte hittas.
    Severe 2012-12-19 , 10:09:05  vid Tvsu.FileDownloader.HttpsDownload.doDownloadByHttps(FileDownloadInfo fileInfo, downloadingDelegate downDelegate)  Message: Debug Log server path: https://download.lenovo.com/ibmdl/pub/pc/pccbbs/agent/SSClientCommon/HelloLevel_9_01_00.xml responseStatus:404
    Severe 2012-12-19 , 10:09:05  vid Tvsu.FileDownloader.HttpsDownload.doDownloadByHttps(FileDownloadInfo fileInfo, downloadingDelegate downDelegate)  Message: Debug Log server path: https://download.lenovo.com/ibmdl/pub/pc/pccbbs/agent/SSClientCommon/HelloLevel_9_01_00.xml webException.StackTrace:   vid System.Net.HttpWebRequest.GetResponse()    vid Tvsu.FileDownloader.HttpsDownload.doDownloadByHttps(FileDownloadInfo fileInfo, downloadingDelegate downDelegate)
    Severe 2012-12-19 , 10:09:05
     vid Tvsu.Engine.Process.HelloProcess.Start()
     Message: Could't connect to the HelloServer, no UDF file was downloaded
    Severe 2012-12-19 , 10:09:31
     vid Tvsu.FileDownloader.HttpsDownload.Init(FileDownloadInfo fileInfo)
     Message: Debug Log: Init method:GET
    Then just TONS of Info messages and here is the end of the file
    Info 2012-12-19 , 10:09:37  vid Tvsukernel.CustomControls.Step.<>c__DisplayClass7.<set_Image>b__6()  Message: Setting DONE status.
    Info 2012-12-19 , 10:09:37  vid Tvsukernel.CustomControls.Step.<>c__DisplayClass7.<set_Image>b__6()  Message: Setting PROCESSING status.
    Info 2012-12-19 , 10:09:37  vid Tvsu.Coreq.LoadCoreqsProcessor.ProcessUpdatesImplementation(Update[] ups)  Message: Candidate list: Critical patch to fix TVSU UTS issue[reboot type 1] ThinkVantage Fingerprint Software for Windows 7/8 32-bit[reboot type 3] Lenovo Power Management Driver - 8 [32,64][reboot type 3] ThinkVantage Aktivt skyddssystem (64bit)[reboot type 3] ThinkVantage Fingerprint Software for Windows 7/8 64-bit[reboot type 3] WiMAX Driver for Intel Cards (For Win8 64bit)[reboot type 3] Intel Management Engine Interface driver for Win8 32/64 bit[reboot type 3] Synaptics ThinkPad UltraNav Driver - Vista/7/8 [32,64][reboot type 3] Realtek Card Reader Driver for Windows 8 32/64 bit -WW-[reboot type 3] WiFi driver for Intel cards Driver - 8 [64][reboot type 3] Lenovo Settings Dependency Pacakge - 8 [32,64][reboot type 3] ThinkVantage Aktivt skyddssystem (64bit)[reboot type 3] AMD USB Filter Driver for Windows 8 32/64bit[reboot type 3] ThinkVantage Aktivt skyddssystem (32bit)[reboot type 3] WiFi driver for Intel cards Driver - 8 [32][reboot type 3] WiMAX Driver for Intel Cards (For Win8 32bit)[reboot type 3]
    Info 2012-12-19 , 10:09:37  vid Tvsu.Coreq.LoadCoreqsProcessor.ProcessUpdatesImplementation(Update[] ups)  Message: Resulted order of candidate list: ThinkVantage Fingerprint Software for Windows 7/8 32-bit[reboot type 3] Lenovo Power Management Driver - 8 [32,64][reboot type 3] ThinkVantage Aktivt skyddssystem (64bit)[reboot type 3] ThinkVantage Fingerprint Software for Windows 7/8 64-bit[reboot type 3] WiMAX Driver for Intel Cards (For Win8 64bit)[reboot type 3] Intel Management Engine Interface driver for Win8 32/64 bit[reboot type 3] Synaptics ThinkPad UltraNav Driver - Vista/7/8 [32,64][reboot type 3] Realtek Card Reader Driver for Windows 8 32/64 bit -WW-[reboot type 3] WiFi driver for Intel cards Driver - 8 [64][reboot type 3] Lenovo Settings Dependency Pacakge - 8 [32,64][reboot type 3] ThinkVantage Aktivt skyddssystem (64bit)[reboot type 3] AMD USB Filter Driver for Windows 8 32/64bit[reboot type 3] ThinkVantage Aktivt skyddssystem (32bit)[reboot type 3] WiFi driver for Intel cards Driver - 8 [32][reboot type 3] WiMAX Driver for Intel Cards (For Win8 32bit)[reboot type 3] Critical patch to fix TVSU UTS issue[reboot type 1]
    Info 2012-12-19 , 10:09:37  vid Tvsu.Coreq.CoreqProcessor.ProcessUpdatesImplementation(Update[] updates)  Message: Beginning Coreq process: Recieved 16Updates

Maybe you are looking for

  • I got a new computer so how do i get my itunes back?

    i got a new laptop and i wanted to put my itunes on it but im afraid if i plug in my ipod its goint to erase all my music. is there any way i can get my itunes onto my computer safley and w/ out have to import all of my cds again?

  • Filter factory limitation on clauses?

    I have encountered what may be a limitation on the number of clauses in filter factory coding and would like someone to confirm or debunk it. I have written 12 lines of code, all similar, all containing three && "and" operators, and all ending with t

  • "Save AS' to Enterprie across firewall

    Hi All, I am trying to save a report from Crystal Reports Designer into an Enterprise folder. The server is in a different network and I had to request the Network team to open up the port 6400 on the Crystal Server machine. But I am still getting "C

  • Read EDI-856 interface data in ABAP program

    HI Experts, I have a requirement to read the incomming EDI-856 interface data from ABAP program and generate an IDOC.  I have gone through few EDI-856 documents and theformat in which to read the data . Request you to let me know the code logic , fun

  • Retouching headshots

    I edited one of my head shots on my iPhone with different apps, and the image resolution is low. I was wondering if there is a way to use photoshop to take the original/unedited (high-resolution) image and and match its pixel to the edited image, byp