FDS Instantiation Error

Background: I tried to mimic the ‘contact’ Data
Service example but can’t get my destination to instantiate
on the server. I was able to get the contact sample working but my
customized version is dead in the water.
The error looks like this when I start up the JRUN server:
At jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
[0]flex.messaging.config.ConfigurationException: Unable to
create service’flex.data.DataService’ for
‘data-service’ due to the following error: Error
instantiating application scoped instance of type
‘samples.twa.TwaAssembler’ for destination
‘person’..
1)How can I find out why the destination ‘person’
couldn’t be instantiated by the Data Service?
2)Do the class files need to be put into an archive file? If
so where should put the archive file so that the server will see
it?
3) Did I miss something else?
The process that I followed is listed below:
1) I added the following to
samples\WEB-INF\flex\data-management-services.xml:
<destination id="person">
<adapter ref="java-dao" />
- <properties>
<source>samples.twa.TwaAssembler</source>
<scope>application</scope>
- <metadata>
<identity property="personId" />
</metadata>
- <network>
<session-timeout>20</session-timeout>
<paging enabled="false" pageSize="10" />
<throttle-inbound policy="ERROR" max-frequency="500"
/>
<throttle-outbound policy="REPLACE" max-frequency="500"
/>
</network>
- <server>
- <fill-method>
<name>loadPersons</name>
</fill-method>
- <fill-method>
<name>loadPersons</name>
<params>java.lang.String</params>
</fill-method>
- <sync-method>
<name>syncPersons</name>
</sync-method>
</server>
</properties>
</destination>
2. I created TwaAssembler.class , Person.class,
PersonDAO.class, DAOException.class ConnectionHelper.class,
ConcurrencyException.class, and ValidationException.class and put
them in the samples\WEB-INF\classes\samples\twa folder.
3. I created a Person.as file and put in the
samples\twa\samples\twa folder and I also put it in the
samples\dataservice\twa\samples\twa folder.
4. I created a Flex twa.mxml file that defines the Binding of
a Grid object to the Data Service.
<?xml version="1.0" encoding="utf-8" ?>
- <mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
creationComplete="initApp();">
- <mx:Script>
- <![CDATA[
import mx.data.DataService;
import mx.collections.ArrayCollection;
import samples.twa.Person;
public var ds:DataService;
[Bindable]
public var persons:ArrayCollection;
public var person:Person;
public function initApp():void {
persons = new ArrayCollection();
ds = new DataService("person");
ds.fill(persons);
]]>
</mx:Script>
- <mx:DataGrid id="dg" dataProvider="{persons}"
editable="true">
- <mx:columns>
<mx:DataGridColumn dataField="PersonId" headerText="Id"
editable="false" /> etc...
5. I created a hsqldb ‘twa’ database with a
‘Person’ table for the java-dao to query and put it in
the samples\WEB-INF\db\twa folder.

I created a test program for Java code and it successfully
calls the loadPersons method. I copied the class files from this
test program's build\classes directory to classes\twa directory and
tried unsuccessfully to start Data Service destination person.
I am building my java code in NetBeans 5.0 . Is there a
certain type of project template that needs to be used to make the
class files executalbe by the Data Service thread. I noticed that
in the contact example's ContactAssembler class that there is no
main and no constructor for ContactAssembler
Should I be putting these classes in a jar file? If yes what
file do I modify to add the jar file to the class-path of the Data
Service thread?

Similar Messages

  • "Class can't be instantiated " error message. Help !

    Dear Java People,
    In trying to do a program that outputs a sound with every button click
    I have no compilation errors but a runtime error that says:
    "class can't be instantiated"
    below is the program and below that the error message
    thank you in advance
    Norman
    import java.util.*;
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.border.*;
    import java.applet.*;
    import java.awt.event.*;
    import java.net.*;
    public abstract class MyMusicApplet_1 extends JApplet implements ActionListener, AppletContext
         //AppletContext myAppletContext =   new AppletContext();
         //Iterator i =   myAppletContext.getStreamKeys();
         JButton myJButton;
         AudioClip acSound_1;
         AudioClip acSound_2;
         AudioClip acSound_3;
         AudioClip acSound_4;
         AudioClip acSound_5;
         AudioClip acSound_6;
         AudioClip acSound_7;
         AudioClip acSound_8;
         AudioClip acSound_9;
         JButton myJButtonSound1;
         JButton myJButtonSound2;
         JButton myJButtonSound3;
         JButton myJButtonSound4;
         JButton myJButtonSound5;
         JButton myJButtonSound6;
         JButton myJButtonSound7;
         JButton myJButtonSound8;
         JButton myJButtonSound9;
      public void init()
            try
             acSound_1 = getAudioClip(new URL ("c:/Program Files/Cakewalk/Cakewalk Pro Audio 9/seashore.wrk"));
             acSound_2 = getAudioClip(new URL ("c:/Program Files/Cakewalk/Cakewalk Pro Audio 9/seashore.wrk"));
             acSound_3 = getAudioClip(new URL ("c:/Program Files/Cakewalk/Cakewalk Pro Audio 9/seashore.wrk"));
             acSound_4 = getAudioClip(new URL ("c:/Program Files/Cakewalk/Cakewalk Pro Audio 9/seashore.wrk"));
             acSound_5 = getAudioClip(new URL ("c:/Program Files/Cakewalk/Cakewalk Pro Audio 9/seashore.wrk"));
             acSound_6 = getAudioClip(new URL ("c:/Program Files/Cakewalk/Cakewalk Pro Audio 9/seashore.wrk"));
             acSound_7 = getAudioClip(new URL ("c:/Program Files/Cakewalk/Cakewalk Pro Audio 9/seashore.wrk"));
             acSound_8 = getAudioClip(new URL ("c:/Program Files/Cakewalk/Cakewalk Pro Audio 9/seashore.wrk"));
             acSound_9 = getAudioClip(new URL ("c:/Program Files/Cakewalk/Cakewalk Pro Audio 9/seashore.wrk"));
             catch (MalformedURLException e)
               System.out.println("Error here " );
           Container myContentPane = getContentPane();
           myContentPane.setLayout(new FlowLayout(FlowLayout.RIGHT));
            Dimension buttonSize = new Dimension(190,100);
           Font myFont = new Font("Arial", Font.BOLD,14);
           Border myEdge = BorderFactory.createRaisedBevelBorder();
                    //create 1st button's object
                     myJButtonSound1 = new JButton("sound #1");
                    myJButtonSound1.addActionListener(this);
                   //set the button's border and size, font background and foreground
                   myJButtonSound1.setBorder(myEdge);
                   myJButtonSound1.setPreferredSize(buttonSize);
                   myJButtonSound1.setFont(myFont);
                   myJButtonSound1.setBackground(Color.orange);
                   myJButtonSound1.setForeground(Color.black);
                    //create 2nd button's object
                     myJButtonSound2 = new JButton("sound #2");
                    myJButtonSound2.addActionListener(this);
                   //set the button's border and size, font, background and foreground
                   myJButtonSound2.setBorder(myEdge);
                   myJButtonSound2.setPreferredSize(buttonSize);
                   myJButtonSound2.setFont(myFont);
                   myJButtonSound2.setBackground(Color.blue);
                   myJButtonSound2.setForeground(Color.black);
                    //create 3rd button's object
                     myJButtonSound3 = new JButton("sound #3");
                    myJButtonSound1.addActionListener(this);
                   //set the button's border and size, font, background and foreground
                   myJButtonSound3.setBorder(myEdge);
                   myJButtonSound3.setPreferredSize(buttonSize);
                   myJButtonSound3.setFont(myFont);
                   myJButtonSound3.setBackground(Color.cyan);
                   myJButtonSound3.setForeground(Color.black);
                    //create 4th button's object
                     myJButtonSound4 = new JButton("sound #4");
                    myJButtonSound4.addActionListener(this);
                   //set the button's border and size, font background and foreground
                   myJButtonSound4.setBorder(myEdge);
                   myJButtonSound4.setPreferredSize(buttonSize);
                   myJButtonSound4.setFont(myFont);
                   myJButtonSound4.setBackground(Color.pink);
                   myJButtonSound4.setForeground(Color.black);
                   //create 5th button's object
                   myJButtonSound5 = new JButton("sound #5");
                  myJButtonSound5.addActionListener(this);
                 //set the button's border and size, font background and foreground
                 myJButtonSound5.setBorder(myEdge);
                 myJButtonSound5.setPreferredSize(buttonSize);
                 myJButtonSound5.setFont(myFont);
                 myJButtonSound5.setBackground(Color.red);
                 myJButtonSound5.setForeground(Color.black);
                  //create 6th button's object
                   myJButtonSound6 = new JButton("sound #6");
                  myJButtonSound6.addActionListener(this);
                 //set the button's border and size, font, background and foreground
                 myJButtonSound6.setBorder(myEdge);
                 myJButtonSound6.setPreferredSize(buttonSize);
                 myJButtonSound6.setFont(myFont);
                 myJButtonSound6.setBackground(Color.pink);
                 myJButtonSound6.setForeground(Color.black);
                  //create 7th button's object
                   myJButtonSound7 = new JButton("Choice #7");
                  myJButtonSound7.addActionListener(this);
                 //set the button's border and size, font, background and foreground
                 myJButtonSound7.setBorder(myEdge);
                 myJButtonSound7.setPreferredSize(buttonSize);
                 myJButtonSound7.setFont(myFont);
                 myJButtonSound7.setBackground(Color.cyan);
                 myJButtonSound7.setForeground(Color.black);
                  //create 8th button's object
                   myJButtonSound8 = new JButton("Choice #8");
                  myJButtonSound8.addActionListener(this);
                 //set the button's border and size, font background and foreground
                 myJButtonSound8.setBorder(myEdge);
                 myJButtonSound8.setPreferredSize(buttonSize);
                 myJButtonSound8.setFont(myFont);
                 myJButtonSound8.setBackground(Color.yellow);
                 myJButtonSound8.setForeground(Color.black);
                  //create 9th button's object
                   myJButtonSound9 = new JButton("Choice #9");
                  myJButtonSound9.addActionListener(this);
                 //set the button's border and size, font background and foreground
                 myJButtonSound9.setBorder(myEdge);
                 myJButtonSound9.setPreferredSize(buttonSize);
                 myJButtonSound9.setFont(myFont);
                 myJButtonSound9.setBackground(Color.blue);
                 myJButtonSound9.setForeground(Color.black);
                   //add the buttons to the content pane
                   myContentPane.add(myJButtonSound1);
                   myContentPane.add(myJButtonSound2);
                   myContentPane.add(myJButtonSound3);
                   myContentPane.add(myJButtonSound4);
                   myContentPane.add(myJButtonSound5);
                   myContentPane.add(myJButtonSound6);
                   myContentPane.add(myJButtonSound7);
                   myContentPane.add(myJButtonSound8);
                   myContentPane.add(myJButtonSound9);
          public void actionPerformed(ActionEvent e)
             myJButton = (JButton)e.getSource();
            if(myJButton == myJButtonSound1)
              acSound_1.play();
            if(myJButton == myJButtonSound2)
              acSound_2.play();
            if(myJButton == myJButtonSound3)
              acSound_3.play();
            if(myJButton == myJButtonSound4)
              acSound_4.play();
            if(myJButton == myJButtonSound5)
              acSound_5.play();
             if(myJButton == myJButtonSound6)
               acSound_6.play();
                       if(myJButton == myJButtonSound7)
                         acSound_7.play();
                       if(myJButton == myJButtonSound8)
                         acSound_8.play();
                        if(myJButton == myJButtonSound9)
                          acSound_9.play();
    java.lang.InstantiationException
         at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    load: stan_my_music_applet_1.MyMusicApplet_1.class can't be instantiated.
         at java.lang.Class.newInstance0(Class.java:306)
         at java.lang.Class.newInstance(Class.java:259)
         at sun.applet.AppletPanel.createApplet(AppletPanel.java:566)
         at sun.applet.AppletPanel.runLoader(AppletPanel.java:495)
         at sun.applet.AppletPanel.run(AppletPanel.java:292)
         at java.lang.Thread.run(Thread.java:536)

    I also tried:
    try
    for(int a=0;a<8;a++)
    {acSounds[a] = getAudioClip(getCodeBase(),(new URL ("c:/Program Files/Cakewalk/Cakewalk Pro Audio 9/seashore" + (i + 1) + ".wrk")));
    and the error message still says:
    "MyMusicApplet3.java": Error #: 300 : method getAudioClip(java.net.URL, java.net.URL) not found in class stan_my_music_applet_3.MyMusicApplet3 at line 19
    Help !
    below is the revised code
    Norman
    import java.util.*;
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.border.*;
    import java.applet.*;
    import java.awt.event.*;
    import java.net.*;
    public class MyMusicApplet3 extends JApplet implements ActionListener
      AudioClip[] acSounds= new AudioClip[9];
      public void init()
       try
            for(int a=0;a<8;a++)
            {acSounds[a] = getAudioClip(getCodeBase(),(new URL ("c:/Program Files/Cakewalk/Cakewalk Pro Audio 9/seashore" + (a + 1) + ".wrk")));
      catch (Exception e)
        System.out.println("Error here " );
            Container myContentPane = getContentPane();
            myContentPane.setLayout(new FlowLayout(FlowLayout.RIGHT));
            myContentPane.add(getButton("1", Color.orange));
            myContentPane.add(getButton("2", Color.blue));
            myContentPane.add(getButton("3", Color.cyan));
            myContentPane.add(getButton("4", Color.pink));
            myContentPane.add(getButton("5", Color.red));
            myContentPane.add(getButton("6", Color.pink));
            myContentPane.add(getButton("7", Color.cyan));
            myContentPane.add(getButton("8", Color.yellow));
            myContentPane.add(getButton("9", Color.blue));
        public void actionPerformed(ActionEvent e)
           String command = e.getActionCommand();
           int index = Integer.parseInt(command)-1;
           acSounds[index].play();
       public JButton getButton(String label, Color fore)
         {          JButton button = new JButton("sound "+label);
                    button.setPreferredSize(new Dimension(190,100));
                    button.setFont(new Font("Arial", Font.BOLD,14));
                    button.setBorder(BorderFactory.createRaisedBevelBorder());
                    button.setForeground(fore);
                    button.setBackground(Color.orange);
                    button.addActionListener(this);
                    button.setActionCommand(label);
                    return button;
          }//"MyMusicApplet3.java": Error #: 300 :
    //method getAudioClip(java.net.URL, java.net.URL) not found in class
    // stan_my_music_applet_3.MyMusicApplet3 at line 19, column 24

  • Load:Tutorial.EmpApplet can't be instantiated ERROR

    Hi,
    By following JDevelopment 2.0 tutorial - Database Applet Tutorial
    It was compiled successfully.
    But when It was run, the ERROR occured !
    " load:tutorial.EmpApplet can't be instantiated "
    Anybody know why it happened ??
    Thanks.
    Youngho
    null

    Unfortunately these is a step missing in the tutorial for the
    beta version. This is actually logged as a doc bug. Here is the
    description:
    For the database applet tutorial, you need to explicitly include
    the JDBC classes111.zip file in the deployment archive. It does
    not get pulled in automatically by the dependency checker.
    Instructions for deployment need to instruct users to:
    1. Click the Add File button for the Additions list box.
    2. In the File Open dialog, navigate to and select the
    aurora\lib\classes111.zip file.
    3. Deploy.
    Sorry, Roel.
    Youngho Cho (guest) wrote:
    : Hi,
    : By following JDevelopment 2.0 tutorial - Database Applet
    Tutorial
    : It was compiled successfully.
    : But when It was run, the ERROR occured !
    : " load:tutorial.EmpApplet can't be instantiated "
    : Anybody know why it happened ??
    : Thanks.
    : Youngho
    null

  • Help!!! Applet can't be instantiated Error

    Hi,
    I am opening an applet in IE. But All i am getting is blank frame.
    When i move my curser over the applet I am reading this error
    loads: com.blny.scan.db.ScanViewApplet can't be instantiated
    Any help or suggestions are always appreciated.
    Thanks in advance.

    thank you for your reply.
    I am using jbuilder to develop this project. I have a applet-servlet commucication which gets the image from db and displays in applet.
    This works fine in JBuilder, but when i am opening this in IE I am getting the same error as i stated earlier.
    thanks.
    here is my html code
    <html>
    <head>
    <title>
    HTML Test Page
    </title>
    </head>
    <body>
    com.blny.scan.db.ScanViewApplet will appear below in a Java enabled browser.<br>
    <applet
    codebase = "."
    archive = "SCAN_PROJECT.jar"
    code = "com.blny.scan.db.ScanViewApplet.class"
    name = "TestApplet"
    width = "899"
    height = "662"
    hspace = "0"
    vspace = "0"
    align = "middle"
    >
    </applet>
    </body>
    </html>

  • Instantiation Error in JAR file

    I have a Sybase database using jConnect-5_5.
    When I run the main class directly --
    java MainClass arguments
    -- it works fine.
    Then I try creating a JAR file. The manifest file reads:
    Main-Class: MainClass
    Class-Path: path to jconn2.jar
    But when I run it --
    java -jar jarfile arguments
    -- I get this error:
    Error instantiating class java.lang.ClassNotFoundException: com.sybase.jdbc2.jdbc.SybDriver
    So what am I doing wrong?

    I'm not trying to invent anything -- it says
    "Class-path", right? So naturally I stick in the
    value of "CLASSPATH". Or I stick in the value that
    I'd put on the java "-classpath" command-line
    parameter, both of which will work perfectly with the
    same identical format. Why doesn't that make perfect
    sense? Other than the folks at Sun, for reasons of
    their own, chose not to do it that way?Sorry, I guess you must have skipped right past the example in the tutorial that showed the classpath entries separated by spaces. Not by colons. I don't know why Sun chose that, but since they did, that's the rule.
    So you're saying it's impossible to create a
    JAR file with a manifest file that points to a
    location which can be configured after the fact?It's almost impossible to update a JAR file in any way at all after you have created it, short of creating a new JAR file and copying everything from the old one to the new one.
    the only way to be assured that third-party
    tools are where we can find them is to include
    those tools with our product?
    That may not be the only way, but it's by far the easiest way. What were you planning to do, have a dialog asking the user to locate their version of those tools? And what if they don't have one? No, it's better just to distribute everything you need and install it all in the same directory. That's the industry-standard process for installing software.

  • OC4J Deployment from JDeveloper 10.1.3 Webservice Instantiation ERROR

    I am trying to deploy an EJB web service from JDeveloper 10.1.3 and keep getting this error: InstantiationException.
    Note: in the readme.txt, it describes running OC4J with the EBJ3.0 option.
    (OC4J -start -ejb3)
    -start [-ejb3] : start OC4J with EJB30
    enabled
    This did not work. Any suggestion?
    See below for error message.
    The OC4J version is: Version 10.1.3.0.0 build#060119 Java Standalone version.
    2006-02-09 15:48:21.812 NOTIFICATION Processing EJB module: ApplicantEJBWS.jar
    2006-02-09 15:48:21.828 ERROR J2EE EJB3027 [ApplicantEJBWS] An error occured dep
    loying EJB module: javax.ejb.EJBException: nested exception is: java.lang.reflec
    t.InvocationTargetException
    2006-02-09 15:48:21.828 NOTIFICATION application : ApplicantEJBWS is in failed s
    tate
    06/02/09 15:48:21 WARNING: Application.setConfig Application: ApplicantEJBWS is
    in failed state as initialization failedjava.lang.InstantiationException: Error
    initializing ejb-modules: nested exception is: java.lang.reflect.InvocationTarge
    tException
    Feb 9, 2006 3:48:21 PM com.evermind.server.Application setConfig
    WARNING: Application: ApplicantEJBWS is in failed state as initialization failed
    java.lang.InstantiationException: Error initializing ejb-modules: nested excepti
    on is: java.lang.reflect.InvocationTargetException
    06/02/09 15:48:21 oracle.oc4j.admin.internal.DeployerException: java.lang.Instan
    tiationException: Error initializing ejb-modules: nested exception is: java.lang
    .reflect.InvocationTargetException
    06/02/09 15:48:21 at oracle.oc4j.admin.internal.ApplicationDeployer.addApp
    lication(ApplicationDeployer.java:510)
    06/02/09 15:48:21 at oracle.oc4j.admin.internal.ApplicationDeployer.doDepl
    oy(ApplicationDeployer.java:191)
    06/02/09 15:48:21 at oracle.oc4j.admin.internal.DeployerBase.execute(Deplo
    yerBase.java:93)
    06/02/09 15:48:21 at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeploy
    erRunnable.doRun(OC4JDeployerRunnable.java:52)
    06/02/09 15:48:21 at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRu
    nnable.run(DeployerRunnable.java:81)
    06/02/09 15:48:21 at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worke
    r.run(PooledExecutor.java:814)
    06/02/09 15:48:21 at java.lang.Thread.run(Thread.java:595)
    06/02/09 15:48:21 Caused by: java.lang.InstantiationException: Error initializin
    g ejb-modules: nested exception is: java.lang.reflect.InvocationTargetException
    06/02/09 15:48:21 at com.evermind.server.ejb.EJBContainer.postInit(EJBCont
    ainer.java:1056)
    06/02/09 15:48:21 at com.evermind.server.ApplicationStateRunning.initializ
    eApplication(ApplicationStateRunning.java:210)
    06/02/09 15:48:21 at com.evermind.server.Application.setConfig(Application
    .java:391)
    06/02/09 15:48:21 at com.evermind.server.Application.setConfig(Application
    .java:308)
    06/02/09 15:48:21 at com.evermind.server.ApplicationServer.addApplication(
    ApplicationServer.java:1771)
    06/02/09 15:48:21 at oracle.oc4j.admin.internal.ApplicationDeployer.addApp
    lication(ApplicationDeployer.java:507)
    06/02/09 15:48:21 ... 6 more
    06/02/09 15:48:21 Caused by: javax.ejb.EJBException: nested exception is: java.l
    ang.reflect.InvocationTargetException
    06/02/09 15:48:21 at com.evermind.server.ejb.EJBUtils.createEJBException(E
    JBUtils.java:352)
    06/02/09 15:48:21 at com.evermind.server.ejb.EJBUtils.createEJBException(E
    JBUtils.java:343)
    06/02/09 15:48:21 at oracle.j2ee.ws.server.deployment.WebServiceAnnotation
    Listener.parseAnnotatedClass(WebServiceAnnotationListener.java:92)
    06/02/09 15:48:21 at com.evermind.server.ejb.AnnotationParser.notifyAnnota
    tionListeners(AnnotationParser.java:197)
    06/02/09 15:48:21 at com.evermind.server.ejb.AnnotationParser.parseAnnotat
    ions(AnnotationParser.java:69)
    06/02/09 15:48:21 at com.evermind.server.ejb.EJBPackageDeployment.parseMet
    aData(EJBPackageDeployment.java:964)
    06/02/09 15:48:21 at com.evermind.server.ejb.EJBContainer.postInit(EJBCont
    ainer.java:831)
    06/02/09 15:48:21 ... 11 more
    06/02/09 15:48:21 Caused by: java.lang.reflect.InvocationTargetException
    06/02/09 15:48:21 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native M
    ethod)
    06/02/09 15:48:21 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMet
    hodAccessorImpl.java:39)
    06/02/09 15:48:21 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Deleg
    atingMethodAccessorImpl.java:25)
    06/02/09 15:48:21 at java.lang.reflect.Method.invoke(Method.java:585)
    06/02/09 15:48:21 at oracle.j2ee.ws.server.deployment.WebServiceAnnotation
    Listener.parseAnnotatedClass(WebServiceAnnotationListener.java:83)
    06/02/09 15:48:21 ... 15 more
    06/02/09 15:48:21 Caused by: java.lang.NoClassDefFoundError
    06/02/09 15:48:21 at oracle.j2ee.ws.common.processor.modeler.rmi.ValueType
    Modeler.<init>(ValueTypeModeler.java:53)
    06/02/09 15:48:21 at oracle.j2ee.ws.common.processor.modeler.rmi.RmiModele
    r.<init>(RmiModeler.java:103)
    06/02/09 15:48:21 at oracle.j2ee.ws.common.processor.config.RmiModelInfo.g
    etModeler(RmiModelInfo.java:93)
    06/02/09 15:48:21 at oracle.j2ee.ws.common.processor.config.ModelInfo.buil
    dModel(ModelInfo.java:167)
    06/02/09 15:48:21 at oracle.j2ee.ws.common.processor.Processor.runModeler(
    Processor.java:72)
    06/02/09 15:48:21 at oracle.j2ee.ws.common.metadata.annotation.DeploymentG
    enerator$DeploymentCompileTool.run(DeploymentGenerator.java:190)
    06/02/09 15:48:21 at oracle.j2ee.ws.common.metadata.annotation.DeploymentG
    enerator.generateDeploymentArtifacts(DeploymentGenerator.java:121)
    06/02/09 15:48:21 at oracle.j2ee.ws.common.metadata.annotation.EJBWebServi
    ceAnnotationParser.parseAnnotatedBean(EJBWebServiceAnnotationParser.java:159)
    06/02/09 15:48:21 ... 20 more
    2006-02-09 15:48:21.843 NOTIFICATION Application Deployer for ApplicantEJBWS FAI
    LED.
    2006-02-09 15:48:21.843 NOTIFICATION Application UnDeployer for ApplicantEJBWS S
    TARTS.
    2006-02-09 15:48:21.843 NOTIFICATION Removing all web binding(s) for application
    ApplicantEJBWS from all web site(s)
    2006-02-09 15:48:22.062 NOTIFICATION Application UnDeployer for ApplicantEJBWS C
    OMPLETES.
    06/02/09 15:48:22 WARNING: DeployerRunnable.run java.lang.InstantiationException
    : Error initializing ejb-modules: nested exception is: java.lang.reflect.Invocat
    ionTargetExceptionoracle.oc4j.admin.internal.DeployerException: java.lang.Instan
    tiationException: Error initializing ejb-modules: nested exception is: java.lang
    .reflect.InvocationTargetException
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:126
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun
    (OC4JDeployerRunnable.java:52)
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(Deplo
    yerRunnable.java:81)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExec
    utor.java:814)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.InstantiationException: Error initializing ejb-modules: nes
    ted exception is: java.lang.reflect.InvocationTargetException
    at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1056)
    at com.evermind.server.ApplicationStateRunning.initializeApplication(App
    licationStateRunning.java:210)
    at com.evermind.server.Application.setConfig(Application.java:391)
    at com.evermind.server.Application.setConfig(Application.java:308)
    at com.evermind.server.ApplicationServer.addApplication(ApplicationServe
    r.java:1771)
    at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(Applica
    tionDeployer.java:507)
    at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDe
    ployer.java:191)
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
    ... 4 more
    Caused by: javax.ejb.EJBException: nested exception is: java.lang.reflect.Invoca
    tionTargetException
    at com.evermind.server.ejb.EJBUtils.createEJBException(EJBUtils.java:352
    at com.evermind.server.ejb.EJBUtils.createEJBException(EJBUtils.java:343
    at oracle.j2ee.ws.server.deployment.WebServiceAnnotationListener.parseAn
    notatedClass(WebServiceAnnotationListener.java:92)
    at com.evermind.server.ejb.AnnotationParser.notifyAnnotationListeners(An
    notationParser.java:197)
    at com.evermind.server.ejb.AnnotationParser.parseAnnotations(AnnotationP
    arser.java:69)
    at com.evermind.server.ejb.EJBPackageDeployment.parseMetaData(EJBPackage
    Deployment.java:964)
    at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:831)
    ... 11 more
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at oracle.j2ee.ws.server.deployment.WebServiceAnnotationListener.parseAn
    notatedClass(WebServiceAnnotationListener.java:83)
    ... 15 more
    Caused by: java.lang.NoClassDefFoundError
    at oracle.j2ee.ws.common.processor.modeler.rmi.ValueTypeModeler.<init>(V
    alueTypeModeler.java:53)
    at oracle.j2ee.ws.common.processor.modeler.rmi.RmiModeler.<init>(RmiMode
    ler.java:103)
    at oracle.j2ee.ws.common.processor.config.RmiModelInfo.getModeler(RmiMod
    elInfo.java:93)
    at oracle.j2ee.ws.common.processor.config.ModelInfo.buildModel(ModelInfo
    .java:167)
    at oracle.j2ee.ws.common.processor.Processor.runModeler(Processor.java:7
    2)
    at oracle.j2ee.ws.common.metadata.annotation.DeploymentGenerator$Deploym
    entCompileTool.run(DeploymentGenerator.java:190)
    at oracle.j2ee.ws.common.metadata.annotation.DeploymentGenerator.generat
    eDeploymentArtifacts(DeploymentGenerator.java:121)
    at oracle.j2ee.ws.common.metadata.annotation.EJBWebServiceAnnotationPars
    er.parseAnnotatedBean(EJBWebServiceAnnotationParser.java:159)
    ... 20 more
    2006-02-09 15:48:22.062 WARNING java.lang.InstantiationException: Error initiali
    zing ejb-modules: nested exception is: java.lang.reflect.InvocationTargetExcepti
    on
    Message was edited by: mritchson
    user486624

    I fixed the problem.
    Removed the Java standalone version OC4J 10.1.3 and installed the FULL Application server ver 10.1.3.

  • EmpApplet can't be instantiated ERROR

    Hi,I'm having the same "tutorial.EmpApplet can't be
    instantiated" problem everyone else seems to be having. I've
    tried all the recommended solutions and nothing works. Here is
    a copy of the output to the Java Console using Internet Explorer.
    com.ms.security.SecurityExceptionEx
    [com/sun/java/swing/UIManager.setLookAndFeel]:
    java.io.IOException: bad path: D:\Program
    Files\Oracle\JDeveloper 2.0.184
    Beta\myclasses\com\sun\java\swing\plaf\metal\MetalLookAndFeel.cla
    ss
    at com/ms/security/permissions/FileIOPermission.check
    at com/ms/security/PolicyEngine.deepCheck
    at com/ms/security/PolicyEngine.checkPermission
    at com/ms/security/StandardSecurityManager.chk
    at com/ms/security/StandardSecurityManager.checkRead
    at java/io/File.isDirectory
    at sun/net/www/protocol/file/FileURLConnection.connect
    at
    sun/net/www/protocol/file/FileURLConnection.getInputStream
    at
    com/ms/vm/loader/ResourceLoader.getCodebaseRelativeData
    at com/ms/vm/loader/ResourceLoader.getClassData
    at com/ms/vm/loader/URLClassLoader.findClass
    at com/ms/vm/loader/URLClassLoader.loadClass
    at java/lang/ClassLoader.loadClassInternal at
    java/lang/Class.forName
    at com/sun/java/swing/UIManager.setLookAndFeel
    at com/sun/java/swing/UIManager.initializeDefaultLAF
    at com/sun/java/swing/UIManager.initialize
    at com/sun/java/swing/UIManager.maybeInitialize
    at com/sun/java/swing/UIManager.getDefaults
    at com/sun/java/swing/UIManager.getColor
    at borland/jbcl/control/BevelPanel.<init>
    at borland/jbcl/control/ButtonBar.<init>
    at borland/jbcl/control/NavigatorControl.<init>
    at tutorial/QueryEmpPanel.<init> at
    tutorial/EmpApplet.<init>
    at com/ms/applet/BrowserAppletFrame.newInstance
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.processSentEvent at
    com/ms/applet/AppletPanel.run
    at java/lang/Thread.runError loading class:
    com.sun.java.swing.plaf.metal.MetalLookAndFeel
    com.ms.security.SecurityExceptionEx
    [com/sun/java/swing/UIManager.setLookAndFeel]:
    java.io.IOException: bad path: D:\Program
    Files\Oracle\JDeveloper 2.0.184
    Beta\myclasses\com\sun\java\swing\plaf\metal\MetalLookAndFeel.cla
    ss
    com.ms.security.SecurityExceptionEx
    [com/sun/java/swing/UIManager.setLookAndFeel]:
    java.io.IOException: bad path: D:\Program
    Files\Oracle\JDeveloper 2.0.184
    Beta\myclasses\com\sun\java\swing\plaf\metal\MetalLookAndFeel.cla
    ss
    at com/ms/security/permissions/FileIOPermission.check
    at com/ms/security/PolicyEngine.deepCheck
    at com/ms/security/PolicyEngine.checkPermission
    at com/ms/security/StandardSecurityManager.chk
    at com/ms/security/StandardSecurityManager.checkRead
    at java/io/File.isDirectory
    at sun/net/www/protocol/file/FileURLConnection.connect
    at
    sun/net/www/protocol/file/FileURLConnection.getInputStream
    at
    com/ms/vm/loader/ResourceLoader.getCodebaseRelativeData
    at com/ms/vm/loader/ResourceLoader.getClassData
    at com/ms/vm/loader/URLClassLoader.findClass
    at com/ms/vm/loader/URLClassLoader.loadClass
    at java/lang/ClassLoader.loadClassInternal at
    java/lang/Class.forName
    at com/sun/java/swing/UIManager.setLookAndFeel
    at com/sun/java/swing/UIManager.initializeDefaultLAF
    at com/sun/java/swing/UIManager.initialize
    at com/sun/java/swing/UIManager.maybeInitialize
    at com/sun/java/swing/UIManager.getDefaults
    at com/sun/java/swing/UIManager.getColor
    at borland/jbcl/control/BevelPanel.<init>
    at borland/jbcl/control/ButtonBar.<init>
    at borland/jbcl/control/NavigatorControl.<init>
    at tutorial/QueryEmpPanel.<init> at
    tutorial/EmpApplet.<init>
    at com/ms/applet/BrowserAppletFrame.newInstance
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.processSentEvent at
    com/ms/applet/AppletPanel.run
    at java/lang/Thread.runError loading class:
    com.sun.java.swing.plaf.metal.MetalLookAndFeel
    com.ms.security.SecurityExceptionEx
    [com/sun/java/swing/UIManager.setLookAndFeel]:
    java.io.IOException: bad path: D:\Program
    Files\Oracle\JDeveloper 2.0.184
    Beta\myclasses\com\sun\java\swing\plaf\metal\MetalLookAndFeel.cla
    ss
    java.lang.InstantiationException: tutorial/EmpApplet
    at com/ms/applet/BrowserAppletFrame.newInstance
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.processSentEvent at
    com/ms/applet/AppletPanel.run
    at java/lang/Thread.run
    Please help as I am trying to prove that JDeveloper is the way
    our organization should go for Oracle development.
    Thanks,
    Joe Villarreal
    null

    Joe,
    Does the version on IE that you are using support Swing 1.1 ?
    Also, I am not sure why it is referring to the absolute path (D:
    \Program Files\Oracle\JDeveloper 2.0.184
    Beta\myclasses\com\sun\java\swing\plaf\metal\MetalLookAndFeel.cla
    ). Does your jar file have this path?
    Regards,
    Joe Villarreal (guest) wrote:
    : Hi,I'm having the same "tutorial.EmpApplet can't be
    : instantiated" problem everyone else seems to be having. I've
    : tried all the recommended solutions and nothing works. Here
    is
    : a copy of the output to the Java Console using Internet
    Explorer.
    : com.ms.security.SecurityExceptionEx
    : [com/sun/java/swing/UIManager.setLookAndFeel]:
    : java.io.IOException: bad path: D:\Program
    : Files\Oracle\JDeveloper 2.0.184
    Beta\myclasses\com\sun\java\swing\plaf\metal\MetalLookAndFeel.cla
    : ss
    : at com/ms/security/permissions/FileIOPermission.check
    : at com/ms/security/PolicyEngine.deepCheck
    : at com/ms/security/PolicyEngine.checkPermission
    : at com/ms/security/StandardSecurityManager.chk
    : at com/ms/security/StandardSecurityManager.checkRead
    : at java/io/File.isDirectory
    : at sun/net/www/protocol/file/FileURLConnection.connect
    : at
    : sun/net/www/protocol/file/FileURLConnection.getInputStream
    : at
    : com/ms/vm/loader/ResourceLoader.getCodebaseRelativeData
    : at com/ms/vm/loader/ResourceLoader.getClassData
    : at com/ms/vm/loader/URLClassLoader.findClass
    : at com/ms/vm/loader/URLClassLoader.loadClass
    : at java/lang/ClassLoader.loadClassInternal at
    : java/lang/Class.forName
    : at com/sun/java/swing/UIManager.setLookAndFeel
    : at com/sun/java/swing/UIManager.initializeDefaultLAF
    : at com/sun/java/swing/UIManager.initialize
    : at com/sun/java/swing/UIManager.maybeInitialize
    : at com/sun/java/swing/UIManager.getDefaults
    : at com/sun/java/swing/UIManager.getColor
    : at borland/jbcl/control/BevelPanel.<init>
    : at borland/jbcl/control/ButtonBar.<init>
    : at borland/jbcl/control/NavigatorControl.<init>
    : at tutorial/QueryEmpPanel.<init> at
    : tutorial/EmpApplet.<init>
    : at com/ms/applet/BrowserAppletFrame.newInstance
    : at com/ms/applet/AppletPanel.processSentEvent
    : at com/ms/applet/AppletPanel.processSentEvent at
    : com/ms/applet/AppletPanel.run
    : at java/lang/Thread.runError loading class:
    : com.sun.java.swing.plaf.metal.MetalLookAndFeel
    : com.ms.security.SecurityExceptionEx
    : [com/sun/java/swing/UIManager.setLookAndFeel]:
    : java.io.IOException: bad path: D:\Program
    : Files\Oracle\JDeveloper 2.0.184
    Beta\myclasses\com\sun\java\swing\plaf\metal\MetalLookAndFeel.cla
    : ss
    : com.ms.security.SecurityExceptionEx
    : [com/sun/java/swing/UIManager.setLookAndFeel]:
    : java.io.IOException: bad path: D:\Program
    : Files\Oracle\JDeveloper 2.0.184
    Beta\myclasses\com\sun\java\swing\plaf\metal\MetalLookAndFeel.cla
    : ss
    : at com/ms/security/permissions/FileIOPermission.check
    : at com/ms/security/PolicyEngine.deepCheck
    : at com/ms/security/PolicyEngine.checkPermission
    : at com/ms/security/StandardSecurityManager.chk
    : at com/ms/security/StandardSecurityManager.checkRead
    : at java/io/File.isDirectory
    : at sun/net/www/protocol/file/FileURLConnection.connect
    : at
    : sun/net/www/protocol/file/FileURLConnection.getInputStream
    : at
    : com/ms/vm/loader/ResourceLoader.getCodebaseRelativeData
    : at com/ms/vm/loader/ResourceLoader.getClassData
    : at com/ms/vm/loader/URLClassLoader.findClass
    : at com/ms/vm/loader/URLClassLoader.loadClass
    : at java/lang/ClassLoader.loadClassInternal at
    : java/lang/Class.forName
    : at com/sun/java/swing/UIManager.setLookAndFeel
    : at com/sun/java/swing/UIManager.initializeDefaultLAF
    : at com/sun/java/swing/UIManager.initialize
    : at com/sun/java/swing/UIManager.maybeInitialize
    : at com/sun/java/swing/UIManager.getDefaults
    : at com/sun/java/swing/UIManager.getColor
    : at borland/jbcl/control/BevelPanel.<init>
    : at borland/jbcl/control/ButtonBar.<init>
    : at borland/jbcl/control/NavigatorControl.<init>
    : at tutorial/QueryEmpPanel.<init> at
    : tutorial/EmpApplet.<init>
    : at com/ms/applet/BrowserAppletFrame.newInstance
    : at com/ms/applet/AppletPanel.processSentEvent
    : at com/ms/applet/AppletPanel.processSentEvent at
    : com/ms/applet/AppletPanel.run
    : at java/lang/Thread.runError loading class:
    : com.sun.java.swing.plaf.metal.MetalLookAndFeel
    : com.ms.security.SecurityExceptionEx
    : [com/sun/java/swing/UIManager.setLookAndFeel]:
    : java.io.IOException: bad path: D:\Program
    : Files\Oracle\JDeveloper 2.0.184
    Beta\myclasses\com\sun\java\swing\plaf\metal\MetalLookAndFeel.cla
    : ss
    : java.lang.InstantiationException: tutorial/EmpApplet
    : at com/ms/applet/BrowserAppletFrame.newInstance
    : at com/ms/applet/AppletPanel.processSentEvent
    : at com/ms/applet/AppletPanel.processSentEvent at
    : com/ms/applet/AppletPanel.run
    : at java/lang/Thread.run
    : Please help as I am trying to prove that JDeveloper is the way
    : our organization should go for Oracle development.
    : Thanks,
    : Joe Villarreal
    null

  • Parameter Instantiation error

    Hopefully an easy one and it's just the fact that I've not had enough sleep for about 5 years now...
    <c:import url="/protected/${appName}.jsp" />How can I instantiate ${appName} so my app doesn't choke with the error...
    <Included resource or file "/protected/.jsp" not found from requested resource "/protected/index.jsp".>

    I would use jsp:include for that.
    Main jsp:<f:view>
        <jsp:include page="#{myBean.includePage}" />
    </f:view>MyBean:public String getIncludePage() {
        return includePage; // Can be e.g. "include.jsp", "relative/path/include.jsp", etc.
    }where the include.jsp look like:<f:subview id="include">
    </f:subview>Works in JSF 1.2 only. For older versions, read this article: http://balusc.blogspot.com/2007/01/dynamic-jsf-subviews.html

  • Embedded Image Class Instantiating Error

    Hi,
    I have an embeded image class. When trying to create an instance of this Class object, a "Type Coercion failed" error came up.  I've included my code below. If someone would enlighten me on the right way to do that I would appreciate it.
              [Embed(source="assets/images/flagicon.png", mimeType="application/octet-stream")]
              private var flag:Class;
              var myByteArr:ByteArray = new flag();
              //Type Coercion failed: cannot convert 'flag' to flash.utils.ByteArray.
    Thanks,

    Try this..
    var bitmap:BitmapAsset = new flag() as BitmapAsset;
    var bData:BitmapData = bitmap.bitmapData;
    Hope this helps,
    BaBo,

  • Instantiation error with custom filter implementation

    have implemented the custom filter in oracle UCM 11. component is created via component wizard and it's succesfully deployed and enabled in content server. filter is being associated with event validateStandard.
    when we check-in a file, check-in is failing due to message below
    Unable to do filter 'mypackage.CustomFilter' for type 'validateStandard'. Unable to instantiate java class code for 'mypackage.CustomFilter' at location 'mypackage.CustomFilter'
    we've placed the java class file under custom component folder. with-in custom component folder we've created mypackage and then placed class file (since mypackage is java package).
    Below mentioned is the stacktrace,
    !csUserEventMessage,weblogic,localhost:16200!$!apFilterInstantiationError,mypackage.CustomFilter,validateStandard!apUnableToInstantiateClass2,mypackage.CustomFilter,mypackage.CustomFilter
    intradoc.common.ServiceException: !apFilterInstantiationError,mypackage.CustomFilter,validateStandard
    *ScriptStack CHECKIN_NEW_SUB
    3:doScriptableAction,dDocName=testtest3:doSubService,dDocName=testtestCHECKIN_NEW_SUB,dDocName=testtest3:validateStandard,dDocName=testtest
    at intradoc.shared.ComponentClassFactory.createClassInstance(ComponentClassFactory.java:172)
    at intradoc.shared.PluginFilters.filterWithAction(PluginFilters.java:90)
    at intradoc.shared.PluginFilters.filter(PluginFilters.java:68)
    at intradoc.server.DocServiceHandler.validateStandard(DocServiceHandler.java:1228)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
    at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:324)
    at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
    at intradoc.server.Service.doCodeEx(Service.java:603)
    at intradoc.server.Service.doCode(Service.java:575)
    at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1643)
    at intradoc.server.Service.doAction(Service.java:547)
    at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1458)
    at intradoc.server.Service.doActions(Service.java:542)
    at intradoc.server.ServiceRequestImplementor.executeSubServiceCode(ServiceRequestImplementor.java:1322)
    at intradoc.server.Service.executeSubServiceCode(Service.java:4023)
    at intradoc.server.ServiceRequestImplementor.executeServiceEx(ServiceRequestImplementor.java:1200)
    at intradoc.server.Service.executeServiceEx(Service.java:4018)
    at intradoc.server.Service.executeService(Service.java:4002)
    at intradoc.server.Service.doSubService(Service.java:3912)

    It looks like the filter is not properly locating the compiled Java class.
    In Component Wizard, did you go into the Advanced Build Settings and ensure there is an Install ID and the classes properly points to your compiled Java class?
    Here is a sample component which implements a filter: http://jonathanhult.com/blog/2012/07/minify-css-and-javascript-automatically-in-webcenter-content/
    You can try loading that into Component Wizard and determining what your component is missing. You could also compare the manifest.hda files between components.
    Jonathan
    http://jonathanhult.com

  • Composite Form Instantiation Error

    Hi All,
        When I'm trying to instantiate a composite form in GP gallery, a window is poped up with the URL http://epdev:53000/ifcore/formrequestor/E51035F1CEF011DCC8FC0019BBD51B8E/0/1
    and text "page cannot be displayed".
    If I change the port from 53000 to 50000, I can get the PDF file successfully.
    So, how can I change the default port of it from 53000 to 50000?
    Thanks,
    YiNing

    Hi All,
        When I'm trying to instantiate a composite form in GP gallery, a window is poped up with the URL http://epdev:53000/ifcore/formrequestor/E51035F1CEF011DCC8FC0019BBD51B8E/0/1
    and text "page cannot be displayed".
    If I change the port from 53000 to 50000, I can get the PDF file successfully.
    So, how can I change the default port of it from 53000 to 50000?
    Thanks,
    YiNing

  • Applet in ie 5.0: class can not be Instantiated

    Hi!
    My problem is an Applet, which works fine with the appletviewer and with my iExplorer 5.0.
    But when I tried to install my Application (the Applet is part of a J2EE-WebApp) on the tomcat of an other computer, I get the
    "class can not be instantiated"-Error and iE 5.0 only displays a grey box in the size of the Applet. With the appletviewer it works.
    I got the same tomcat, same mySQL and same browser on both computers.
    I also invoked the application running in tomcat on my computer from 2 other computers - on one of them, the Applet was shown, on the other, I only got this grey box.
    The version of the iExplorer was exactly the same.
    What can be wrong?

    Are you sure there is a static method in the Applet class named newAudioChip that takes a URL as an argument?

  • Error 403 Forbidden, while publishing a WS

    Hi all,
    i have defined a web-service in SAP Workbench. now i'm trying to publish it and it simply doesn't work, whatever i try.
    after i defined a binding in the SOAMANAGER and want the WSDL for it to be shown, i get
    Error 403: Forbidden. Anyone ideas?
    im pretty fresh around web services in SAP, so i tried another scenario taken from help-sites.  in tr-cd WSPUBLISH i get proxy instantiation error. (i created the Service registry also by myself in tr-cd WSPARAM).
    thnx 4 ur help in advance!!!
    regards
    vasyl

              Hi Bijan,
              thats to less info. We need a little bit more to help you.
              Try looking at the console and tell us what you see.
              Which Version of WLS are you running ??
              fear
              Bijan Mohanty <[email protected]> wrote:
              >Hi,
              >
              >I have deployed a webapp(the war file)by placing it in the config/mydomain/applications
              >dir. The web app is deployed successfully and can be seen in the weblogic
              >console. But while accessing the servlet I am getting the following
              >error. Could somebody please tell me what needs to be done to fix this.
              >
              >Thanks a lot.
              >
              >Bijan.
              >
              >Error 403--Forbidden
              >From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
              >10.4.4 403 Forbidden
              >The server understood the request, but is refusing to fulfill it. Authorization
              >will not help and the request SHOULD NOT be repeated. If the request
              >method was not HEAD and the server wishes to make public why the request
              >has not been fulfilled, it SHOULD describe the reason for the refusal
              >in the entity. This status code is commonly used when the server does
              >not wish to reveal exactly why the request has been refused, or when
              >no other response is applicable
              

  • Mid Tier -- Forms Install Error

    I am trying to install 9iAS R2 on a Win2k server. Configuration of all products was successful except for Forms. I got this error, which means nothing to me. Any ideas?
    Container Name = forms
    ApplicationName = formsApp
    Error during Forms OID integration
    Forms OID integration failed
    Starting file instantiation
    Error while instantiating
    Starting Forms EM integration
    Forms EM integration succeeded
    Deploying Forms for OC4J
    Forms deployment was successful
    Forms Configuration failed
    Thanks

    Hi carlos,
    Thanks
    I reinstalled and it went past the AHS instance creation.
    Now, its failing on opmn start.
    ecid: 0000Jkkwo_LEoI5DrRbACY1GwUAK00000^,0] [SRC_CLASS: oracle.as.config.impl.AbstractRuntimeServiceConnection] [SRC_METHOD: invokeMBean] Invoking RegisterMBean operation: registerComponent
    [2013-01-12T15:17:50.207-08:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 45] [ecid: 0000Jkkwo_LEoI5DrRbACY1GwUAK00000^,0] [SRC_CLASS: oracle.as.config.impl.RuntimeServiceConnectionWLS] [SRC_METHOD: disconnect] Breaking connection to mbean server
    [2013-01-12T15:17:50.208-08:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 45] [ecid: 0000Jkkwo_LEoI5DrRbACY1GwUAK00000^,0] [SRC_CLASS: oracle.reports.provision.ReportsServerComponentImpl] [SRC_METHOD: registerComponent] RETURN
    [2013-01-12T15:17:50.208-08:00] [as] [TRACE] [] [oracle.as.config] [tid: 45] [ecid: 0000Jkkwo_LEoI5DrRbACY1GwUAK00000^,0] [SRC_CLASS: oracle.as.config.utl.FileUtil] [SRC_METHOD: isWebsphereEnabled] Java property is not defined. isWebsphereEnabled=false
    [2013-01-12T15:17:50.209-08:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 45] [ecid: 0000Jkkwo_LEoI5DrRbACY1GwUAK00000^,0] [SRC_CLASS: oracle.reports.provision.ReportsServerComponentImpl] [SRC_METHOD: reloadOpmn] ENTRY
    [2013-01-12T15:17:50.251-08:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 45] [ecid: 0000Jkkwo_LEoI5DrRbACY1GwUAK00000^,0] [SRC_CLASS: oracle.as.config.impl.OracleASComponentBaseImpl] [SRC_METHOD: reloadOpmn] Invoking opmn reload...
    [2013-01-12T15:17:53.160-08:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 45] [ecid: 0000Jkkwo_LEoI5DrRbACY1GwUAK00000^,0] [SRC_CLASS: oracle.reports.provision.ReportsServerComponentImpl] [SRC_METHOD: reloadOpmn] RETURN

  • Forms9i -"ora_java.jobject"  Instantiation of object throws err 201 message

    Hi,
    I am not able to instantiate a new object of class that i have created.
    Below is the scenario.
    Step1; Created a HelloWorld Class with 1 argument constructur
    Another function getMessage which actually returns the message which was an argument.
    Step2 : Compiled the Helloworld.. and is in c:\test folder
    Step 3: I added this c:\test folder in Envinronment settings.
    step 4: Opend forms 9i and imported the class HelloWorld.
    Step 5: Opened up an pl/sql editor and started typing the below code
    DECLARE
    jo ora_java.jobject;
    BEGIN
    jo := HelloWorld.new('Test');
    end;
    If compiled it generates Error 201. HelloWorld.new('Test') must be declared.
    What are the other settings i need to do for getting rid of this instantiation error.
    Regards,
    ashwath.

    Hi,
    I am not able to instantiate a new object of class that i have created.
    Below is the scenario.
    Step1; Created a HelloWorld Class with 1 argument constructur
    Another function getMessage which actually returns the message which was an argument.
    Step2 : Compiled the Helloworld.. and is in c:\test folder
    Step 3: I added this c:\test folder in Envinronment settings.
    step 4: Opend forms 9i and imported the class HelloWorld.
    Step 5: Opened up an pl/sql editor and started typing the below code
    DECLARE
    jo ora_java.jobject;
    BEGIN
    jo := HelloWorld.new('Test');
    end;
    If compiled it generates Error 201. HelloWorld.new('Test') must be declared.
    What are the other settings i need to do for getting rid of this instantiation error.
    Regards,
    ashwath.

Maybe you are looking for

  • Check For Null ResultSet

    i need to do an if statement that if the resultset is not null do condition1 and if it is null...do condition 2... does anyone know how todo this?

  • Optimize the query as it takes long time

    hi dear please help to optimize thi sql and take more than 45minits to return out put. This has to be optimize at lease 3-4 mints. SELECT DISTINCT(ce.event_source) AS mobile_no FROM CUSTEVENTSOURCE ce,CUSTHASPACKAGE cp WHERE (cp.package_id =119 AND c

  • Adobe Digital Editions not responding

    I try to open adobe digital editions and it says not responding as soon as I open it and it does nothing for hours.  It still does this even after uninstalling it and reinstalling it.  I really need this program to work on three essays.  Please help.

  • Doesn't always read external HD....any way to fix that?

    Hey folks. I have to plug in my external hard drive 10 times sometimes before my mac picks it up. Is there a way to fix this? Thanks.

  • I use iChat 4.0 - where is the discussion group?

    I have "iChat 4.0". Is there an "iChat AV 4.0"? What is the difference between iChat and iChat AV? I only see a discussion group for iChat AV - the newest of which is iChat AV 3. Color me confused. Thanks for any help.