Accessing methods of COM component

I have a COM component whose methods I want to access in Developer/2000 Forms.
Is this possible? Does Forms have support for COM and COM+ servers? Which version of Forms have support for accessing COM components?
Also, Can I pass parameters while executing the application created using Developer/2000? If yes, can you tell me how to do it?
Thanks.
Mustansir Udaipurwala

You can use the OLE2 built in package (see online help) to communicate with com objects and pass parameters.
I'll suggest you'll have a look at the forms demos to see integration with excel and on metalink.oracle.com for more samples.

Similar Messages

  • Access COM component in Java

    I am trying to access a COM component in Java. I want to bring up the Windows clock (which I understand is a component) and call it up from within my code. I just need it to appear - not do anything specific. I did post this question and one person said it was not something normally done in Java and that I should use a Java-COM bridge. While I am not opposed to that - I am trying to keep the solution within Java without using third party components if possible.
    I have got the impression from some things I've read in various forums and elsewhere that it is possible to do with JNI by using a wrapper written in C. Have I got that right? If so - how would I go about doing that? Could someone point me in the right direction of some examples that might be similar to what I'm trying to do?
    Any help would be appreciated....

    Regarding the reasons behind the clock:
    I am using a product (work-related) that has a java engine built into it to allow the user to manipulate columns of a database with built in functions written in Java. However, within this mini-development area you can also run regular java code.
    I will in the not-too-distant future need to access a COM component from a third party vendor that will allow me to do various data checks on data (i.e. post code verification) so I want to know how to access COM components generally as well. The idea behind accessing the windows clock (and by "accessing" I mean just throwing it up on the screen and not doing anything else) is that (a) it is an easily recognizable COM component in the windows environment and (b) it should then be fairly easy to translate what I have learned to allow me to integrate the other component. ( I hope! )
    I think for the time being I will look to the tutorial and see if I can get anywhere with that.
    Having explained a little further what I'm trying to do - any further suggestions on things to read or look at are welcome. And thanks to everyone who responded - this is new territory for me and I'm muddling through it as best I can. I do appreciate you all taking the time to help me.

  • How can JSP access a COM+ component

    I have to develop JSP pages that leverage existing Microsoft COM+ components. Can anyone suggest a good resource or provide me with a quick explanation/overview of how I would access a COM+ component from JSP? I'm getting exhausted searching the internet for answers only to come up empty. Thanks...

    I use Neva Object (www.nevaobject.com) for this sort of thing. This is a commercial product. The product does what it says it does and that is as far as I will endorse it.
    Since purchasing it I came accross
    http://staff.develop.com/halloway/code/jawin.html
    This looks like it will do much of the same thing but is more suitable for scriptable COM objects. It is also an open source license.
    I don't have any experience with jawin but the support community looks strong. Checking out their website will be worth your time.
    Good luck
    Bill

  • Accessing method of used compoent from a using component

    hi
    i have a USED component which implements a interface and its method display_flights.
    now i want to call this method from USING component. i have written the below coode
    lr_interfacecontroller TYPE REF TO ZIWCI_COMP_1.  " zcomp_1 is used component
    lr_interfacecontroller = wd_this->wd_cpifc_details_comp( ). " details_comp is component usage
    LR_INTERFACECONTROLLER->display_details(
    is_flight = ls_flights ).
    now problem is LR_INTERFACECONTROLLER doesnot have a method called display_details but only method wd_get_api
    how do i call method display_details from wd_get_api.

    lr_interfacecontroller TYPE REF TO ZIWCI_COMP_1. " zcomp_1 is used component
    your lr_interfacecontroller  actually does not have this method and hence in the compile time you would get this error.
    What you can do is change the type ref to to your interface type.
    lr_interfacecontroller TYPE REF TO <replace with your interface like if_wd_my inteface>
    This would solve your problem.

  • Not able to Access the Remote EJB component

    Hi,
    Please help me i am trying to access the EJB Remote Component through my struts application but i am getting following error:
    Aug 23, 2007 4:49:06 PM org.apache.coyote.http11.Http11Protocol init
    INFO: Initializing Coyote HTTP/1.1 on http-8081
    Aug 23, 2007 4:49:06 PM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 2086 ms
    Aug 23, 2007 4:49:06 PM org.apache.catalina.core.StandardService start
    INFO: Starting service Catalina
    Aug 23, 2007 4:49:06 PM org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.0.28
    Aug 23, 2007 4:49:06 PM org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    Aug 23, 2007 4:49:06 PM org.apache.catalina.core.StandardHost getDeployer
    INFO: Create Host deployer for direct deployment ( non-jmx )
    Aug 23, 2007 4:49:06 PM org.apache.catalina.core.StandardHostDeployer install
    INFO: Processing Context configuration file URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\Catalina\localhost\admin.xml
    Aug 23, 2007 4:49:08 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    Aug 23, 2007 4:49:08 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
    Aug 23, 2007 4:49:09 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true
    Aug 23, 2007 4:49:11 PM org.apache.catalina.core.StandardHostDeployer install
    INFO: Processing Context configuration file URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\Catalina\localhost\balancer.xml
    Aug 23, 2007 4:49:11 PM org.apache.catalina.core.StandardHostDeployer install
    INFO: Processing Context configuration file URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\Catalina\localhost\manager.xml
    Aug 23, 2007 4:49:11 PM org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /registration from URL file:C:/Program Files/Apache Software Foundation/Tomcat 5.0/webapps/registration
    Aug 23, 2007 4:49:11 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:49:11 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:49:11 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:49:11 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:49:11 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:49:11 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:49:11 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:49:12 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:49:12 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:49:12 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:49:12 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:49:12 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:49:12 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:49:12 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:49:14 PM org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /customercare from URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\customercare
    Aug 23, 2007 4:49:15 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:49:15 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:49:15 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:49:15 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:49:15 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:49:15 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:49:15 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:49:15 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
    INFO: validateJarFile(C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\customercare\WEB-INF\lib\servlet.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
    Aug 23, 2007 4:49:16 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:49:16 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:49:16 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:49:16 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:49:16 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:49:16 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:49:16 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:49:16 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    Aug 23, 2007 4:49:16 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
    Aug 23, 2007 4:49:18 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='com.Test.customercare.web.application', returnNull=true
    Aug 23, 2007 4:49:18 PM org.apache.struts.tiles.TilesPlugin init
    INFO: Tiles definition factory loaded for module ''.
    Aug 23, 2007 4:49:19 PM org.apache.struts.validator.ValidatorPlugIn initResources
    INFO: Loading validation rules file from '/WEB-INF/validator-rules.xml'
    Aug 23, 2007 4:49:39 PM org.apache.struts.validator.ValidatorPlugIn initResources
    SEVERE: Connection timed out: connect
    java.net.ConnectException: Connection timed out: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
         at java.net.Socket.connect(Socket.java:452)
         at java.net.Socket.connect(Socket.java:402)
         at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
         at sun.net.www.http.HttpClient.openServer(HttpClient.java:402)
         at sun.net.www.http.HttpClient.openServer(HttpClient.java:618)
         at sun.net.www.http.HttpClient.<init>(HttpClient.java:306)
         at sun.net.www.http.HttpClient.<init>(HttpClient.java:267)
         at sun.net.www.http.HttpClient.New(HttpClient.java:339)
         at sun.net.www.http.HttpClient.New(HttpClient.java:320)
         at sun.net.www.http.HttpClient.New(HttpClient.java:315)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:521)
         at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:498)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:626)
         at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
         at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
         at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)
         at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
         at org.apache.commons.digester.Digester.parse(Digester.java:1514)
         at org.apache.commons.validator.ValidatorResourcesInitializer.initialize(ValidatorResourcesInitializer.java:256)
         at org.apache.struts.validator.ValidatorPlugIn.initResources(ValidatorPlugIn.java:224)
         at org.apache.struts.validator.ValidatorPlugIn.init(ValidatorPlugIn.java:167)
         at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1105)
         at org.apache.struts.action.ActionServlet.init(ActionServlet.java:468)
         at javax.servlet.GenericServlet.init(GenericServlet.java:211)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029)
         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4013)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4357)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
         at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:277)
         at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
         at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:701)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:432)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
         at org.apache.catalina.core.StandardService.start(StandardService.java:480)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
    Aug 23, 2007 4:49:39 PM org.apache.struts.validator.ValidatorPlugIn initResources
    INFO: Loading validation rules file from '/WEB-INF/validation.xml'
    Aug 23, 2007 4:50:00 PM org.apache.struts.validator.ValidatorPlugIn initResources
    SEVERE: Connection timed out: connect
    java.net.ConnectException: Connection timed out: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
         at java.net.Socket.connect(Socket.java:452)
         at java.net.Socket.connect(Socket.java:402)
         at sun.net.NetworkClient.doConnect(NetworkClient.java:139)
         at sun.net.www.http.HttpClient.openServer(HttpClient.java:402)
         at sun.net.www.http.HttpClient.openServer(HttpClient.java:618)
         at sun.net.www.http.HttpClient.<init>(HttpClient.java:306)
         at sun.net.www.http.HttpClient.<init>(HttpClient.java:267)
         at sun.net.www.http.HttpClient.New(HttpClient.java:339)
         at sun.net.www.http.HttpClient.New(HttpClient.java:320)
         at sun.net.www.http.HttpClient.New(HttpClient.java:315)
         at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:521)
         at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:498)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:626)
         at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
         at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
         at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)
         at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
         at org.apache.commons.digester.Digester.parse(Digester.java:1514)
         at org.apache.commons.validator.ValidatorResourcesInitializer.initialize(ValidatorResourcesInitializer.java:256)
         at org.apache.struts.validator.ValidatorPlugIn.initResources(ValidatorPlugIn.java:224)
         at org.apache.struts.validator.ValidatorPlugIn.init(ValidatorPlugIn.java:167)
         at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:1105)
         at org.apache.struts.action.ActionServlet.init(ActionServlet.java:468)
         at javax.servlet.GenericServlet.init(GenericServlet.java:211)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029)
         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4013)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4357)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
         at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:277)
         at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
         at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:701)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:432)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
         at org.apache.catalina.core.StandardService.start(StandardService.java:480)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
    Aug 23, 2007 4:50:00 PM com.Test.framework.web.security.SecurityPlugIn init
    INFO: Loading roles and permissions for CBS...
    Aug 23, 2007 4:50:00 PM com.Test.framework.web.security.SSOAccessController loadRolesAndPermissions
    INFO: Loading permissions for application CBS...
    Aug 23, 2007 4:50:01 PM org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /jsp-examples from URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\jsp-examples
    Aug 23, 2007 4:50:01 PM org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path from URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\ROOT
    Aug 23, 2007 4:50:01 PM org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /servlets-examples from URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\servlets-examples
    Aug 23, 2007 4:50:01 PM org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /StrutsExample from URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\StrutsExample
    Aug 23, 2007 4:50:01 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:50:01 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:50:01 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:50:01 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:50:01 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:50:01 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:50:01 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:50:01 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
    INFO: validateJarFile(C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\StrutsExample\WEB-INF\lib\servlet.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
    Aug 23, 2007 4:50:02 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:50:02 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:50:02 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:50:02 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:50:02 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:50:02 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:50:02 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:50:02 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    Aug 23, 2007 4:50:02 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
    Aug 23, 2007 4:50:02 PM org.apache.commons.digester.Digester error
    SEVERE: Parse Error at line 25 column 17: The content of element type "struts-config" must match "(data-sources?,form-beans?,global-exceptions?,global-forwards?,action-mappings?,controller?,message-resources*,plug-in*)".
    org.xml.sax.SAXParseException: The content of element type "struts-config" must match "(data-sources?,form-beans?,global-exceptions?,global-forwards?,action-mappings?,controller?,message-resources*,plug-in*)".
         at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
         at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
         at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
         at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
         at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source)
         at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source)
         at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
         at org.apache.commons.digester.Digester.parse(Digester.java:1495)
         at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:944)
         at org.apache.struts.action.ActionServlet.init(ActionServlet.java:465)
         at javax.servlet.GenericServlet.init(GenericServlet.java:211)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029)
         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4013)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4357)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
         at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:277)
         at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
         at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:701)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:432)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
         at org.apache.catalina.core.StandardService.start(StandardService.java:480)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
    Aug 23, 2007 4:50:02 PM org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /StrutsExample_CMP from URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\StrutsExample_CMP
    Aug 23, 2007 4:50:02 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:50:02 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:50:02 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:50:02 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:50:02 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:50:02 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:50:02 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:50:02 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
    INFO: validateJarFile(C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\StrutsExample_CMP\WEB-INF\lib\servlet.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
    Aug 23, 2007 4:50:02 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:50:02 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:50:02 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:50:02 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:50:02 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:50:02 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:50:02 PM java.util.jar.Attributes read
    WARNING: Duplicate name in Manifest: Class-Path
    Aug 23, 2007 4:50:02 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    Aug 23, 2007 4:50:02 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
    Aug 23, 2007 4:50:03 PM org.apache.commons.digester.Digester error
    SEVERE: Parse Error at line 25 column 17: The content of element type "struts-config" must match "(data-sources?,form-beans?,global-exceptions?,global-forwards?,action-mappings?,controller?,message-resources*,plug-in*)".
    org.xml.sax.SAXParseException: The content of element type "struts-config" must match "(data-sources?,form-beans?,global-exceptions?,global-forwards?,action-mappings?,controller?,message-resources*,plug-in*)".
         at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
         at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
         at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
         at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
         at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source)
         at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source)
         at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
         at org.apache.commons.digester.Digester.parse(Digester.java:1495)
         at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:944)
         at org.apache.struts.action.ActionServlet.init(ActionServlet.java:465)
         at javax.servlet.GenericServlet.init(GenericServlet.java:211)
         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1029)
         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:862)
         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4013)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4357)
         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
         at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:277)
         at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
         at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:701)
         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:432)
         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
         at org.apache.catalina.core.StandardService.start(StandardService.java:480)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
    Aug 23, 2007 4:50:03 PM org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /tomcat-docs from URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\tomcat-docs
    Aug 23, 2007 4:50:03 PM org.apache.catalina.core.StandardHostDeployer install
    INFO: Installing web application at context path /webdav from URL file:C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\webdav
    Aug 23, 2007 4:50:03 PM org.apache.coyote.http11.Http11Protocol start
    INFO: Starting Coyote HTTP/1.1 on http-8081
    Aug 23, 2007 4:50:03 PM org.apache.jk.common.ChannelSocket init
    INFO: JK2: ajp13 listening on /0.0.0.0:8009
    Aug 23, 2007 4:50:03 PM org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/93 config=C:\Program Files\Apache Software Foundation\Tomcat 5.0\conf\jk2.properties
    Aug 23, 2007 4:50:04 PM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 57514 ms
    In

    SEVERE: Parse Error at line 25 column 17: The content
    of element type "struts-config" must match
    "(data-sources?,form-beans?,global-exceptions?,global-
    forwards?,action-mappings?,controller?,message-resourc
    es*,plug-in*)".
    org.xml.sax.SAXParseException: The content of element
    type "struts-config" must match
    "(data-sources?,form-beans?,global-exceptions?,global-
    forwards?,action-mappings?,controller?,message-resourc
    es*,plug-in*)".It's due to an error with your struts-config.xml. Your elements in the <struts-config> tag are not conforming to the DTD against which it is validated. Check if the order of the elements is as specified in this error message and also check if you have closed all tags correctly.

  • Spring java.lang.IllegalAccessError: tried to access method org.springframe

    Hi
    I am looking to use OEPE to allow me to adapt a RAD approach to the web part of our applications while keeping our CI builds consistant.
    We use WebLogic 10.3 with struts 1.2.9, Spring 2.5, Hibernate 3.X and maven 2.
    I am using Eclipse 3.5 SR1 with OEPE version Oracle Enterprise Pack for Eclipse 11.1.1.3.0
    I created a test Dynamic Web Application using maven 2 and this works OK with a test WebLogic Server 10.3. I then deleted this from the WebLogic Server so I could try using it with OEPE.
    I deploy this Dynamic Web Application using OEPE (via autogenerated_ear_) to WebLogic Server
    My initial problems were classpath errors where it seems that my Maven dependent jars were NOT picked up by my web application. To overcome this I copied the maven dependencies to <my web app>\src\main\webapp\WEB-INF\lib
    I could then use my initial struts action but failed with:
    Root cause of ServletException.
    java.lang.IllegalAccessError: tried to access method org.springframework.web.struts.ActionSupport.getWebApplicationContext()Lorg/springframework/web/context/WebApplicationContext; from class com.myco.springtxn.web.struts.SaveNewCakeAction_beaVersion0_7
         at com.myco.springtxn.web.struts.SaveNewCakeAction_beaVersion0_7.execute(SaveNewCakeAction.java:31)
         at com.myco.springtxn.web.struts.SaveNewCakeAction.execute(SaveNewCakeAction.java)
         CakeService cakeService = (CakeService) getWebApplicationContext().getBean("cakeService");
    Some more data:
    TRACE:
    Saving Cake with name oepe cake and description copied in jars
    <24-Oct-2009 21:13:16 o'clock BST> <Error> <HTTP> <BEA-101017> <[weblogic.servlet.internal.WebAppServletContext@d9f6cb - appName: '_auto_generated_ear_', name: 'sdw', context-path: '/sdw', spec-version: '2.5', request: weblogic.servlet.internal.ServletRequestImpl@148bedb[
    POST /sdw/saveNewCake.do HTTP/1.1
    Accept: */*
    Referer: http://localhost:7001/sdw/enterCake.do
    Accept-Language: en-gb
    Content-Type: application/x-www-form-urlencoded
    UA-CPU: x86
    Accept-Encoding: gzip, deflate
    User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; NGD_build; .NET CLR 1.1.4322; .NET CLR 2.0.50727; MS-RTC LM 8; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
    Content-Length: 41
    Connection: Keep-Alive
    Cache-Control: no-cache
    Cookie: refresh=; JSESSIONID=dG4BKjLBdL3LWMPkJG3r1Tw64hjpBMWwvplvypkGZlTYhb6cJD9M!-36198065; ADMINCONSOLESESSION=7gyTKjLQgQfNlPlQ1cBydQXgHcgljjQn8tnHL4Qn5GWr8pLWZG0W!1523650153
    ]] Root cause of ServletException.
    java.lang.IllegalAccessError: tried to access method org.springframework.web.struts.ActionSupport.getWebApplicationContext()Lorg/springframework/web/context/WebApplicationContext; from class com.myco.springtxn.web.struts.SaveNewCakeAction_beaVersion0_7
         at com.myco.springtxn.web.struts.SaveNewCakeAction_beaVersion0_7.execute(SaveNewCakeAction.java:31)
         at com.myco.springtxn.web.struts.SaveNewCakeAction.execute(SaveNewCakeAction.java)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.utils.FastSwapFilter.doFilter(FastSwapFilter.java:66)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    >
    I AM USING;
    1. Operating System - Windows XP Professional
    2. Eclipse Version - 3.5.1
    3. WLS Version - 10.3
    4. Brief app shape description. Dynamic Web App
    5. The .classpath a
    <?xml version="1.0" encoding="UTF-8"?>
    <classpath>
         <classpathentry kind="src" output="target/classes" path="src/main/java"/>
         <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
         <classpathentry kind="con" path="oracle.eclipse.tools.weblogic.lib.system">
              <attributes>
                   <attribute name="owner.project.facets" value="jst.web"/>
              </attributes>
         </classpathentry>
         <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
         <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
         <classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/Spring2.5">
              <attributes>
                   <attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
                   <attribute name="owner.project.facets" value="oracle.struts;spring.core"/>
              </attributes>
         </classpathentry>
         <classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/Struts">
              <attributes>
                   <attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
                   <attribute name="owner.project.facets" value="oracle.struts"/>
              </attributes>
         </classpathentry>
         <classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
         <classpathentry kind="output" path="target/classes"/>
    </classpath>
    web app cache
    <webapp-structure>
    <registeredFiles>
    <entry>
    <string>currentBuild</string>
    <path-set>
    <pathsSet class="linked-hash-set">
    <string>index.jsp</string>
    <string>META-INF/MANIFEST.MF</string>
    <string>pages/cakeSavedInfo.jsp</string>
    <string>pages/enterCake.jsp</string>
    <string>pages/welcome.jsp</string>
    <string>WEB-INF/applicationContext.xml</string>
    <string>WEB-INF/config/struts-config.xml</string>
    <string>WEB-INF/tld/c.tld</string>
    <string>WEB-INF/tld/fmt.tld</string>
    <string>WEB-INF/tld/struts-bean.tld</string>
    <string>WEB-INF/tld/struts-html-el.tld</string>
    <string>WEB-INF/tld/struts-html.tld</string>
    <string>WEB-INF/tld/struts-logic.tld</string>
    <string>WEB-INF/tld/struts-tiles.tld</string>
    <string>WEB-INF/web.xml</string>
    <string>WEB-INF/weblogic.xml</string>
    <string>WEB-INF/classes/com/myco/springtxn/web/controller/CakeController.class</string>
    <string>WEB-INF/classes/com/myco/springtxn/web/controller/spring/AnnotatedSpringCakeController.class</string>
    <string>WEB-INF/classes/com/myco/springtxn/web/struts/CakeForm.class</string>
    <string>WEB-INF/classes/com/myco/springtxn/web/struts/EnterNewCakeAction.class</string>
    <string>WEB-INF/classes/com/myco/springtxn/web/struts/SaveNewCakeAction.class</string>
    <string>WEB-INF/classes/com/myco/springtxn/web/util/Logging.class</string>
    <string>WEB-INF/lib/SpringTxnServices-0.0.1-SNAPSHOT.jar</string>
    <string>WEB-INF/lib/spring-2.5.6.jar</string>
    <string>WEB-INF/lib/commons-logging-1.0.4.jar</string>
    <string>WEB-INF/lib/commons-lang-2.4.jar</string>
    <string>WEB-INF/lib/hibernate-core-3.3.1.GA.jar</string>
    <string>WEB-INF/lib/antlr-2.7.2.jar</string>
    <string>WEB-INF/lib/commons-collections-3.1.jar</string>
    <string>WEB-INF/lib/dom4j-1.6.1.jar</string>
    <string>WEB-INF/lib/xml-apis-1.0.b2.jar</string>
    <string>WEB-INF/lib/jta-1.1.jar</string>
    <string>WEB-INF/lib/slf4j-api-1.5.2.jar</string>
    <string>WEB-INF/lib/hibernate-annotations-3.4.0.GA.jar</string>
    <string>WEB-INF/lib/ejb3-persistence-1.0.2.GA.jar</string>
    <string>WEB-INF/lib/hibernate-commons-annotations-3.1.0.GA.jar</string>
    <string>WEB-INF/lib/hibernate-entitymanager-3.4.0.GA.jar</string>
    <string>WEB-INF/lib/javassist-3.4.GA.jar</string>
    <string>WEB-INF/lib/hibernate-validator-3.1.0.GA.jar</string>
    <string>WEB-INF/lib/slf4j-log4j12-1.5.2.jar</string>
    <string>WEB-INF/lib/log4j-1.2.14.jar</string>
    <string>WEB-INF/lib/SpringLegacyModule-0.0.1-SNAPSHOT.jar</string>
    <string>WEB-INF/lib/struts-1.2.9.jar</string>
    <string>WEB-INF/lib/commons-beanutils-1.7.0.jar</string>
    <string>WEB-INF/lib/commons-digester-1.6.jar</string>
    <string>WEB-INF/lib/commons-fileupload-1.0.jar</string>
    <string>WEB-INF/lib/commons-validator-1.1.4.jar</string>
    <string>WEB-INF/lib/oro-2.0.7.jar</string>
    <string>WEB-INF/lib/xalan-2.5.1.jar</string>
    <string>WEB-INF/lib/struts-el-1.2.9.jar</string>
    <string>WEB-INF/lib/standard-1.0.6.jar</string>
    <string>WEB-INF/lib/jstl-1.1.2.jar</string>
    <string>WEB-INF/lib/spring-webmvc-struts-2.5.6.jar</string>
    <string>WEB-INF/lib/spring-beans-2.5.6.jar</string>
    <string>WEB-INF/lib/spring-core-2.5.6.jar</string>
    <string>WEB-INF/lib/spring-context-2.5.6.jar</string>
    <string>WEB-INF/lib/aopalliance-1.0.jar</string>
    <string>WEB-INF/lib/spring-web-2.5.6.jar</string>
    <string>WEB-INF/lib/spring-webmvc-2.5.6.jar</string>
    <string>WEB-INF/lib/spring-context-support-2.5.6.jar</string>
    </pathsSet>
    </path-set>
    </entry>
    </registeredFiles>
    </webapp-structure>

    Got back to testing this (been busy in my day job). I realised that I had not tested hot deployment. So I switched on FastSwop by adding the following the the weblogic.xml (of the web applicatiion):
    Gives
    Accept-Encoding: gzip, deflate
    User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; NGD_build; .NET CLR 1.1.4322; .NET CLR 2.0.50727; MS-RTC LM 8; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
    Content-Length: 22
    Connection: Keep-Alive
    Cache-Control: no-cache
    Cookie: JSESSIONID=T6PTK7yS3jdJzzLsP5nNB6TNCyLFMcYxZf8j1rRRGBXZ8hSbBQT2!580994594
    ]] Root cause of ServletException.
    java.lang.IllegalAccessError: tried to access method org.springframework.web.struts.ActionSupport.getWebApplicationContext()Lorg/springframework/web/context/WebApplicationContext; from class com.myco.springtxn.web.struts.SaveNewCakeAction_beaVersion0_8
         at com.myco.springtxn.web.struts.SaveNewCakeAction_beaVersion0_8.execute(SaveNewCakeAction.java:31)
         at com.myco.springtxn.web.struts.SaveNewCakeAction.execute(SaveNewCakeAction.java)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
         Truncated. see log file for complete stacktrace
    >
    I find this sad since using tomcat I can hot deploy without any problem

  • Error accessing method in 3rd party dll

    already asked for help a few weeks ago but no one answered and i still wasn't able to figure out what the problem...
    i have a 3rd party dll and im trying to access some methods (USING JNI)- i have no problem accessing methods with no parameters and they work fine but a method with parameters just wwont work.
    i guess that its something with my syntax - probably incorrect data type when converting from java type to native type...
    i dont have any previous expirience with c so help would be appriciated...
    heres my java code:
    package pavel2.javay;
    class Test {
        native String VersionGet();
        native String loadDll();
        native String LogInMT4(int account,String  pass,String server,String a,String v,String c,String d);
        static {
            System.loadLibrary("pavel2");
        public static void main(String args[]) {
            Test t = new Test();
            System.out.println(t.loadDll());
            System.out.println(t.LogInMT4(230622,"qd1bvvs","Orion-DEMO","","","",""));
    }and the dll wrapper:
    #include <windows.h>
    #include <C:\\Program Files\\Java\\jdk1.6.0_10\\include\\jni.h>
    #include <C:\\Program Files\\Java\\jdk1.6.0_10\\include\\win32\\jni_md.h>
    typedef char*   (*LogIn_MT4)( const int login, const char *password, const char *server, const char *proxyserver,
                   const char *proxytype, const char *proxylogin, const char *proxypassword);
    HINSTANCE hOle2Dll;
    JNIEXPORT jstring JNICALL Java_pavel2_javay_Test_loadDll(JNIEnv * env, jobject jobj){
         hOle2Dll = LoadLibrary(TEXT("D:\\pavel2\\tzmt4api.dll"));
         return  (*env)->NewStringUTF(env, "tzmt4api.dll loaded!!");
         /*if (OleInitialize(NULL) == S_OK)
              if ( hOle2Dll >= 32 )
                   //FreeLibrary ( hOle2Dll ) ;
    JNIEXPORT jstring JNICALL Java_pavel2_javay_Test_LogInMT4(JNIEnv * env, jobject jobj,jint login, jstring password, jstring server,jstring proxyserver,jstring proxytype,jstring proxylogin,jstring proxypassword){
                   LogIn_MT4 fnc ;
                   fnc = (LogIn_MT4)GetProcAddress ( hOle2Dll , "LogIn_MT4" ) ;
                   if ( fnc == NULL )
                        MessageBox(NULL, TEXT("Error loading Method"), TEXT("Error"), MB_OK);
                   else
                   const char *pass = (*env)->GetStringUTFChars(env, password, NULL);
                   const char *ser = (*env)->GetStringUTFChars(env, server, NULL);
                   const char *proxyserv = (*env)->GetStringUTFChars(env, proxyserver, NULL);
                   const char *proxyt = (*env)->GetStringUTFChars(env, proxytype, NULL);
                   const char *proxylog = (*env)->GetStringUTFChars(env, proxylogin, NULL);
                   const char *proxypass = (*env)->GetStringUTFChars(env, proxypassword, NULL);
                   int a=fnc(login, pass, ser, proxyserv,proxyt,proxylog,proxypass);
                   (*env)->ReleaseStringUTFChars(env, password, pass);
                   (*env)->ReleaseStringUTFChars(env, server, ser);
                   (*env)->ReleaseStringUTFChars(env, proxyserver, proxyserv);
                   (*env)->ReleaseStringUTFChars(env, proxytype, proxyt);
                   (*env)->ReleaseStringUTFChars(env, proxylogin, proxylog);
                   (*env)->ReleaseStringUTFChars(env, proxypassword, proxypass);
                   //return  (*env)->NewStringUTF(env, empty);
                   return  (*env)->NewStringUTF(env, "logged");
                             //int c = fnc(login, *password, *server, "", "", "", "");
    BOOL APIENTRY DllMain( HMODULE hModule,
                           DWORD  ul_reason_for_call,
                           LPVOID lpReserved
         switch (ul_reason_for_call)
         case DLL_PROCESS_ATTACH:
         case DLL_THREAD_ATTACH:
         case DLL_THREAD_DETACH:
         case DLL_PROCESS_DETACH:
              //todo: unregister class here
              break;
         return TRUE;
    }this is the output:
    tzmt4api.dll loaded!!
    # An unexpected error has been detected by Java Runtime Environment:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0xcccccccc, pid=3792, tid=3824
    # Java VM: Java HotSpot(TM) Client VM (11.0-b15 mixed mode, sharing windows-x86)
    # Problematic frame:
    # C 0xcccccccc
    # An error report file with more information is saved as:
    # C:\Program Files\TradeZone\TZMT4APInew\Work\hs_err_pid3792.log
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.
    Process finished with exit code 1
    p.s - it looks like the login method works but when returning to java the VM crashes
    can anyone help me?

    jschell - tried this already and got the same ..
    ejp - i cant do this bucause i dont have a .lib and this proccess can run only on windows unfortunately...
    my problem is that i dont know the how to create the correct type for the method:
    this is the signature:
    typedef int  (*LogIn_MT4)( const int login, const char *password, const char *server, const char *proxyserver,
                   const char *proxytype, const char *proxylogin, const char *proxypassword);how do i create in c this var types?
    int a=fnc(1531, "asas", "asd", "","","","");how do i create
    const char *xxx type? and its okay for the int just to write a number or i also need to declare it?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to Use COM Component in a Java Bean

    Dear Sir,
    How can I use a COM Component in a Java-Bean . I am having a COM Component for reading Weighment Reading on a Serial Port and want to use this Component in a Java-Bean . I would also like to call the methods of this COM Component inside my Java-Bean . COM Component is a dll file .
    Please guide me how to go ahead . If possible kindly provide some sample code for the same .
    With Thanks and Regards
    B V Mittal

    You need a Java to COM bridge like Jacob. Try searching this forum for more information, I've answered this question several times before.
    Dom.

  • Could not resolve method to a component implementation

    Hello,
    I have created an action script class extending httpservice while using in mxml page i am trying to set some requests.
    Example
    <Utils:CustomHTTPService id="httpGetAllStations" url="Stations.aspx" method="POST" resultFormat="e4x"
            result="httpGetAllStationsResultHandler(event)" fault="httpGetAllStationsFaultHandler(event)">
            <Utils:request>
                 <method>{onMove}</method>
            </Utils:request>
        </Utils:CustomHTTPService>
    but this line (<method>{onMove}</method>) throws error(Could not resolve <method> to a component implementation).
    How can i resolve this?
    Thanks in Advance.

    yeah, i know that
    are you sure you have xmlns:mx="xmlns:mx="http://www.adobe.com/2006/mxml"

  • Queue access method for In-memory databases

    Hi,
    I am trying to use the Queue access method for an in-memory database
    with no backing file. Here is the how I've created the environment and
    the database.
    int env_flags_create = DB_CREATE | DB_INIT_LOG | DB_INIT_LOCK |
    DB_INIT_MPOOL |DB_INIT_TXN |
    DB_SYSTEM_MEM | DB_RECOVER | DB_THREAD ;
    ret = env->set_shm_key(env, 17);
    ret = env->open(env, R_"in-mem-env", env_flags, 0644);
    int db_flags = DB_CREATE | DB_THREAD | DB_AUTO_COMMIT;
    DB_MPOOLFILE *mpf = subs_db->get_mpf(subs_db);
    mpf->set_flags(mpf, DB_MPOOL_NOFILE, 1);
    ret = queue_db->set_re_len(queue_db, 512);
    ret = queue_db->open(queue_db, NULL, NULL, "queue", DB_QUEUE,
    db_flags, 0644);
    My application has one reader threads and one writer thread. The
    writer write to the queue with the "DB_APPEND" flag and the reader
    consumes the queue using the "DB_CONSUME_WAIT" flag.
    After inserting a few thousand messages the database fails to insert
    any new records and starts returning the following error.
    "unable to allocate space from the buffer cache"
    From the db_stat -e output (attached below) I can see that none of
    the buffer cache pages are ever being freed up.
    149907 Requested pages found in the cache (99%)
    3 Requested pages not found in the cache
    2004 Pages created in the cache
    0 Pages read into the cache
    0 Pages written from the cache to the backing file
    0 Clean pages forced from the cache
    0 Dirty pages forced from the cache
    0 Dirty pages written by trickle-sync thread
    2004 Current total page count
    0 Current clean page count
    2004 Current dirty page count
    4099 Number of hash buckets used for page location
    153851 Total number of times hash chains searched for a page
    BDB reference manual (http://www.oracle.com/technology/documentation/
    berkeley-db/db/api_c/frame.html) says that the pages associated with a
    queue can only be reclaimed by setting a queue extent by using the
    "set_q_extentsize" method. When I try to use this method on my in-
    memory database I get the following error.
    " Extent size may not be specified for in-memory queue database"
    Does this mean that I can never use the queue access method for in-
    memory database? Because no matter how big of a shared memory pool I
    allocate to the in-memory database it will eventually get used up by
    the queue (if I'm inserting and consuming records) and there is no way
    to free up the pages associated with the deleted records.
    thx
    nina

    As far as I know you can choose any method as long as print setting are set to "send to spool"
    Regards
    Juan

  • What is the best way or best practise to access the session scoped component in servelt pipeline?

    Hi Experts,
    What is the best way or best practise to access the session scoped component in servelt pipeline?
    Please share your thoughts.
    Thanks,
    ankV

    To resolve components in the session scope you should be using DynamoHttpServletRequest.resolveName(). And of course the DynamoHttpServletRequest can also be used to resolve global and request scoped components so it is pretty handy to use. You can get the DynamoHttpServletRequest request associated with the current thread from ServletUtil.getCurrentRequest().
    You can also reference a session scoped component from another session (or request) scoped component's property file. E.g. to access profile component (which is session scoped) from your custom session scoped component you would typically do this:
    $class=com.company.MyCustomComponent
    $scope=session
    profile=/atg/userprofiling/Profile

  • Javascript enabling and using JS methods on TextEdit component

    Hello Friends:
    I am working to display data using TableView component.
    In each row, one of the cell contains a group of radio
    buttons and an other cell contains TextEdit component.
    For an event on the group of radio buttons, the TextEdit
    should flip editable to non-editable and vice-versa.
    I am using the TextEdit attribute method,
    <b>setJsObjectNeeded(true)</b>
    to expose the JavaScript methods of the component.
    I am using the following bits of code for accessing the
    TextEdit JavaScript functionality.
    var funcName = htmlb_formid+"_getHtmlbElementId";
    func = window[funcName];
    var text_edit_comp = eval(func(id_of_textedit));
    <b>text_edit_comp.setEnabled()</b>;
    Whole thing works as planned, but it is not possible to
    disable or enable the TextEdit component using the
    JavaScript, as shown above.
    In the portal documentation, the JavaScript object
    methods were mentioned only for certain components, NOT
    including TextEdit !!
    If I replace TextEdit with InputField, it works perfectly
    as like needed.
    How to hack it to work for TextEdit ?
    Thank you very much for your kind answers.
    Prasad Nutalapati

    I did use the suggestion. No use.
    When I say,
    var textedit = eval(func("<id-of-the-textedit-from-java"));
    I am getting the object reference.
    When I say,
    <b>var id = textedit.id;
    var elem = document.getElementById(id);</b>
    I am getting the HTML name/id and object of the text edit.
    Now when I use JS methods and properties,
    alert("type="+elem.type);
    alert("name="+elem.name);
    I get them back correctly.
    Then when I say,
    <b>alert("disable ?"+ document.forms[0].elements[elem.name].disabled;</b>
    I am getting answer as 'false' which is not correct. It
    is initially disabled, when I defined with Java.
    And subsequently, when I say,
    <b>document.forms[0].elements[elem.name].disabled = false;</b>
    It didn't affect it at all.
    If I try to use the JS methods provided by Portal, like..
    <b>textedit.setEnabled();</b>
    It is giving an JS error saying that the object doesn't
    have that method.

  • Create interface method in standard component.

    Hi Experts,i want to enhance standard component.in that i created one attribute and i used in my component.For that attribute the value is passing from some other component.i try to create interface method in standard component.but it is not possible.so please help me out this issue.
    Regards
    prasad

    Hi,
    No, You cannot create Interface Methods/Nodes in Standard Component by Enhancing. I would suggest to create a Singleton class and create your method in that class and can access across components.
    Regards,
    Kiran

  • Frontend Printing Using Access Method G - Properties

    I am looking for some light on Frontend printing using access method G. I am using ERP 4.7 on Windows 2000 and SQL 2000. We are using access method G to print and when users get the pop up dialog to print, the properties and the cancel options are grayed out. The printers are already define in all of our SAP systems. We are using the latest Kernel 640 and patch level 247 as well as sapgui 7.10 with patch 15.
    Thanks for your help in advance

    Hi,
    Check below link:
    http://help.sap.com/saphelp_tm60/helpdata/en/42/dd174f02302cede10000000a1553f7/content.htm
    Thanks
    Sunny

  • How Can i COM Component inside Applet.

    Hi All,
    I want to use a COM component which is calling C API's inside an Java applet. Is there any way i can load COM dll inside applet and directly calls COM's functions.
    Pls give your suggestions.

    One more thing i would like to mention, I go through Implementation of Java Native Interface(JNI) and i can call COM fns through it but it is a longer procees as i have to write stub functions for each API implemented in COM component. If in my COM component is having 100 API then i have to write 100 such functions in JNI..
    I think there should be direct method of calling COM API;s
    Any suggestions.

Maybe you are looking for

  • W 2000 & FF 3.6.1 will not play code bgsound src="AmazingGraceLV.mp3" loop="-1"

    Windows 2000 on my desktop & Firefox 3.6.0 I have the following code on a web page. The file plays on my Laptop with XP and the latest Internet Explorer, but not on the W 2000 machine. I tried to download the plug in I found, but it's only for XP and

  • Mac Blackberry Sync - PocketMac vs. Missing Sync

    I am running a new Imac with 10.5.5 on it.  Had pocketmac running on my G5 fine but after loading it on the new Imac it would crash right after starting.  Tried many things and could not get it to work including the newest pocketmac upgrade fix.  Dec

  • Can I make multiple set of Quiz in one project ?

    My project is a computer multimedia lesson , It's contain 12 Units and there are 12 exams and 12 test , Can I make 12+12 Quiz and there individual result pages... or another way i can manage It ,,, in off-line base. thank you...

  • AT&T contract end?

    I've been hearing a lot of conflicting reports from people and the internet. When does the AT&T contract end with Apple? 2010 or 2012? My best friend told me yesterday he said it ends in 2012 but I've read 2010. So which is it?

  • Unable to reset or restore ipod nano

    Hi, Haven't synced my ipod for over a year and today I connected my nano to my laptop, pressed sync and got a message to say files are corrupted. Looked at ipod and it was syncing however it's actually wiped all files from the ipod. They're still in