QueueConnectionFactory lookup: no valid constructor

Hi,
I have a peculiar problem, least i think so..anyway,..i have my application deployed to a Weblogic 7 Sp7 server. The server has two managed servers clustered together. The application is deployed to the cluster.
Very recently for some optimization purposes it was required to move a certain part of the functionality of the application to use JMS.
The Problem:when the application tries to look up the connection factory to subsequently make session, send message etc., this lookup for the connection factory fails. The peculiar part is that this happens only on one of the servers and not on the other, it consistently occurs only on this server and not the other, on the other it works fine,..the application is using distributed destinations to which the messages are being sent. the members of the distributed destinations are the two queues one for Server1 and other for Server2.:
The exact exception that is being thrown is as below, Please let me know if anyone has a solution for this,
Many Thanks in advance.
javax.naming.NamingException Root exception is java.rmi.RemoteException: weblogic.rmi.internal.LocalServerRef; no valid constructor
at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:91)
at weblogic.jndi.internal.WLContextImpl.translateException(WLContextImpl.java:411)
at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:262)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:357)
at javax.naming.InitialContext.lookup(InitialContext.java:347)

I am also getting the following exception:
<javax.naming.NamingException [Root exception is java.rmi.RemoteException: weblogic.jms.frontend.FEConnecti
onFactory]>
Can anyone pls. help?

Similar Messages

  • QueueConnectionFactory lookup error

    Hi, any idea for this lookup error?
              private InitialContext getProps() throws IOException, NamingException {
                        Properties props = new Properties();
                        InputStream in = getClass().getResourceAsStream("jndi.properties");
                        if (in != null) {
                             props.load(in);
                        String url = props.getProperty("java.naming.provider.url","t3://10.1.2.100:7001");
                        String initial = props.getProperty("java.naming.factory.initial","weblogic.jndi.WLInitialContextFactory");
                        CONNECTION_FACTORY=props.getProperty("CONNECTION_FACTORY","javax.jms.QueueConnectionFactory");
                        QUEUE_NAME = props.getProperty("QUEUE_NAME","CacheUpdateQueue");
                        Properties icProps = new Properties();
                        icProps.put(Context.INITIAL_CONTEXT_FACTORY, initial);
                        icProps.put(Context.PROVIDER_URL, url);
                        System.out.println("url="+url+initial+QUEUE_NAME+CONNECTION_FACTORY);
                        InitialContext m_ic = new InitialContext(icProps);
                        return m_ic;
                   public static QueueSession getMessageSession()
                             throws javax.naming.NamingException, Exception {
                        if (messageSession == null) {
                             InitialContext ctx=null;
                             try {
                                  ctx = getInstance().getProps();
                                  // Lookup a JMS connection factory
                                  System.out.println(CONNECTION_FACTORY);
                                  conFactory = (QueueConnectionFactory) ctx
                                            .lookup(CONNECTION_FACTORY);//(JmsServiceLocator.java:123 error raise here)
                                  // Create a JMS connection
                                  connection = conFactory.createQueueConnection();
                                  // Create a JMS session object
                                  messageSession = connection.createQueueSession(false,
                                            Session.AUTO_ACKNOWLEDGE);
                             } finally {
                                  if (ctx!=null)
                                       ctx.close();
                        return messageSession;
              java.lang.reflect.InvocationTargetException
                   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
                   at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
                   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
                   at java.lang.reflect.Constructor.newInstance(Unknown Source)
                   at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:714)
                   at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:699)
                   at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:76)
                   at weblogic.rmi.utils.io.RemoteObjectReplacer.resolveObject(RemoteObjectReplacer.java:222)
                   at weblogic.rmi.internal.StubInfo.readResolve(StubInfo.java:142)
                   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                   at java.lang.reflect.Method.invoke(Unknown Source)
                   at java.io.ObjectStreamClass.invokeReadResolve(Unknown Source)
                   at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
                   at java.io.ObjectInputStream.readObject0(Unknown Source)
                   at java.io.ObjectInputStream.readObject(Unknown Source)
                   at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:111)
                   at weblogic.jms.client.JMSConnectionFactory.readExternal(JMSConnectionFactory.java:220)
                   at weblogic.jms.client.JMSXAConnectionFactory.readExternal(JMSXAConnectionFactory.java:108)
                   at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:102)
                   at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:95)
                   at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:56)
                   at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:159)
                   at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:285)
                   at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:244)
                   at weblogic.jndi.internal.ServerNamingNode_WLStub.lookup(Unknown Source)
                   at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:337)
                   at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:332)
                   at javax.naming.InitialContext.lookup(Unknown Source)
                   at com.netsboss.marsrover.util.JmsServiceLocator.getMessageSession(JmsServiceLocator.java:123)
                   at com.netsboss.marsrover.biz.flightcache.CacheUpdateFacade.updateCache(CacheUpdateFacade.java:48)
                   at TestFlightCacheUpdateFacade.testFlightCacheUpdate(TestFlightCacheUpdateFacade.java:14)
                   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                   at java.lang.reflect.Method.invoke(Unknown Source)
                   at junit.framework.TestCase.runTest(TestCase.java:154)
                   at junit.framework.TestCase.runBare(TestCase.java:127)
                   at junit.framework.TestResult$1.protect(TestResult.java:106)
                   at junit.framework.TestResult.runProtected(TestResult.java:124)
                   at junit.framework.TestResult.run(TestResult.java:109)
                   at junit.framework.TestCase.run(TestCase.java:118)
                   at junit.framework.TestSuite.runTest(TestSuite.java:208)
                   at junit.framework.TestSuite.run(TestSuite.java:203)
                   at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:410)
                   at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:294)
                   at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:182)
              Caused by: java.lang.NoSuchMethodError: weblogic.rmi.utils.Utilities.getRemoteRMIMethods([Ljava/lang/Class;)[Ljava/lang/reflect/Method;
                   at weblogic.jms.frontend.FEConnectionFactory_811_WLStub.ensureInitialized(Unknown Source)
                   at weblogic.jms.frontend.FEConnectionFactory_811_WLStub.<init>(Unknown Source)
                   ... 48 more
              --------------- nested within: ------------------
              weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Failed to generate class for weblogic.jms.frontend.FEConnectionFactory_811_WLStub ] - with nested exception:
              [java.lang.reflect.InvocationTargetException - with target exception:
              [java.lang.NoSuchMethodError: weblogic.rmi.utils.Utilities.getRemoteRMIMethods([Ljava/lang/Class;)[Ljava/lang/reflect/Method;]]
                   at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:716)
                   at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:699)
                   at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:76)
                   at weblogic.rmi.utils.io.RemoteObjectReplacer.resolveObject(RemoteObjectReplacer.java:222)
                   at weblogic.rmi.internal.StubInfo.readResolve(StubInfo.java:142)
                   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                   at java.lang.reflect.Method.invoke(Unknown Source)
                   at java.io.ObjectStreamClass.invokeReadResolve(Unknown Source)
                   at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
                   at java.io.ObjectInputStream.readObject0(Unknown Source)
                   at java.io.ObjectInputStream.readObject(Unknown Source)
                   at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:111)
                   at weblogic.jms.client.JMSConnectionFactory.readExternal(JMSConnectionFactory.java:220)
                   at weblogic.jms.client.JMSXAConnectionFactory.readExternal(JMSXAConnectionFactory.java:108)
                   at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:102)
                   at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:95)
                   at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:56)
                   at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:159)
                   at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:285)
                   at weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java:244)
                   at weblogic.jndi.internal.ServerNamingNode_WLStub.lookup(Unknown Source)
                   at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:337)
                   at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:332)
                   at javax.naming.InitialContext.lookup(Unknown Source)
                   at com.netsboss.marsrover.util.JmsServiceLocator.getMessageSession(JmsServiceLocator.java:123)

    Some questions:
              What is the version and SP of the server? The client?
              Is the client running in an applet?
              What is the value of "initial" below?

  • Lookup View Validation Refresh

    Hello,
    I have a view defined with Trinidad components only. There I use the follwoing:
    <tr:selectOneChoice label="Label 1" binding="#{homePageBean.selectOneChoiceRubrikIs1}"
    id="s1" immediate="true"
    autoSubmit="true"
    valueChangeListener="#{homePageBean.selectOneChoiceRubrikIs1VL}">
    <tr:selectItem label="Choose" />
    <tr:selectItem label="Big 5" value="1"
    binding="#{homePageBean.selectItemCategoryIs1}"/>
    </tr:selectOneChoice>
    Within the managed bean in the method 'selectOneChoiceRubrikIs1VL' I lookup a view using some binding variables.
    In the log I see the following during the first element will be read.
    <DCBindingContainer> <validateInputValues> [1239] DCBindingContainer:oracle_fodemo_storefront_indexPageDef no validations performed
    <ADFLogger> <begin> Refreshing binding container
    <DCBindingContainer> <internalRefreshControl> [1240] **** refreshControl() for BindingContainer :oracle_fodemo_storefront_indexPageDef
    <ADFLogger> <end> Refreshing binding container
    The content for the first element is null. Then the next element will be read. I never get the first one.
    I use JDeveloper 11.1.2.0.0.
    How can I avoid this behaviour.
    Any help will be greatly appreciated. Thanks in advance.
    Best regards
    Martin

    Hi,
    What is the purpose of bindings of <tr:selectItem label="Big 5" value="2" binding="#{homePageBean.selectItemCategoryIs1}"/> can you try this
    <tr:selectOneChoice label="Label 1" binding="#{homePageBean.selectOneChoiceRubrikIs1}"
    id="s1" immediate="true"
    autoSubmit="true"
    valueChangeListener="#{homePageBean.selectOneChoiceRubrikIs1VL}">
    <tr:selectItem label="Choose" value="1"/>
    <tr:selectItem label="Big 5" value="2" >
    </tr:selectOneChoice>Please share source code in Bean

  • Multivalued lookup field validation not working

    Hi Experts ,
    I have a scenario where one of my table is looking to a multivalued look up table .
    I have placed a validation on the main table , which works fine if the first value is selected properly , but if i select a wrong record (which should fail according to the vlidation ) it does not fail .
    Eg : For a multivalued field first value i have slected as "TRUE" (which is correct ) - No validation error (as expected)
    again if i seltect another value "FALSE" (WHICH IS WRONG) - No validation error ( Not as expected)
    on the other hand if i select the wrong value in the first attampt the validation fails (which is as expected) .
    Please let me know what has to be done .
    Regards,
    Vignesh

    Hi,
    Can you please explain in details whats your requirement is?
    Many thanks
    Regards,
    Kiran

  • Validations in Adobe Form

    hello all,
            i am writing some validations in adobe form .I am not very comfortable with adobe forms but i have to work on.
    validation 1:  field 'NAME' ( type is free text )should support 'several entries'.
    validation 2:  field 'NAME' ( type is lookup)  and validation is ' LOOKUP vs SAP XX TRADER (another field).
    validation 3: field 'PHONE' (type is numeric) and validation is 'DEFAULT BASED ON VALUE IN TRADER LOOKUP'
    if any one have sample code please share..
    Thank you in advance,
    Prakash .S

    Hi Prakash,
    Please download the following PDF file and go through the File, it shows the Difference between Formula Calculations and Java Script Calculations with some of the Examples and the functions which we should use in the Formula Calculations and in Java Script.
    Hope this will help you.
    http://www.adobe.com/devnet/livecycle/articles/lc_designer_scripting_basics/lc_designer_scripting_basics.pdf
    Thanks & Regards,
    Adi.

  • RMI - Serializing Object with the right constructor..?

    Hello, I am trying to usr RMI to send an object that I serialized but I have further porblems than that. The Object that I am using is called FileLineReader and it Extends Buffered Reader. SInce Buffered Reader is not Serializable, I implemented Serializable within FileLineReader, so that I can send it through the RMI.
    package musr.client.dbreader;
    import java.io.*;
    public class FileLineReader extends BufferedReader
              implements LineReader, java.io.Serializable {
    String pattern; // The string we are going to be matching.
    * Constructor
    * Passes the stream to our superclass
    public FileLineReader(Reader in) { super(in); }
    * This is the filter: call our superclass's readLine() to get the
    * actual lines, but only return lines that contain the pattern.
    * When the superclass readLine() returns null (EOF), we return null.
    public String matchLine(String pattern) throws IOException {
    String line;
    do { line = super.readLine(); }
    while ((line != null) && line.indexOf(pattern) == -1);
    return line;
    When I use this object to send it through RMI to the Server,
    (FileLineReader)inFile = (FileLineReader) obj.senddbFile(openFileTextField1.getText(),openFileTextField2.getText());
    I get an exception:
    GUI_RMI exception, error unmarshalling return; nested exception is: java.io.InvalidClassException: musr.client.dbreader.FileLineReader; no valid constructor.
    I am not sure what the problem is and I have been struggling with it for a while now. The constructor of BufferedReader takes one argument in so I have to pass FileLineReader an argument when I construct it. I think the RMI needs a constructor that takes no arguments and that causes problems. Is that true? In that case, I can't extend my class with BufferedReader.
    Or maybe the problem is somthing quite different. Anyone has any suggestions or comments, I'd appreciate help. Thanks Ivan

    You will have to create your own stream. (RMI is just a way to call reemote methods; it knows nothing about files or I/O.)
    1. You need a RemoteReader. This object should probably have 3 or so methods:
    Open(filename) Opens the file
    read reads a block from the file and returns it as a byte array.
    close()
    2. You need a RemoteInputStream object.
    o Instantiated on the client.
    o Makes calls to the RemoteReader.
    o Has some read methods and a close method.
    o Implements InputStream.
    With these two objects, you have enough underpinnings top - for example - wrap the RemoteINputStream in a BufferedReader or whatever you need.

  • Lookups on UDFs

    We have added some UDFs to Business One (2005 SP01) which we have supporting UDTs for, and the UDFs are used on Document Lines for various document types including POs and AP Invoices.
    We would like to provide lookups and validations on these UDFs.  One complication is that the list of valid values is conditional on other values on the line, and so may be different from line to line.
    One option is combo boxes which would be tidy, but there seems to be no way to change the UDFs to be combo box type fields.
    The other option is to create a ChooseFromList object.  Is there a good code sample available that illustrates the techniques involved:
    - creating a Choose From List on a UDF
    - populating it based on particular conditions
    - return the selected vale to the originating control
    We would be grateful for any help on this.

    - validations on UDF: you can add valid values or you can
    do this from UI by catching the VALIDATE event and attach
    your validation logic to this event. ComboBox looks the
    cleanest way of doing it, you could visualize your UDFs
    as combos too
    - CFL: there is documentation on the e-learning material
    available here on SDN and samples too available

  • UserTransaction -  Scope using JNDI lookup from jspInit() method

    Howdy,
    I'm using JSP's with JavaBeans accessing a DataSource and some other enviroment variables using JNDI lookups. I've read that JNDI lookups can take a fair amount of time and should be limited whenever possible. My previous configuration had the JNDI lookups inside the constructors of the JavaBeans but I've recently decided to move them to the jspInit() method of the calling JSP. This way the lookup only needs to be performed once and then I pass the values to the JavaBean in a method called setContextVariables. Two of the references to objects that i'm sending are the UserTransaction and DataSource objects. Within the Javabeans I have userTran.begin() and commit() statements. So far it's running great but i'm starting to wonder about the thread safety of this method. My question lies in the actual delagation of the UserTransaction object to the calling client method. It seems that i'm passing the same transaction to every Javabean (or am I?) Is the transaction actually issued when the begin() method is called, or at the time of the JNDI lookup? To test everything out, I opened two sessions and put a breakpoint inside one of the transactions. When I stopped at the breakpoint I ran another thread (also using a transaction retrieved from the same JSP). Then I went back and resumed the first thread and everything seemed to work ok. So... this seems completely fantabulastic so far (definitely noticable response time increases) but I'm still a little skeptical. If anyone is using a process similar to this I would appreciate some feedback. Thanks.

    Hi,
    The EJB bean will use the client transaction when the following attributes are specified in descriptor.
    1) Required
    2) Mandatory
    3) Supports
    In Required case, if the client is associated with Transaction, then the EJB bean will use the same transaction. This is achieved by Transaction context. The EJB bean will use the same transaction context set by client. if the client doesn't have any transaction, then the container will create new transaction context for EJB bean and completes the transaction.
    In Mandatory case, the client must be associated with Transaction so that EJB bean will use the same transaction. If the client doesn't associate with transaction, then container will throw TransactionRequiredException for EJB bean.
    In Supports case, it works similar to Required case except that if the client doesn't associate with transaction, then there won't be any transaction in EJB bean.
    hope this helps.

  • DomU hangs with 'xenstoreprovider.so not valid' error

    I have an OL5.8 system image template, with LVM type that I am trying to deploy in OVM 3.0.3. It would hang on boot up, with the console message stuck at the line below.
    $ xm create -c vm.cfg
    drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
    Initalizing network drop monitor service
    Freeing unused kernel memory: 1708k freed
    Write protecting the kernel read-only data: 6656k
    ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    uhci_hcd: USB Universal Host Controller Interface driver
    blkfront: xvda: barriers enabled (tag)
    xvda: xvda1 xvda2
    blkfront: xvdb: barriers enabled (tag)
    xvdb: xvdb1
    blkfront: xvdc: barriers enabled (tag)
    xvdc: xvdc1
    kjournald starting. Commit interval 5 seconds
    EXT3-fs: mounted filesystem with ordered data mode.
    SELinux: Disabled at runtime.
    type=1404 audit(1336130737.122:2): selinux=0 auid=4294967295 ses=4294967295
    (hang here)
    I mounted the image and examined it, and found that /var/log/messages is filled with the following lines.
    May 4 04:29:09 localhost OVMAPI: Provider /usr/libexec/ovmapi/x86_64/xenstoreprovider.so not valid (Constructor missing) - Ignoring provider
    May 4 04:29:14 localhost vmapi: Provider /usr/libexec/ovmapi/x86_64/xenstoreprovider.so not valid (Constructor missing) - Ignoring provider
    May 4 04:29:14 localhost OVMAPI: Provider /usr/libexec/ovmapi/x86_64/xenstoreprovider.so not valid (Constructor missing) - Ignoring provider
    May 4 04:29:19 localhost vmapi: Provider /usr/libexec/ovmapi/x86_64/xenstoreprovider.so not valid (Constructor missing) - Ignoring provider
    May 4 04:29:19 localhost OVMAPI: Provider /usr/libexec/ovmapi/x86_64/xenstoreprovider.so not valid (Constructor missing) - Ignoring provider
    Any idea what is going on? Its kernel is vmlinuz-2.6.32-100.34.1.el5uek.
    Thanks for any help.

    This appears to have been caused by lack of ovmapi and ovmapi-devel RPMs on the image.

  • [svn] 4264: Feature: Validation API

    Revision: 4264
    Author: [email protected]
    Date: 2008-12-09 08:20:33 -0800 (Tue, 09 Dec 2008)
    Log Message:
    Feature: Validation API
    QA: Yes
    Doc: Yes
    Checkintests: Pass
    Details:
    -Moved validateCreation and validateAssignment methods from ClassUtil to AbstractProxy.
    -Added deserialization validator to SerializationContext. This enables us to lookup for deserialization validator once when the endpoint starts up and avoid further lookups for validator.
    -Removed for special casing for java.* and javax.* packages in ClassDeserializationValidator as java classes are allowed by default now by deserialization code.
    Modified Paths:
    blazeds/trunk/modules/core/src/flex/messaging/endpoints/AbstractEndpoint.java
    blazeds/trunk/modules/core/src/flex/messaging/io/AbstractProxy.java
    blazeds/trunk/modules/core/src/flex/messaging/io/BeanProxy.java
    blazeds/trunk/modules/core/src/flex/messaging/io/MapProxy.java
    blazeds/trunk/modules/core/src/flex/messaging/io/SerializationContext.java
    blazeds/trunk/modules/core/src/flex/messaging/io/amf/AbstractAmfInput.java
    blazeds/trunk/modules/core/src/flex/messaging/io/amf/Amf0Input.java
    blazeds/trunk/modules/core/src/flex/messaging/io/amf/Amf3Input.java
    blazeds/trunk/modules/core/src/flex/messaging/io/amfx/AmfxInput.java
    blazeds/trunk/modules/core/src/flex/messaging/util/ClassUtil.java
    blazeds/trunk/modules/core/src/flex/messaging/validators/ClassDeserializationValidator.ja va
    blazeds/trunk/qa/apps/qa-regress/WEB-INF/src/remoting/datatype/EnumProxy.java

    imho i don´t think FB4.5 had SVN installed - would be nice!
    I just updated my FB4.6 prerelease to the release version and installed subclipse 1.6 via "install new software"....seems to work!
    Did you uninstall FB before updating?

  • Coherence Deserialization issue

    HI,
    I am facing an issue whilst deserializing an attribute form the Coherence session. Please find the stack trace below:
    Caused by: java.io.InvalidClassException: weblogic.servlet.internal.session.CoherenceWebSessionData; weblogic.servlet.internal.session.CoherenceWebSessionData; no valid constructor
    at java.io.ObjectStreamClass.checkDeserialize(ObjectStreamClass.java:713)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
    at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
    at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
    at java.util.HashMap.readObject(HashMap.java:1220)
    at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1848)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
    at com.tangosol.util.ExternalizableHelper.readSerializable(ExternalizableHelper.java:2217)
    at com.tangosol.util.ExternalizableHelper.readObjectInternal(ExternalizableHelper.java:2348)
    at com.tangosol.util.ExternalizableHelper.deserializeInternal(ExternalizableHelper.java:2746)
    at com.tangosol.util.ExternalizableHelper.fromBinary(ExternalizableHelper.java:262)
    ... 52 more
    Caused by: java.io.InvalidClassException: weblogic.servlet.internal.session.CoherenceWebSessionData; no valid constructor
    at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:471)
    at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:310)
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1114)
    at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
    at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
    at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
    at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
    at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
    at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
    at java.util.HashMap.writeObject(HashMap.java:1188)
    at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
    at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1469)
    at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1400)
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1158)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
    at com.tangosol.util.ExternalizableHelper.writeSerializable(ExternalizableHelper.java:2253)
    at com.tangosol.util.ExternalizableHelper.writeObjectInternal(ExternalizableHelper.java:2671)
    at com.tangosol.util.ExternalizableHelper.serializeInternal(ExternalizableHelper.java:2601)
    at com.tangosol.util.ExternalizableHelper.toBinary(ExternalizableHelper.java:211)
    at com.tangosol.coherence.servlet.OptimizedHolder.serializeValue(OptimizedHolder.java:216)
    at com.tangosol.coherence.servlet.OptimizedHolder.getBinary(OptimizedHolder.java:120)
    at com.tangosol.coherence.servlet.OptimizedHolder.prepareWrite(OptimizedHolder.java:247)
    at com.tangosol.coherence.servlet.SplittableHolder.prepareWrite(SplittableHolder.java:310)
    at com.tangosol.coherence.servlet.AttributeHolder.flush(AttributeHolder.java:242)
    at com.tangosol.coherence.servlet.SplittableHolder.flush(SplittableHolder.java:108)
    at com.tangosol.coherence.servlet.AbstractHttpSessionModel.flush(AbstractHttpSessionModel.java:1620)
    at com.tangosol.coherence.servlet.SplitHttpSessionModel.flush(SplitHttpSessionModel.java:104)
    at com.tangosol.coherence.servlet.AbstractHttpSessionCollection.exit(AbstractHttpSessionCollection.java:733)
    at com.tangosol.coherence.servlet.AbstractHttpSessionCollection.exit(AbstractHttpSessionCollection.java:696)
    at weblogic.servlet.internal.session.CoherenceWebSessionContextImpl.exitSession(CoherenceWebSessionContextImpl.java:498)
    at weblogic.servlet.internal.session.CoherenceWebSessionContextImpl.sync(CoherenceWebSessionContextImpl.java:530)
    at weblogic.servlet.internal.ServletRequestImpl$SessionHelper.syncSession(ServletRequestImpl.java:2860)
    at weblogic.servlet.internal.ServletRequestImpl$SessionHelper.syncSession(ServletRequestImpl.java:2835)
    at weblogic.servlet.internal.ServletResponseImpl$1.run(ServletResponseImpl.java:1485)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.ServletResponseImpl.send(ServletResponseImpl.java:1479)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1462)
    I have been looking at the code to find the the parent-child class that may be written to the session abd the potential no-args constructor missed out from any non-serializable class, but it all looks well ok so far. I need help to identify whether this could be a tangosol coherence issue, or whether this could be avoided by tweaking some configurations..
    Further details on Coherence configurations:
    Version: 3.7.1.6
    Collection class: com.tangosol.coherence.servlet.SplitHttpSessionCollection
    Session-cache-config:
    <?xml version="1.0"?>
    <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
    <!-- -->
    <!-- Cache configuration descriptor for Coherence*Web -->
    <!-- -->
    <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->      
    <cache-config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns="http://xmlns.oracle.com/coherence/coherence-cache-config"
    xsi:schemaLocation="http://xmlns.oracle.com/coherence/coherence-cache-config coherence-cache-config.xsd">
    <caching-scheme-mapping>
    <!--
    The clustered cache used to store Session management data.
    -->
    <cache-mapping>
    <cache-name>session-management</cache-name>
    <scheme-name>replicated</scheme-name>
    </cache-mapping>
    <!--
    The clustered cache used to store ServletContext attributes.
    -->
    <cache-mapping>
    <cache-name>servletcontext-storage</cache-name>
    <scheme-name>replicated</scheme-name>
    </cache-mapping>
    <!--
    The clustered cache used to store Session attributes.
    -->
    <cache-mapping>
    <cache-name>session-storage</cache-name>
    <scheme-name>session-near</scheme-name>
    </cache-mapping>
    <!--
    The clustered cache used to store the "overflowing" (split-out due to size)
    Session attributes. Only used for the "Split" model.
    -->
    <cache-mapping>
    <cache-name>session-overflow</cache-name>
    <scheme-name>session-distributed</scheme-name>
    </cache-mapping>
    <!--
    The clustered cache used to store IDs of "recently departed" Sessions.
    -->
    <cache-mapping>
    <cache-name>session-death-certificates</cache-name>
    <scheme-name>session-certificate</scheme-name>
    </cache-mapping>
    <!--
    The local cache used to store Sessions that are not yet distributed (if
    there is a distribution controller).
    -->
    <cache-mapping>
    <cache-name>local-session-storage</cache-name>
    <scheme-name>unlimited-local</scheme-name>
    </cache-mapping>
    <!--
    The local cache used to store Session attributes that are not distributed
    (if there is a distribution controller or attributes are allowed to become
    local when serialization fails).
    -->
    <cache-mapping>
    <cache-name>local-attribute-storage</cache-name>
    <scheme-name>unlimited-local</scheme-name>
    </cache-mapping>
    </caching-scheme-mapping>
    <caching-schemes>
    <!--
    Replicated caching scheme used by the Session management and ServletContext
    attribute caches.
    -->
    <replicated-scheme>
    <scheme-name>replicated</scheme-name>
    <service-name>ReplicatedSessionsMisc</service-name>
    <request-timeout>30s</request-timeout>
    <backing-map-scheme>
    <local-scheme>
    <scheme-ref>unlimited-local</scheme-ref>
    </local-scheme>
    </backing-map-scheme>
    <autostart>true</autostart>
    </replicated-scheme>
    <!--
    Near caching scheme used by the Session attribute cache. The front cache
    uses a Local caching scheme and the back cache uses a Distributed caching
    scheme.
    -->
    <near-scheme>
    <scheme-name>session-near</scheme-name>
    <front-scheme>
    <local-scheme>
    <scheme-ref>session-front</scheme-ref>
    </local-scheme>
    </front-scheme>
    <back-scheme>
    <distributed-scheme>
    <scheme-ref>session-distributed</scheme-ref>
    </distributed-scheme>
    </back-scheme>
    <invalidation-strategy>all</invalidation-strategy>
    </near-scheme>
    <local-scheme>
    <scheme-name>session-front</scheme-name>
    <eviction-policy>HYBRID</eviction-policy>
    <high-units>200000</high-units>
    <low-units>150000</low-units>
    </local-scheme>
    <distributed-scheme>
    <scheme-name>session-distributed</scheme-name>
    <scheme-ref>session-base</scheme-ref>
    <backing-map-scheme>
    <local-scheme>
    <scheme-ref>unlimited-local</scheme-ref>
    </local-scheme>
    <!-- for disk overflow use this backing scheme instead:
    <overflow-scheme>
    <scheme-ref>session-paging</scheme-ref>
    </overflow-scheme>
    -->
    </backing-map-scheme>
    </distributed-scheme>
    <!--
    Distributed caching scheme used by the "recently departed" Session cache.
    -->
    <distributed-scheme>
    <scheme-name>session-certificate</scheme-name>
    <scheme-ref>session-base</scheme-ref>
    <backing-map-scheme>
    <local-scheme>
    <eviction-policy>HYBRID</eviction-policy>
    <high-units>4000</high-units>
    <low-units>3000</low-units>
    <expiry-delay>86400</expiry-delay>
    </local-scheme>
    </backing-map-scheme>
    </distributed-scheme>
    <!--
    "Base" Distributed caching scheme that defines common configuration.
    -->
    <distributed-scheme>
    <scheme-name>session-base</scheme-name>
    <service-name>DistributedSessions</service-name>
    <thread-count>0</thread-count>
    <lease-granularity>member</lease-granularity>
    <local-storage system-property="tangosol.coherence.session.localstorage">true</local-storage>
    <partition-count>257</partition-count>
    <backup-count>1</backup-count>
    <backup-storage>
    <type>on-heap</type>
    </backup-storage>
    <request-timeout>30s</request-timeout>
    <backing-map-scheme>
    <local-scheme>
    <scheme-ref>unlimited-local</scheme-ref>
    </local-scheme>
    </backing-map-scheme>
    <autostart>true</autostart>
    </distributed-scheme>
    <!--
    Disk-based Session attribute overflow caching scheme.
    -->
    <overflow-scheme>
    <scheme-name>session-paging</scheme-name>
    <front-scheme>
    <local-scheme>
    <scheme-ref>session-front</scheme-ref>
    </local-scheme>
    </front-scheme>
    <back-scheme>
    <external-scheme>
    <bdb-store-manager/>
    </external-scheme>
    </back-scheme>
    </overflow-scheme>
    <!--
    Local caching scheme definition used by all caches that do not require an
    eviction policy.
    -->
    <local-scheme>
    <scheme-name>unlimited-local</scheme-name>
    <service-name>LocalSessionCache</service-name>
    </local-scheme>
    <!--
    Clustered invocation service that manages sticky session ownership.
    -->
    <invocation-scheme>
    <service-name>SessionOwnership</service-name>
    <request-timeout>30s</request-timeout>
    </invocation-scheme>
    </caching-schemes>
    </cache-config>

    Hi,
    This appears to be a classloader issue. It is doubtful that something in your cache configuration could fix this. If you need further assistance I suggest filing a request with Oracle support.
    Hope this helps,
    Patrick

  • Trying to serialize inner class and getting various errors.

    Hi, I'm working on a program that contains the inner class User. user implements serializable, and writes just fine. For some strange reason, though, after I read it, I keep getting NullPointerExceptions in my code.
    I also tried it using externalization. The User class is essentially built around a HashMap. I have the following methods:
    public void writeExternal(ObjectOutput out) throws IOException {
    out.writeObject(mainMap);
    public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
    mainMap = (Map) in.readObject();
    String test = (String) in.readObject();
    Whenever inputstream.readObject() is called, though, I get an InvalidClassException; "no valid constructor." The sad part is that I have the method:
    public User () {
    main = new HashMap();
    Does anyone know what the problem is??? Thanks a lot!

    Does anyone know what the problem is???The inner class is not a static inner class. Therefore your constructor User, is actually User(OuterClass). Solution - make the class static OR use read and/or write resolution to reconstruct the relationship.

  • Calling new Object not working... (or whatever it is, hard to understand)

    Hi,
    I got 2 classes, one is creating an object referring to the other, however, it doesn't seem to work...
    I got this:
    Screen s = new Screen();Which should call public void Screen() in a class named Screen, right? Well... it doesn't...
    This is the Screen void in the Screen class:
        public void Screen() {
            System.out.println("screen called");
            GraphicsEnvironment env = GraphicsEnvironment.getLocalGraphicsEnvironment();
            System.out.println("vc setting");
            vc = env.getDefaultScreenDevice();
            System.out.println("vc set");
        }Please help me out! I'm getting a NullPointerException after a while and that is caused by Screen not being used...
    Thanks

    Just to elaborate, a valid constructor MUST have the same name (case sensitive) as the class and have no (different from void) return type. IOW, void as a return type is still a return type. So you can call the method 'void ClassXXX', but it is not a constructor, and you'd need to have an instance of THAT class in order to call the method ... unless the method was static, but I won't go there for now.
    Oh, okay I see you got it.
    Edited by: abillconsl on Jan 8, 2010 8:54 PM

  • Batch processor design

    Hi my question is there a good resource to see how batch-processing design ( e.g. existing app, case-study...etc)
    So how we can implemented a rule-based implementation in set-logic?
    I work at this company that the main processing is batch-data-processing in nature.
    It receives some file feed, and than some business logic processing and then pass it to another company's program to do the fulfillment.
    When the main app is designed 8 years ago, the architect sees what kind of features it needs.
    It is implemented in oracle. It uses a rule base engine to do this processing row-by-row.
    It uses a set of dynamic-sql to implement every business rule. So if there are 10 rules, than every record will call a PL/SQL 10 times for that set of dynamic-sql
    It is also heavy triggers for business logic so there is some-kind of locking package got implemented so when the batch processing is done. It will not got dead-locked.
    So when I have the interview my boss says it is a OLTP machine and in a way it is true as it is designed work in a way row-by-row like OLTP even it is batch-processing in nature
    My other co-worker and I both agree that it is a very sub-optimal design as it is not set-based operation even by nature it is.
    I can see some good-things about have mulitiple-sql is similar to the object-design of extending. If one SQL-RULE is good than to build on top of that, we can just insert new dynamic-sql into the table and do the processing. The draw back is the performance is pretty sub-optimal.
    Would you all share some experience in this topic?

    >
    Hi my question is there a good resource to see how batch-processing design ( e.g. existing app, case-study...etc)
    >
    Not that I am aware of.
    >
    So how we can implemented a rule-based implementation in set-logic?
    >
    Too general a question to be able to provide much of an answer. Especially given that you may have a very specialized custom implementation of the process being used now.
    Custom implementations usually present several issues for conversion projects (such as replacement with new technologies or functionalities)
    1. The original author/developer is no longer availlable.
    2. The system lacks sufficient documentation.
    3. The business rules being implemented are either not documented at all, poorly documented or the documentation is out of date and no longer matches the code that is actually being used.
    Rule #1 is "if it ain't broke don't fix it'. If you so much at even touch the system you run the risk of breaking it completely, introducing new errors or making things worse.
    {quote}
    The draw back is the performance is pretty sub-optimal.
    {quote}
    So what? See rule #1. Does the current system meet the required service level agreements? Is there functionality needed that isn't currently available?
    1. Determine if change is actually needed - In other words, what is the business reason for even thinking about changing things?
    2. Determine the scope of the change that is needed - are we talking about minor changes or mods? Or major new modules and functionality? Are the current business rules getting the job done and we only need a couple more?
    3. Determine if the required changes can be implemented by modifying the current system. You said 'It receives some file feed, and than some business logic processing and then pass it to another company's program to do the fulfillment'. So if you now need to add another feed for another company and you need pretty much what you have now why switch technologies? Well maybe the volume is 10 times what you have now and the current system can't handle it.
    This would be a good case for doing the new feed as a separate project and use new functionality to do it. You can run it in parallel to get the kinks worked out and, ultimately, convert the existing feed to the new code later.
    4. Determine the level of functionality that the business rules apply to. Data cleansing is often primarily done at the row level so this type of processing is very amenable to 'set' processing. Apply cleansing rule #1 to the entire table, then rule #2 and so on. A serialized 'batch' process rather than apply 10 rules to each row one at a time. Checks for dirty data (invalid nulls, data too long for column, invalid datatypes, etc) can be done in bulk.
    Other functionality requires data from multiple tables: parent/child validation, lookup table validation, lookup code conversions from source values to target values.
    In short you need to have a clear business objective and goals.
    A. Project justification
    B. Functional Requirements document
    C. Technical Requirements document
    B. And then define the project

  • Deployment problem with web service

    I need a help for exposing a stateless session bean into a web service.
    Here I created a stateless session bean and created a JAR file for that bean.
    After that I want to convert it into a web service by using servicegen task.
    I run the build.xml file to perform servicegen task.
    Here I am facing one exception like:
    BUILD FAILED: C:\eclipse\workspace\webService\build.xml:22: weblogic.xml.schema.binding.BindingException: Invalid class received: interface com.b2.ebp.presentation.factory.EbpConfigPresentationWrapper loaded from file:/C:/eclipse/workspace/ebpWeb/ebpWebJar.jar!/com/b2/ebp/presentation/factory/EbpConfigPresentationWrapper.class. All classes that will be serialized or deserialized must be non-interface, non-abstract classes that provide a public default constructor
    This class is there in web project and it is an abstract class. For that web project I created a Jar file and included this JAR file in classpath element of servicegen task in build.xml because I need this web project's classes in bean class. This JAR file contais's all(class,abstract,interface) class files.
    My doubt is we cann't include any abstract class or interface in the bean method which is exposed as a web service? If included please tell me how to include.
    My build.xml file contenta are as follows.....
    <project name="WebServiceStatelessSession" default="ear" basedir=".">
    <property name="source" value="src"/>
    <property name="build" value="build"/>
    <property name="ejb_jar_file" value="../eagleEJB/eagleEJB.jar"/>
    <property name="war_file" value="basic_statelessSession.war"/>
    <property name="ear_file" value="ws_basic_statelessSession.ear"/>
    <property name="client_jar_file" value="eagleEJB_client.jar"/>
    <property name="namespace" value="http://www.bea.com/servers/wls70/samples/examples/webservices/basic/statelessSession"/>
    <taskdef name="servicegen" classname="weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask">
    <classpath path="c:/bea/weblogic81/server/lib/webservices.jar"/>
    <classpath path="c:/bea/weblogic81/server/lib/weblogic.jar"/>
    </taskdef>
    <target name="ear">
    <servicegen
    destear="${ear_file}" warname="${war_file}">
    <service
    ejbjar="${ejb_jar_file}"
    targetnamespace="${namespace}"
    servicename="eagleEJB"
    serviceuri="/eagleEJB"
    generatetypes="True"
    expandmethods="True">
    <client
    saveWSDL="True"
    packageName="examples.webservices.basic.statelessSession"
    clientJarName="${client_jar_file}"
    />
    </service>
    <classpath>
    <pathelement path="${build}"/>
    <pathelement path="c:/bea/weblogic81/server/lib/webservices.jar"/>
    <pathelement path="c:/bea/weblogic81/server/lib/weblogic.jar"/>
    <pathelement path="c:/eclipse/workspace/eagleWeb/WebRoot/WEB-INF/classes"/>
    <pathelement path="c:/j2sdk1.4.2_08/lib"/>
    <pathelement path="c:/j2sdk1.4.2_08/lib/rt.jar"/>
    </classpath>
    </servicegen>
    </target>
    <taskdef name="clientgen" classname="weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask">
    <classpath path="c:/bea/weblogic81/server/lib/webservices.jar"/>
    <classpath path="c:/bea/weblogic81/server/lib/weblogic.jar"/>
    </taskdef>
    <target name="client">
    <property name="wsdlUrl" value="http://localhost:7001/basic_statelessSession/HelloWorldEJB?WSDL"/>
    <clientgen wsdl="${wsdlUrl}"
    packagename="examples.webservices.basic.statelessSession"
    clientjar="${client_jar_file}">
    <classpath>
    <pathelement path="c:/bea/weblogic81/server/lib/webservices.jar"/>
    <pathelement path="c:/bea/weblogic81/server/lib/weblogic.jar"/>
    </classpath>
    </clientgen>
    </target>
    </project>
    and another error I am facing is
    Buildfile: C:\eclipse\workspace\eagle\build.xml
    ear:
    [servicegen] Generating service "eagleEJB" ...
    [servicegen] weblogic.xml.schema.binding.BindingException: unable to determine valid constructor for exception class java.lang.reflect.InvocationTargetException
    [servicegen] at weblogic.ant.taskdefs.webservices.autotype.ComponentAutoTyper.mapComponent(ComponentAutoTyper.java:145)
    [servicegen] at weblogic.ant.taskdefs.webservices.autotype.EJBAutoTyper.run(EJBAutoTyper.java:115)
    [servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.runAutoTyper(ServiceGenTask.java:367)
    [servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.generateService(ServiceGenTask.java:313)
    [servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(ServiceGenTask.java:181)
    [servicegen] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [servicegen] at org.apache.tools.ant.Task.perform(Task.java:364)
    [servicegen] at org.apache.tools.ant.Target.execute(Target.java:341)
    [servicegen] at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [servicegen] at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
    [servicegen] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:379)
    [servicegen] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:135)
    [servicegen] Caused by: weblogic.xml.schema.binding.BindingException: unable to determine valid constructor for exception class java.lang.reflect.InvocationTargetException
    [servicegen] at weblogic.xml.schema.binding.internal.codegen.JavaInspector.addPropertiesToException(JavaInspector.java:323)
    [servicegen] at weblogic.xml.schema.binding.internal.codegen.JavaInspector.fillExceptionDescriptor(JavaInspector.java:251)
    [servicegen] at weblogic.xml.schema.binding.internal.codegen.JavaInspector.fillDescriptor(JavaInspector.java:171)
    [servicegen] at weblogic.xml.schema.binding.internal.codegen.JavaInspector.getDescriptor(JavaInspector.java:139)
    [servicegen] at weblogic.xml.schema.binding.internal.codegen.JavaInspector.createDescriptorForClass(JavaInspector.java:106)
    [servicegen] at weblogic.xml.schema.binding.internal.codegen.Compiler.compile(Compiler.java:106)
    [servicegen] at weblogic.xml.schema.binding.internal.XSDTypeMappingBuilder.mapClass(XSDTypeMappingBuilder.java:89)
    [servicegen] at weblogic.xml.schema.binding.internal.XSDTypeMappingBuilder.mapClass(XSDTypeMappingBuilder.java:102)
    [servicegen] at weblogic.xml.schema.binding.internal.TypeMappingBuilderBase.addMapping(TypeMappingBuilderBase.java:180)
    [servicegen] at weblogic.ant.taskdefs.webservices.autotype.ComponentAutoTyper.addMapping(ComponentAutoTyper.java:88)
    [servicegen] at weblogic.ant.taskdefs.webservices.autotype.ComponentAutoTyper.mapComponent(ComponentAutoTyper.java:141)
    [servicegen] ... 11 more
    [servicegen] --- Nested Exception ---
    [servicegen] weblogic.xml.schema.binding.BindingException: unable to determine valid constructor for exception class java.lang.reflect.InvocationTargetException
    [servicegen] at weblogic.xml.schema.binding.internal.codegen.JavaInspector.addPropertiesToException(JavaInspector.java:323)
    [servicegen] at weblogic.xml.schema.binding.internal.codegen.JavaInspector.fillExceptionDescriptor(JavaInspector.java:251)
    [servicegen] at weblogic.xml.schema.binding.internal.codegen.JavaInspector.fillDescriptor(JavaInspector.java:171)
    [servicegen] at weblogic.xml.schema.binding.internal.codegen.JavaInspector.getDescriptor(JavaInspector.java:139)
    [servicegen] at weblogic.xml.schema.binding.internal.codegen.JavaInspector.createDescriptorForClass(JavaInspector.java:106)
    [servicegen] at weblogic.xml.schema.binding.internal.codegen.Compiler.compile(Compiler.java:106)
    [servicegen] at weblogic.xml.schema.binding.internal.XSDTypeMappingBuilder.mapClass(XSDTypeMappingBuilder.java:89)
    [servicegen] at weblogic.xml.schema.binding.internal.XSDTypeMappingBuilder.mapClass(XSDTypeMappingBuilder.java:102)
    [servicegen] at weblogic.xml.schema.binding.internal.TypeMappingBuilderBase.addMapping(TypeMappingBuilderBase.java:180)
    [servicegen] at weblogic.ant.taskdefs.webservices.autotype.ComponentAutoTyper.addMapping(ComponentAutoTyper.java:88)
    [servicegen] at weblogic.ant.taskdefs.webservices.autotype.ComponentAutoTyper.mapComponent(ComponentAutoTyper.java:141)
    [servicegen] at weblogic.ant.taskdefs.webservices.autotype.EJBAutoTyper.run(EJBAutoTyper.java:115)
    [servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.runAutoTyper(ServiceGenTask.java:367)
    [servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.generateService(ServiceGenTask.java:313)
    [servicegen] at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(ServiceGenTask.java:181)
    [servicegen] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [servicegen] at org.apache.tools.ant.Task.perform(Task.java:364)
    [servicegen] at org.apache.tools.ant.Target.execute(Target.java:341)
    [servicegen] at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [servicegen] at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
    [servicegen] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:379)
    [servicegen] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:135)
    BUILD FAILED: C:\eclipse\workspace\eagle\build.xml:22: weblogic.xml.schema.binding.BindingException: unable to determine valid constructor for exception class java.lang.reflect.InvocationTargetException
    Total time: 1 second

    Try http://<host>:<port>/test instead.

Maybe you are looking for

  • How to get the TransactionManager in a stateful EJB (using JPA toplink)

    I use weblogic 10.3 This is my stateful EJB and I need to get the TransactionManager because I want to suspend my transaction... Here it is ok for the UserTransaction ut but I got an error with the TransactionManager EJB Code //@Stateless(name = "MyF

  • Windows Media Center Netflix Plug-In Cannot Connect

    WMC (Vista Home Premium SP2) can no longer connect to Netflix via internet since FF4 install. Direct connection to Netflix via Silverlight still works outside of WMC. Microsoft no help.

  • Subject: BW Query Variable – Multiple Single Values

    I have set a characteristic variable on process chain id. In General tab, Variable is u201Cprocess by manual inputu201D. In Details tab, I set: Variable represents Multiple Single Values, Variable is ready for Input When I run my query, I can select

  • Error while loadjava xmlparserv2.jar: ORA-04043: object oracle/xml/.. does not exist

    In Oracle8i.15, I tried to install xmlparserv2.jar after I downloaded xdk_plsql_9_2_0_2_0.zip and upzip to local machine. However, when I issued the follwoing command: loadjava -v -r -user SYSTEM/manager -force xmlparserv2.jar For each class, it has

  • HANA SP Call in Crystal Report

    Hi All , I need help to resolved my Problem . I have Developed HANA Store procedure when I call that store procedure in the crystal Report command Query I will give me error . Kindly help me . Call     "SAPHANA".DD_PROC_SalesKPI_BySalesRepresentative