Weblogic7.0 lggging StackTrace

Hello,
I don't see printStackTrace output going into weblogic log. Can someone advise
where to look for stderr ? Is there a parameter to control what output should
go into log
PS: we are using weblogic7.0 on solaris
Regards
Murali

By default we don't log std-out and err to the .log file, you will have to
redirect.
You can get them to output to the console by configuring logging such as:
http://e-docs.bea.com/wls/docs70/ConsoleHelp/servers.html#1111124
You also will want to set you log level to info.
Cheers
mbg
"Murali" <[email protected]> wrote in message
news:3e7f4b34$[email protected]..
>
Hello,
I don't see printStackTrace output going into weblogic log. Can someoneadvise
where to look for stderr ? Is there a parameter to control what outputshould
go into log
PS: we are using weblogic7.0 on solaris
Regards
Murali

Similar Messages

  • No stacktraces in JDeveloper 10.1.3.4.0.4270

    Since a little while my JDev environment lacks printing stackTraces while running or debugging projects.
    For example:
    I have a bit of code which generates a NullPointerException. Normally I would get a stackTrace in the log inside JDev, where I could determine the line it went wrong.
    Now I only get the following:
    09/09/28 14:21:16 null
    A timestamp and a real short message pointing towards a NullPointerException. This is hard to debug. It happens with all sorts of exceptions.
    Can anybody help me out?
    JDEV 10.1.3.4.0.4270

    Restored a backup of my JDev directory because it took to long.

  • Glue 4.1.2 and weblogic7.0.4 problem

    Hi all,
    I am having a problem to start my war that uses glue 4.1.2 on
    weblogic7.0.4. Glue.jar is contained inside of our war.
    Below is the error message I saw at start up. It says
    the server is in RUNNING mode, but wsdl files cannot be loaded from
    the explorer.
    <Oct 7, 2003 11:53:06 AM PDT> <Notice> <WebLogicServer> <000327>
    <Starting WebLogic Admin Server "mcserver" for domain "mc">
    <Oct 7, 2003 11:53:37 AM PDT> <Error> <Management> <141006>
    <Application mc:Name=DefaultWebApp,Type=Application not found at
    [STARTUP] GLUE Professional 4.1.2 (c) 2001-2003 The Mind Electric
    [ERROR] null unable to locate file system/application.xml
    [ERROR] null unable to locate file system/console.xml
    [ERROR] null unable to locate file system/jndi.xml
    <Oct 7, 2003 12:08:51 PM PDT> <Notice> <WebLogicServer> <000360>
    <Server started in RUNNING mode>
    However the same application runs perfectly on weblogic 8.1.
    Anybody has the same experience, any comments are highly
    appreciated!!!

    Thanks.
    The adobe flash player version is 10.1.583,its an update version.By the way,we take an advice to install back the Mozilla,First it didnt work to Safari it web videos,So we keep shut down for few hours.Viola!!!!!!its working both browser,Safari work to play any web video as well as Mozilla.But we are confusing if we UNINSTALL the Mozilla and it will came back the same behavior of Safari that didn't work any web watch medias coz we need enough to keep one browser and that's Safari.What shall we do?Thanks a lot.
    Message was edited by: DAMADUET

  • On Weblogic7, how do I create an InitialContext to a Weblogic6 server and set SECURITY_CREDENTIALS?

    On a Weblogic7 server I am trying to
    create an InitialContext to a Weblogic6
    server and set the SECURITY_CREDENTIALS.
    The code is something like this:
    Hashtable p = new Hashtable();
    p.put(Context.INITIAL_CONTEXT_FACTORY,
    "weblogic.jndi.WLInitialContextFactory");
    p.put(Context.PROVIDER_URL, url);
    p.put(Context.SECURITY_PRINCIPAL, usr);
    p.put(Context.SECURITY_CREDENTIALS, pwd);
    InitialContext ctx = new InitialContext(p);
    But when this code runs, I get a class cast
    exception on class:
    weblogic.security.acl.DefaultUserInfoImpl
    How can I stop this?

    Yes I wrote AspectRatioSelection to take the document orientation into consideration an use the ratio you set orientated to the documents orientation.  So an action to crop Landscape and Portraits for a 4X6 paper would be easy to record. You will notice the dialog has two numbers fields not a Width and Height fields no orientation is implied. Its companion LongSidePrintLength.jsx the let you set the correct print dpi after the aspect ratio crop.
    I did create a plug-in where you could specify an absolute aspect ratio that also had an orient option to work like AspectRatioSelection.  So with that plug-in you would able to crop a landscape to a portrait and portrait to landscape. Hover the image composition changes so much when you do often you can't get an acceptable composition.  The dialog also became hard  to describe well for me.  I program better then I do English.  The orient check box made width and height meaningless and the aspect ratio not absolute and wasn't easly explained. This is what it look like.
    znarkus wrote:
    Thanks for these scripts!
    I noticed an (for me) issue with AspectRatioSelection though: even though I set aspect ratio to 6:4 it decides to crop some images 4:6.
    It works with images that are portrait, but those that are more square are cropped in 4:6.
    I don't follow your more square thing.  If you have two documents one 4x6 and the other 6x4 which is more square?
    The way it works biased on you documents orientation. If your document is wider then tall it landscape if it taller the wide it a Portrait. If It square the plugin defaults it to Landscape.
    So it makes no difference if you set 4 and 6 or 6 and 4 or 3 and 2 or 2 and 3 
    Landscape and square document will see landscape selection with a or 3:2 aspect ratio selection or path the is either rectangle or oval
    Portraits documents will see a Portrait selection with a 2:3 aspect ratio selection or path the is either rectangle or oval
    Message was edited by: JJMack

  • Bug in FB 4.7 when setting verbose-stacktraces to True

    Hello guys,
    When setting the verbose-stacktraces to true without setting the debug parameter to true, it has no effect. When I get a stacktrace it doesn't include any line numbers as stated on the documentation. I'm currently using Flash Builder 4.7, Adobe Flex 4.6 and Air 4 SDK to develop my mobile application. Also, I'm using the compiler options: -locale en_US -swf-version=23 -verbose-stacktraces=true.
    I need to be able to see the line numbers so I would really appreciate any help on this issue.
    Regards,
    Sebastian

    I also tried with replacing -verbose-stacktraces=true with -compiler.verbose-stacktraces=true as I've seen in some examples but nothing happens.
    Next you have an example of a stacktrace missing the line numbers:
    TypeError: Error #1009
            at components.visual::BaseECView/configureComponents()
            at views.home::Home/createChildren()
            at mx.core::UIComponent/initialize()
            at spark.components::View/initialize()
            at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()
            at mx.core::UIComponent/addChildAt()
            at spark.components::Group/addDisplayObjectToDisplayList()
            at spark.components::Group/http://www.adobe.com/2006/flex/mx/internal::elementAdded()
            at spark.components::Group/addElementAt()
            at spark.components::Group/addElement()
            at spark.components::SkinnableContainer/addElement()
            at spark.components::ViewNavigator/createViewInstance()
            at spark.components::ViewNavigator/commitNavigatorAction()
            at spark.components::ViewNavigator/commitProperties()
            at mx.core::UIComponent/validateProperties()
            at mx.managers::LayoutManager/validateProperties()
            at mx.managers::LayoutManager/doPhasedInstantiation()
            at mx.managers::LayoutManager/doPhasedInstantiationCallback()
            at flash.utils::Timer/tick()

  • Xsl problem in weblogic7

    The problem occurs when i try to parse a double value expressed in scientific notaion.
    e.g. -3.902317E4.
    <xsl:variable name="temp">
    <xsl:value-of select = "tempExpense" disable-output-escaping = "no" /></xsl:variable>
    <xsl:value-of select = "number($temp)"/>
    tempExpense is an element in the xml file i am processing. The number function
    returns a NaN. THIS CODE WORKS PERFECTLY FINE IN WEBLOGIC6.1.
    if i hardcode the valu like this<xsl:value-of select = "number(-3.902317E4)"/>
    its working properly.
    Is it that weblogic7 uses a stricter parser etc. Could anyone suggest as to what
    need to be done to get the desired output.
    Thanks in advance
    aseef.j

    I write an example
    xsl file:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
         <xsl:template match="/">
              <doc>
                   <xsl:apply-templates/>
              </doc>
         </xsl:template>
         <xsl:template match="source_field">
              <source_field>
                   <xsl:call-template name="remove_leading_zeros">
                        <xsl:with-param name="value" select="."/>
                   </xsl:call-template>
              </source_field>
         </xsl:template>
         <xsl:template name="remove_leading_zeros">
              <xsl:param name="value"/>
              <xsl:choose>
                   <xsl:when test="starts-with($value, '0')">
                        <xsl:call-template name="remove_leading_zeros">
                             <xsl:with-param name="value" select="substring($value, 2)"/>
                        </xsl:call-template>
                   </xsl:when>
                   <xsl:otherwise>
                        <xsl:value-of select="$value"/>
                   </xsl:otherwise>
              </xsl:choose>
         </xsl:template>
    </xsl:stylesheet>
    to test:
    input xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <doc>
    <source_field>000000123456</source_field>
    <source_field>0987654</source_field>
    </doc>
    output xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <doc xmlns:fo="http://www.w3.org/1999/XSL/Format">
         <source_field>123456</source_field>
         <source_field>987654</source_field>
    </doc>
    hope can help you.
    regards
    Bin

  • Error Pages and StackTrace

    Hello!
    I want to create a Error Page.
    And I want to save the StackTrace as String in a variable.
    My code is:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <%@ page import="java.lang.Exception,java.io.*"%>
    <%@ page isErrorPage="true" %>
    <html>
    <head>
         <title>Untitled</title>
    </head>
    <body>
    Fehler!!!!<p>
    <p>Fehler: <%=exception.getMessage()%>
    <p><% PrintWriter writer = new PrintWriter(out);%>
    Stack: <% exception.printStackTrace(writer);%>
    <p>getLocalizedMessage = <%=exception.getLocalizedMessage()%>
    <p>toString = <%=exception.toString()%>
    </body>
    </html>But here the StackTrace is printed directly to the Page, but I want to save it in a variable at example a String, because I want to create a automaticle report to me, if there is any error....
    Can anybody help me?
    Mike

        public final static String getFullStackTrace(Throwable t) {
         // writers
         StringWriter sw = new StringWriter();
         PrintWriter pw = new PrintWriter(sw);
         // update stack
         t.printStackTrace(pw);
         String stackTrace = sw.toString();
         // close writers
         try {
             sw.close();
         } catch(IOException ex) {
             cat.error(ex.getMessage(), ex);
             return "error creating stack trace";
         pw.close();
         return stackTrace;
        }

  • 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

  • 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.

  • Mqseries with weblogic7.0

              Currently i have the requirement of connecting MqSeries with weblogic7.0
              server . looking thro the edocs , I cannot figure out how to configure the
              jms adapter(xml files in the jms-xa-adp.rar file) to use the mqseries .
              Is it the way to do ? or is there some other way ?
              I have looked at the wlmqseries.zip file at the dev2dev site also , but it
              does not help very much.
              Does anybody have a step by step configuration example to integrate mqseries
              with WLS7.0 using messaging bridge? atleast some guidance would help .
              hoping to hear from u guys .
              -Gowda
              

    Please see comments in line.
              "golibaar" <[email protected]> wrote in message
              news:[email protected]...
              >
              > Currently i have the requirement of connecting MqSeries with weblogic7.0
              > server . looking thro the edocs , I cannot figure out how to configure the
              > jms adapter(xml files in the jms-xa-adp.rar file) to use the mqseries .
              You have to deploy the adapter through the console or in the
              config.xml. The way to deploy the adapters are the same as you deploy any
              Connector adapters. Please refer to the Connector doc. Or check out
              "Deployingthe Bridge Adapters" section in the
              following link:
              http://e-docs.beasys.com/wls/docs70/adminguide/msgbridge.html#1047954
              You have to configure two JMS Bridge Destinations (for the
              destination on the WebLogic side and MQSeries side repectively)
              and one Messaging bridge. You can find detailed information in the
              e-doc given above.
              > Is it the way to do ? or is there some other way ?
              The messaging bridge automatically transfer messages from one destination to
              another. If you just want a WebLogic EJB to read
              messages from MQSeries destinations, you can use MDB.
              http://e-docs.beasys.com/wls/docs70/ejb/message_beans.html#1050867
              > I have looked at the wlmqseries.zip file at the dev2dev site also , but it
              > does not help very much.
              >
              > Does anybody have a step by step configuration example to integrate
              mqseries
              > with WLS7.0 using messaging bridge? atleast some guidance would help .
              >
              By the way, there is a white paper to be published soon in dev2dev for
              integration of 3rd party messaging products with WebLogic Server.
              Hope this helps.
              Dongbo
              

  • 高手指教:weblogic7.0上开发webservice的问题,多谢!

    我在用weblogic7.0开发webservice应用时,遇到了几个问题,具体情况是:
    1)我在webservice的方法中返回值为ArrayList,且ArrayList中若包含一些自定义类型,如javabean时,部署完成后,从确省的访问页执行此方法,出现下列错误信息:
    javax.xml.soap.SOAPException: failed to deserialize xml:weblogic.xml.schema.binding.DeserializationException: mapping lookup failure. type=['http://www.w3.org/2001/XMLSchema']:anyType schema context=TypedSchemaContext{javaType=javax.xml.soap.SOAPElement}
    注:但是若单独返回这个javabean没有问题
    2)另外,如果返回的数据对象中包含中文数据的话,也会出现错误,具体信息如下:javax.xml.rpc.soap.SOAPFaultException: Error reading the response from: http://192.0.2.211:7001/basic_javaclass/HelloWorld. Please ensure that this is a valid SOAP response. The message was: l?q èq:&#339;&Ocirc;

    Hi Supine:
    I had the same problem with blue_sky. I followed your instructions and that error msg disappeared. But I got another error message:
    SERVICE FAULT:
    Code:com.bea.xml.marshal.XmlEncodingException
    String:Encountered an xml tag without a recognized type: the type must be declared with an xsi:type attribute.
    Here is the service implementation and the wsdl file:
    * @common:operation
    * @jws:return-xml include-java-types="PersonName"
    public ArrayList getNameList()
    ArrayList names = new ArrayList();
    PersonName name1 = new PersonName("Tom", "Bell");
    names.add(name1);
    PersonName name2 = new PersonName("John", "Smith");
    names.add(name2);
    return names;
    <?xml version="1.0" encoding="utf-8"?>
    <!-- @editor-info:link autogen="true" source="helloService.jws" -->
    <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:conv="http://www.openuri.org/2002/04/soap/conversation/" xmlns:cw="http://www.openuri.org/2002/04/wsdl/conversation/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:jms="http://www.openuri.org/2002/04/wsdl/jms/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://www.openuri.org/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://www.openuri.org/">
    <types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://www.openuri.org/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:ope="http://www.openuri.org/">
    <s:element name="getPersonName">
    <s:complexType>
    <s:sequence/>
    </s:complexType>
    </s:element>
    <s:element name="getPersonNameResponse">
    <s:complexType>
    <s:sequence>
    <s:element name="getPersonNameResult" type="ope:PersonName" minOccurs="0"/>
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="PersonName" nillable="true" type="ope:PersonName"/>
    <s:element name="getStringList">
    <s:complexType>
    <s:sequence/>
    </s:complexType>
    </s:element>
    <s:element name="getStringListResponse">
    <s:complexType>
    <s:sequence>
    <s:element name="getStringListResult" type="ope:List" minOccurs="0"/>
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:element name="List" nillable="true" type="ope:List"/>
    <s:element name="getNameList">
    <s:complexType>
    <s:sequence/>
    </s:complexType>
    </s:element>
    <s:element name="getNameListResponse">
    <s:complexType>
    <s:sequence>
    <s:element name="getNameListResult" type="ope:List" minOccurs="0"/>
    </s:sequence>
    </s:complexType>
    </s:element>
    <s:complexType name="PersonName">
    <s:sequence>
    <s:element name="firstName" type="s:string" minOccurs="0"/>
    <s:element name="lastName" type="s:string" minOccurs="0"/>
    </s:sequence>
    </s:complexType>
    <s:complexType name="List">
    <s:sequence>
    <s:element name="item" type="s:anyType" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
    </s:sequence>
    </s:complexType>
    </s:schema>
    </types>
    <message name="getPersonNameSoapIn">
    <part name="parameters" element="s0:getPersonName"/>
    </message>
    <message name="getPersonNameSoapOut">
    <part name="parameters" element="s0:getPersonNameResponse"/>
    </message>
    <message name="getStringListSoapIn">
    <part name="parameters" element="s0:getStringList"/>
    </message>
    <message name="getStringListSoapOut">
    <part name="parameters" element="s0:getStringListResponse"/>
    </message>
    <message name="getNameListSoapIn">
    <part name="parameters" element="s0:getNameList"/>
    </message>
    <message name="getNameListSoapOut">
    <part name="parameters" element="s0:getNameListResponse"/>
    </message>
    <message name="getPersonNameHttpGetIn"/>
    <message name="getPersonNameHttpGetOut">
    <part name="Body" element="s0:PersonName"/>
    </message>
    <message name="getStringListHttpGetIn"/>
    <message name="getStringListHttpGetOut">
    <part name="Body" element="s0:List"/>
    </message>
    <message name="getNameListHttpGetIn"/>
    <message name="getNameListHttpGetOut">
    <part name="Body" element="s0:List"/>
    </message>
    <message name="getPersonNameHttpPostIn"/>
    <message name="getPersonNameHttpPostOut">
    <part name="Body" element="s0:PersonName"/>
    </message>
    <message name="getStringListHttpPostIn"/>
    <message name="getStringListHttpPostOut">
    <part name="Body" element="s0:List"/>
    </message>
    <message name="getNameListHttpPostIn"/>
    <message name="getNameListHttpPostOut">
    <part name="Body" element="s0:List"/>
    </message>
    <portType name="helloServiceSoap">
    <operation name="getPersonName">
    <input message="s0:getPersonNameSoapIn"/>
    <output message="s0:getPersonNameSoapOut"/>
    </operation>
    <operation name="getStringList">
    <input message="s0:getStringListSoapIn"/>
    <output message="s0:getStringListSoapOut"/>
    </operation>
    <operation name="getNameList">
    <input message="s0:getNameListSoapIn"/>
    <output message="s0:getNameListSoapOut"/>
    </operation>
    </portType>
    <portType name="helloServiceHttpGet">
    <operation name="getPersonName">
    <input message="s0:getPersonNameHttpGetIn"/>
    <output message="s0:getPersonNameHttpGetOut"/>
    </operation>
    <operation name="getStringList">
    <input message="s0:getStringListHttpGetIn"/>
    <output message="s0:getStringListHttpGetOut"/>
    </operation>
    <operation name="getNameList">
    <input message="s0:getNameListHttpGetIn"/>
    <output message="s0:getNameListHttpGetOut"/>
    </operation>
    </portType>
    <portType name="helloServiceHttpPost">
    <operation name="getPersonName">
    <input message="s0:getPersonNameHttpPostIn"/>
    <output message="s0:getPersonNameHttpPostOut"/>
    </operation>
    <operation name="getStringList">
    <input message="s0:getStringListHttpPostIn"/>
    <output message="s0:getStringListHttpPostOut"/>
    </operation>
    <operation name="getNameList">
    <input message="s0:getNameListHttpPostIn"/>
    <output message="s0:getNameListHttpPostOut"/>
    </operation>
    </portType>
    <binding name="helloServiceSoap" type="s0:helloServiceSoap">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
    <operation name="getPersonName">
    <soap:operation soapAction="http://www.openuri.org/getPersonName" style="document"/>
    <input>
    <soap:body use="literal"/>
    </input>
    <output>
    <soap:body use="literal"/>
    </output>
    </operation>
    <operation name="getStringList">
    <soap:operation soapAction="http://www.openuri.org/getStringList" style="document"/>
    <input>
    <soap:body use="literal"/>
    </input>
    <output>
    <soap:body use="literal"/>
    </output>
    </operation>
    <operation name="getNameList">
    <soap:operation soapAction="http://www.openuri.org/getNameList" style="document"/>
    <input>
    <soap:body use="literal"/>
    </input>
    <output>
    <soap:body use="literal"/>
    </output>
    </operation>
    </binding>
    <binding name="helloServiceHttpGet" type="s0:helloServiceHttpGet">
    <http:binding verb="GET"/>
    <operation name="getPersonName">
    <http:operation location="/getPersonName"/>
    <input>
    <http:urlEncoded/>
    </input>
    <output>
    <mime:mimeXml part="Body"/>
    </output>
    </operation>
    <operation name="getStringList">
    <http:operation location="/getStringList"/>
    <input>
    <http:urlEncoded/>
    </input>
    <output>
    <mime:mimeXml part="Body"/>
    </output>
    </operation>
    <operation name="getNameList">
    <http:operation location="/getNameList"/>
    <input>
    <http:urlEncoded/>
    </input>
    <output>
    <mime:mimeXml part="Body"/>
    </output>
    </operation>
    </binding>
    <binding name="helloServiceHttpPost" type="s0:helloServiceHttpPost">
    <http:binding verb="POST"/>
    <operation name="getPersonName">
    <http:operation location="/getPersonName"/>
    <input>
    <mime:content type="application/x-www-form-urlencoded"/>
    </input>
    <output>
    <mime:mimeXml part="Body"/>
    </output>
    </operation>
    <operation name="getStringList">
    <http:operation location="/getStringList"/>
    <input>
    <mime:content type="application/x-www-form-urlencoded"/>
    </input>
    <output>
    <mime:mimeXml part="Body"/>
    </output>
    </operation>
    <operation name="getNameList">
    <http:operation location="/getNameList"/>
    <input>
    <mime:content type="application/x-www-form-urlencoded"/>
    </input>
    <output>
    <mime:mimeXml part="Body"/>
    </output>
    </operation>
    </binding>
    <service name="helloService">
    <port name="helloServiceSoap" binding="s0:helloServiceSoap">
    <soap:address location="http://localhost:7001/RiskProfileEngineWeb/helloService.jws"/>
    </port>
    <port name="helloServiceHttpGet" binding="s0:helloServiceHttpGet">
    <http:address location="http://localhost:7001/RiskProfileEngineWeb/helloService.jws"/>
    </port>
    <port name="helloServiceHttpPost" binding="s0:helloServiceHttpPost">
    <http:address location="http://localhost:7001/RiskProfileEngineWeb/helloService.jws"/>
    </port>
    </service>
    </definitions>
    I can return a single object of PersonName and I can also return a list of Strings. I am stuck here. Any help is greatly appreciated.
    solidrock

  • Unable to set verbose stacktraces in Flex Builder 2.01

    If I set the compiler option -verbose-stacktraces=true, in
    the Problems listing in Flex Builder Eclipse Plugin 2.01, I get the
    following error message:
    quote:
    configuration variable 'compiler.verbose-stacktraces' must
    only be set once
    This suggests that it is already set somewhere, but I can't
    find it in the configuration files or in any gui option settings. I
    would really like to get line numbers in the stack traces and by
    default they don't seem to be turned on. Any ideas on how to fix
    this?

    I think your facing this problem for standalone FLEX application & for projects in workspace, Flex compiler is getting compiling information from
    ..\Program Files\Adobe\Flex Builder 3 Plug-in\sdks\2.0.1\frameworks\flex-config.xml for such projects.
    & for Web projects it refers project\WEB-INF\flex\flex-config.xml
    You can try to modify setting in this file. Hope this will work for you.
    Thanks.

  • Why does Exception.StackTrace disappear?

    I'm attempting to catch unhandled exceptions in my app on windows 8.1
    I've noticed that in my App_UnhandledException handler, that the UnhandledExceptionArgs.Exception.StackTrace is valid on entry.
    However, I take the same Exception object, and pass it to a function, and the value mysteriously becomes null.
    As a workaround, I capture the stack trace into a string variable before any other operations on the exception object, but I don't understand why this should be necessary.
    Anthony Wieser | Wieser Software Ltd |
    www.wieser-software.com

    For some reason, it seems the getter of the 'Exception' property of the 'UnhandledExceptionEventArgs' returns the original exception the first time (I've checked, it's the exact same reference), and creates a new exception the subsequent times. I don't know
    where this behavior comes from, but instead of saving the stacktrace you should keep a reference to the whole exception:
    var exception = e.Exception;
    // Now inspect exception instead of e.Exception

  • How i can print the Stacktrace

    hii..
    i want to print the stacktrace for my program below..
    package Langpack;
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    public class LanguageFunctions extends Databaseclass
         public LanguageFunctions()
         super();
         LanguageDetails getDetails(String X)
              LanguageDetails objLanguageDetails=null;
              try
              Statement st=con.createStatement();
              ResultSet result=st.executeQuery("Select languageName From LanguageMast Where           
              languageNo='"+ X +"';");
              objLanguageDetails=new LanguageDetails();
              objLanguageDetails.languageName=result.getString("languageName");
              objLanguageDetails.languageNo=result.getString("languageNo");
              catch(Exception e)
              System.out.println("Cant Get Details");
              return objLanguageDetails;
         LanguageDetails getAllDetails()
              int i=0;
              LanguageDetails vArray[]=null;
              LanguageDetails objLanguageDetails=null;
              try
              Statement st=con.createStatement();
              ResultSet result=st.executeQuery("Select * From LanguageMast;");
              while(result.next())
              objLanguageDetails=new LanguageDetails();          
              objLanguageDetails.languageName=result.getString("languageName");
              objLanguageDetails.languageNo=result.getString("languageNo");
              vArray=objLanguageDetails;
              i++;          
              objLanguageDetails=null;
              catch(Exception e){
              System.out.println("Cant Get All the Details");
              return objLanguageDetails;
         boolean saveDetails(Vector X)
              LanguageDetails objLanguageDetails=null;
              Vector objVector=null;
              objVector=X;     
              String vlanguageName;
              String vlanguageNo;
              try
                   objLanguageDetails=new LanguageDetails();
                   objLanguageDetails=(LanguageDetails)objVector.elementAt(0);
                   vlanguageName=objLanguageDetails.languageName;
                   vlanguageNo=objLanguageDetails.languageNo;
                   Statement st=con.createStatement();          
    ResultSet rls=st.executeQuery("SELECT * FROM LanguageMast WHERE languageNo='"+vlanguageNo +"'");
                   if (rls.getRow()==0)
                   rls.moveToInsertRow();
                   rls.updateString(vlanguageName,"languageName");
                   rls.updateString(vlanguageNo,"languageNo");
                   rls.insertRow();
                   else
                   rls.updateString(vlanguageName,"languageName");
                   rls.updateRow();     
                   return false;               
              catch(Exception e)
              System.out.println("Cant SAVE the Details");
              return true;          
         public static void main(String as[])
              Vector Y=new Vector();
              LanguageFunctions.saveDetails(Y);
    so tell me..what is the solution for this and hw do i get the Stack trace..waiting for ur replies
    Take care.
    Rahul.

    Do you want to print the stack trace of the exception being thrown?
    Use: Throwable.printStackTrace()

  • Where is the exception stacktrace - weblogic.webservice.core.handler.Invoke

    Hi, I am debugging a Web Service. It sometimes throws an exception while deserializing the input. But when I look through the log all I see is:
    ####<Jul 27, 2010 9:20:43 AM EDT> <Info> <WebService> <myhost.net> <prodServer114> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1280236843573> <BEA-220024> <Handler weblogic.webservice.core.handler.InvokeHandler threw an exception from its handleRequest method. The exception was:
    java.lang.NumberFormatException: For input string: "".>
    How do I make weblogic spit out the exception stacktrace?
    I am using Weblogic 9.2.
    Thanks in advance!

    Hi, I am debugging a Web Service. It sometimes throws an exception while deserializing the input. But when I look through the log all I see is:
    ####<Jul 27, 2010 9:20:43 AM EDT> <Info> <WebService> <myhost.net> <prodServer114> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1280236843573> <BEA-220024> <Handler weblogic.webservice.core.handler.InvokeHandler threw an exception from its handleRequest method. The exception was:
    java.lang.NumberFormatException: For input string: "".>
    How do I make weblogic spit out the exception stacktrace?
    I am using Weblogic 9.2.
    Thanks in advance!

Maybe you are looking for