FlightList example Problem
Hi,
i haved successfully deployed the FlightList example. I am running the preview Version of the WebAS 6.4 J2EE Engine and the MiniSAP WebAS 6.2 ABAP Stack on a different computer. When i try to execute the example I get the following error:
com.sap.tc.webdynpro.services.exceptions.WDTypeNotFoundException: type com.sap.demo.flightlist.model.types.Bapimaxrow could not be loaded: com.sap.dictionary.runtime.DdException:
at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getSimpleType(DataTypeBroker.java:242)
at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getDataType(DataTypeBroker.java:205)
at com.sap.tc.webdynpro.progmodel.context.AttributeInfo.init(AttributeInfo.java:471)
at com.sap.tc.webdynpro.progmodel.context.NodeInfo.initAttributes(NodeInfo.java:771)
at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:756)
at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:761)
at com.sap.tc.webdynpro.progmodel.context.Context.init(Context.java:40)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:199)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:346)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:352)
at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:593)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:249)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
Caused by: com.sap.dictionary.runtime.DdException:
at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker$1.fillSldConnection(DataTypeBroker.java:89)
at com.sap.dictionary.runtime.ProviderFactory.internalResolveLogicalNameToJCODestination(ProviderFactory.java:408)
at com.sap.dictionary.runtime.ProviderFactory.resolveLogicalNameToJCODestination(ProviderFactory.java:354)
at com.sap.dictionary.runtime.ProviderFactory.internalGetProvider(ProviderFactory.java:215)
at com.sap.dictionary.runtime.ProviderFactory.getProvider(ProviderFactory.java:180)
at com.sap.dictionary.runtime.DdDictionaryPool.getProvider(DdDictionaryPool.java:78)
at com.sap.dictionary.runtime.DdDictionaryPool.getDictionary(DdDictionaryPool.java:64)
at com.sap.dictionary.runtime.DdDictionaryPool.getDictionary(DdDictionaryPool.java:39)
at com.sap.dictionary.runtime.DdBroker.getDataType(DdBroker.java:149)
at com.sap.dictionary.runtime.DdBroker.getSimpleType(DdBroker.java:170)
at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getSimpleType(DataTypeBroker.java:234)
... 31 more
Any ideas where the problem might be?
I just looked at the previous posts at
Re: Problem testing Metadata in JCO connections (Flightlist)
It looks like this kind of problem is common with miniSAP users.
There are some tips like setting up sld using RZ70 which you may want to try
The following point might be helpful
Thanks for your follow-up. ST22 and SM21 did'nt point to anything. What is realy interesting is when I go into SMLG, create a group, use RZ70 to push the changes out, then go into .../Webdynpro/welcome...and run the wizard to create the RFC_METADATA, the group I just created in SMLG is displayed in the Group dropdown.
Message was edited by: Raju Datla
Similar Messages
-
What the devil? Flightlist example problem
Hey. I finally got the JCO stuff working. When I try to launch the application I get this now
Unable to create Metadata connection for Dictionary Provider
Its part of this larger error.
com.sap.tc.webdynpro.services.exceptions.WDTypeNotFoundException: type extern:com.sap.tut.wd.flightlist.model.types.FlightModel:com.sap.tut.wd.flightlist.model.types.Bapisfldat could not be loaded: com.sap.dictionary.runtime.DdException: 'WD_FLIGHTLIST_RFC_METADATA_DEST' not properly defined! Unable to create Metadata connection for Dictionary Provider. Either the logical System Name 'WD_FLIGHTLIST_RFC_METADATA_DEST' has not been properly defined in the System Landscape Directory, or you are not using a MsgServerDestination (AppServerDestinations are not permitted for Metadata connections)
Any idea whats not configured right here?
Thanks much!
- Graeme.Hi Graeme,
This tutorial uses a different set of JCO destination that the default ones. The default ones are WD_MODELDATA_DEST and WD_RFC_METADATA_DEST. Whereas this tutorial uses WD_FLIGHTLIST_RFC_METADATA_DEST. Just make sure that you have configured this RFC destionation also. In webdynpro content administrator you will be able to see if these have been created.
Also this tutorial uses the BAPI's which were not available in the 4.6C system that i was using. Hence the type definitions could not be loaded. Just make sure that you have WAS 6.20 atleast as you backend and hence these BAPI's are available.
Hope this helps
Regards
Sidharth -
Is anybody has the example problem for AD/DA converter controled by PIC16F84?
In my circuit( Multisim 9), I use PIC16F84 as the
MCU to control the DAC and ADC. I want to ask if anyone has the example
problem for the controlling?
Further more, the I/O port of
PIC16F84 seems can not be connected with the digital output of DAC, so
I asked myself, is it right that for PIC16F84, the I/O port can only
connected with the serial port of DAC and ADC? Or it needs a converter
to adapt to the input port of DAC?
Looking for any help! Thanks!You can test the new Design Circuit Suite (includes Multisim10 with MCU10 and Ultiboard 10 with Ultiroute10). When you open Samples you find the folder MCU with PIC folder. In these you can find some examples to PIC16F84. With that as pattern you should solve the problem.
I attached you here the MCU examples in the *.zip
For downloading the 30 days free test version you can use the link:
http://www.ni.com/academic/multisim/ and click to evaluation software
or these link:
https://sine.ni.com/apps/utf8/nigb.confirm?p_gb_prof_id=7350&p_lang=US&p_dl_url=&p_dwnld=N&p_code=GB...
Attachments:
MCUPicScreenshot.zip 964 KB -
RFC_ERROR_SYSTEM_FAILURE with FlightList example
hi,
I am getting this error when I run the flighlist example..can somebody help me?
my EP is SP12
===================
com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: The function module "DD_LANGU_TO_ISOLA" not released for 'remote' calls.
com.sap.tc.webdynpro.services.exceptions.WDTypeNotFoundException: type extern:com.sap.tut.wd.flightlist.model.types.FlightModel:com.sap.tut.wd.flightlist.model.types.Bapisfldat could not be loaded: com.sap.dictionary.runtime.DdException: failed to create provider: The function module "DD_LANGU_TO_ISOLA" not released for 'remote' calls.
at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getStructure(DataTypeBroker.java:305)
at com.sap.tc.webdynpro.progmodel.context.DataNodeInfo.doInit(DataNodeInfo.java:229)
at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:654)
at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:657)
at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:657)
at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:657
===========================Hi,
U can check with this RFC_ERROR_SYSTEM_FAILURE link,
http://help.sap.com/saphelp_erp2005/helpdata/en/ca/115e4088dc0272e10000000a155106/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/f6/daea401675752ae10000000a155106/frameset.htm
Regards,
Vijay -
Oracle BPM - Expense Management Example problem
Hi,
I have just started to explore Oracle BPM Version 10.3.2 and I am trying to execute the Expense Management Project as given in the starters documentation.
http://download.oracle.com/docs/cd/E13154_01/bpm/docs65/tutorial/index.html
After deploying the process and going into the workspace using
http://localhost:8585/workspace
I am not getting anything listed in the Applications tab. It is showing the following error:-
Could not retrievePrincipal applications for process '/ExpenseReporting'.
I searched in this same forum and came across this post:-
Re: Why there is no application in workspace?
which says that it may be due to version conflicts or some error coming up in the problems tab.
I checked my problems tab but it is not showing anything.
Eliminating this I thought it may be due to version conflicts (as i am following the post) so I uninstalled all my JDK's and just installed jdk 1.6 update 21 but still I got the same problem - i think this solved the issue for some users (Satya Anareddy)
Then in one comment in the same post given by Dan (Daniel Atwood ) i tried using the default 1.5 JM.
But still I am getting the same error.
I am completely confused as to what the problem could be.
Please could anyone give me some directions.
Thanks,
Rohit
Edited by: 801493 on Oct 11, 2010 6:02 AM
Edited by: 801493 on Oct 11, 2010 6:03 AMPlease follow this step may this solve your problem.
please modify any thing in process "ExpenseReporting" for example any transition or any activity to place some where else or any other modification and then save that process. Then clean the project and build and deploy it.
if this also not solve the problem then export that project to and import it again in your workspace (Create new workspace or change the project name in same workspace ) and then again clean, build and deploy the application then test in work space.
Thanks,
Brijesh Kumar Singh -
i have install labview 7.1 development software with driver , on windows xp
i am not able to open example . it shows following errors "CAN NOT FIND LabVIEW SERVICE PORT FROM SERVICE LOCATER YOU WILL BOT BE ABLE TO BROWS DIRECTRY STRUCTRY" while when i make any programme it works
please help to solve this problem
thanks
R.R.YADAV
[email protected]Hi,
LabVIEW Example Finder uses NI Service Locator in the background. Try to restart the Service Locator and see if that helps. More information on this can be found at the following link.
http://digital.ni.com/public.nsf/websearch/8C00F1144B2CD73E86256DEF00698AC3?OpenDocument
Also, make sure that there is no antivirus or firewall application running in the background when you try to open the example.
Regards,
Ankita A. -
JWSDP 2.0 JAX-RPC example problem Fast Infoset
Hi,
I installed JWSDP 2.0 and and Tomcat 5.0 for JWSDP. The server runs fine and the example HelloWorld is accessible (I can see the WSDL file in my browser: http://localhost:8080/jaxrpc-HelloWorld/hello?WSDL).
The Problem is that I can not run the client: I tried "ant run-client". The error occurs while trying to create a stub in the file "HelloClient.java" with the following line of code:
stub = (HelloIF_Stub) (helloWorldService.getHelloIFPort());
This is the error I get:
[java] Exception in thread "main" java.lang.NoClassDefFoundError: org/jvnet/fastinfoset/FastInfosetSource
[java] at hello.HelloWorldService_Impl.getHelloIFPort(HelloWorldService_Impl.java:59)
[java] at hello.HelloClient.setUp(HelloClient.java:68)
[java] at hello.HelloClient.main(HelloClient.java:45)
[java] Java Result: 1
I am not sure about the structure of the application, so I don't know where to look for the "FastInfosetSurce" file.
Thanks for any help.
Best regards.Hi,
I reselved the problem by just copying the FastInfoset to the jaxrpc\lib directory (I am sure this should work in a different way).
Well, the next problem I am getting is that the "XMLStreamWriter" class cannot be found. This class is contained in jsr173_api.jar.
I guess my main question is the following:
Which projects are necessary to get this simple helloWorld example to work?
I did set the JWSDP_HOME varible. Is there another setting I have to make to have all necessary jar-files available and to be able to run the samples?
Could anybody point me to a tutorial that does not only show a few lines of code (as the HelloWorld sample in the JWSDP-Tutorial) but that would instead lead me through a step-by-step sample application that I write by myself and actually runs at the end? The example in the JWSDP-Tutorial uses all kinds of existing config files which are not explained.
Thanks for your help. -
PI Demo Examples problems with executing CTC template for client setup
Dear SAP community,
I use PI 7.30 SP 4 and get the following exception if I use the CTC template to set up the PI demo examples in client 105
and 106
Web Services Configuration
Description
Exception in step "SRT_TECHNICAL_SETUP"
Exception details : java.lang.Exception: BAPIRET2 SRT_ADMIN 050 Could not create service destination
State
Step was skipped
In client 107, the template works after I delete the SAP_WSRT user. In clients 105 and 106, this leads to the exception above,
If the SAP_WSRT user exists, I get the exception that this user alreadz exists if I run the template.
What should I do to fix this problem and properly implement the template on all clients?
PS: I use admin users with SAP_ALL rights. Maybe I use the wrong master password, because I use the one of my SAP_ALL user. This works at least for using the template within client107.
AndreasHi Mark,
in my case the workaround of deleting the service user works only in Client 107.
The additional problem with a missing service destination occurs already after deleting the service user in Clients 105 and 106. Will this additional problem also be treated in the new note?
Joerg-Joachim Klossika already added the workaround to this note for the existing service user I proposed to him.
I still cannot resolve the problem with the missing service destination.
regards
Andreas -
Printing/ printing example problems
i needed to print something in a program i'm writing for a school assignment, so i searched the java site i found a example:
"http://java.sun.com/docs/books/tutorial/2d/printing/example-1dot2/ShapesPrint.java"
i picked the code parts that i needed and tried printing to a file, this didn't work, but no exceptions where thrown, so i tried printing to a different file type (i tried jpg/gif and bmp) non worked, so i tried printing for real, no effect. So i figured i was doing something wrong thus i copied the intire code, the code didn't print jack.
so i tried other examples which where very similar, same fx: no content what so ever, yet the file sizes differd depening on what needed to be drawn, so it did something.
now my question how do i print something?
i would be greatfull if someone would provide me with a working code example which can print to a file/paperif i'm correct the example prints the contents of a file to a specified file using the dialog.
i copied the example and specified a gif image to be printed, i gave the argument print to file in the dialog.
i also changed
DocFlavor flavor = DocFlavor.INPUT_STREAM.PNG; to
DocFlavor flavor = DocFlavor.INPUT_STREAM.GIF;
now the file dialog give a out.prn file in the textfield, i changed this to out.gif, which didn't work at all. i created a black gif file. without contents and it didn't match the originals file size.
so basically this didn't work.
also this is part of my problem i forgot to specify that i need to print contents of the program (in example a jtable / drawn strings etc, proberly a whole panel). this example doesn;t include that
i really need to get this working, so plz help me out here (btw remove the example from my first post from the java site it doesn't work) -
HP89410A VSA example problem, Trace data problem
after downloading the VSA driver from NI web, i'm trying the VSA application example vi, but the instrument keeps giving me "invalid seperator;:CALC%d:UPHFFS %f DEG:" error, turned out to be in the DataFormat vi. I'm using the default setup, anyone knows what's going on? and also i'm trying to use this example to measure some spectrum, but sometimes there's no X-trace data. But if i directly wire the VSA VISA session to X-trace and Y-trace subvi, i can get both trace data, seems having problem when concatenate these two subvis (Xtrace, Ytrace). i wonder if it's a time issue, anyone has the experience?
Thx a lot.Hi Bankim,
thx for the message, i deleted the space and also add one more ";" at the last "cal" string, then it seems to be working, attached is the new dataformat vi, u can compare it with the original one. There're altogether 3 places which use the "cal", i'm not sure if i add the ";" right, cos ";" was there in the first 2 string, and if u don't add this ";", u still get an error.
Thx
Ben
Attachments:
HP89400_Data_Format_Fix.vi 85 KB -
I tried the wls2wls example (wls6.1sp3-> wls5.1sp12 ejb). but i get
the following exception
org.omg.CORBA.MARSHAL:
RMI:weblogic.ejb.extensions.EJBHome:0000000000000000 min
or code: 0 completed: No
at weblogic.iiop.IIOPInvocationHandlerImpl.makeInvocationHandler(IIOPInv
ocationHandlerImpl.java:207)
at weblogic.iiop.IIOPInputStream.read_Object(IIOPInputStream.java:804)
at weblogic.iiop.IIOPInputStream.read_Object(IIOPInputStream.java:791)
at weblogic.iiop.AbstractMsgInput.readObject(AbstractMsgInput.java:152)
at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:56)
at weblogic.iiop.IIOPRemoteRef.unmarshalReturn(IIOPRemoteRef.java:269)
at weblogic.iiop.IIOPRemoteRef.invokeInternal(IIOPRemoteRef.java:141)
at weblogic.iiop.IIOPRemoteRef.invoke(IIOPRemoteRef.java:87)
at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
at $Proxy143.resolve(Unknown Source)
at weblogic.jndi.cosnaming.IIOPInitialContext.lookup(IIOPInitialContext.
java:107)
at javax.naming.InitialContext.lookup(InitialContext.java:350)
at examples.iiop.wls2wls.InteropServlet.lookupHome(InteropServlet.java:1
15)
at examples.iiop.wls2wls.InteropServlet.doGet(InteropServlet.java:75)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:265)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:200)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:2546)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2260)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
can anybody tell me what am i doing wrong !
Regards
SivaramI met the same problem now, anybody has any solution?
I think I exactly followed the instruction of the sample, but still not work.
[email protected] (Sivaram) wrote:
I tried the wls2wls example (wls6.1sp3-> wls5.1sp12 ejb). but i get
the following exception
org.omg.CORBA.MARSHAL:
RMI:weblogic.ejb.extensions.EJBHome:0000000000000000 min
or code: 0 completed: No
at weblogic.iiop.IIOPInvocationHandlerImpl.makeInvocationHandler(IIOPInv
ocationHandlerImpl.java:207)
at weblogic.iiop.IIOPInputStream.read_Object(IIOPInputStream.java:804)
at weblogic.iiop.IIOPInputStream.read_Object(IIOPInputStream.java:791)
at weblogic.iiop.AbstractMsgInput.readObject(AbstractMsgInput.java:152)
at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:56)
at weblogic.iiop.IIOPRemoteRef.unmarshalReturn(IIOPRemoteRef.java:269)
at weblogic.iiop.IIOPRemoteRef.invokeInternal(IIOPRemoteRef.java:141)
at weblogic.iiop.IIOPRemoteRef.invoke(IIOPRemoteRef.java:87)
at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
at $Proxy143.resolve(Unknown Source)
at weblogic.jndi.cosnaming.IIOPInitialContext.lookup(IIOPInitialContext.
java:107)
at javax.naming.InitialContext.lookup(InitialContext.java:350)
at examples.iiop.wls2wls.InteropServlet.lookupHome(InteropServlet.java:1
15)
at examples.iiop.wls2wls.InteropServlet.doGet(InteropServlet.java:75)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:265)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:200)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:2546)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2260)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
can anybody tell me what am i doing wrong !
Regards
Sivaram -
WLS 7.0 JTA Oracle example problem
Hi,
I am trying to get the Weblogic 7.0 JTA, Oracle example working.
This example uses two deployed EJB's and different data sources to
transfer money from one to the other.
The example specifies that one of the database pools should be using
an OCI driver. Unfortunatley I don't have these drivers, and really
only want to use the Oracle JDBC thin drivers. The drive I am using is
oracle.jdbc.xa.client.OracleXADataSource
I have set up two database connection pools, both using XA Java thin
drivers.
Every time I run the example is throws an XA error: XAER_PROTO. I
think this is something to do with the XA transaction not being setup.
Have you been able to get the example to work???
Is there some technique in setting up Oracle XA database pools, and
datasources that I am missing?
I am using Oracle 8.1.7.
Thanks for your help.
Regards.
Andy
Here is the stack trace when I try and run the example.
TX: [EJB examples.jta.oracle.SavingAccountBean.findByPrimaryKey(java.lang.String)],
setEntityContex
called
TX: [EJB examples.jta.oracle.SavingAccountBean.findByPrimaryKey(java.lang.String)],
ejbFindByPrimar
Key (ID: 1)
TX: [EJB examples.jta.oracle.SavingAccountBean.findByPrimaryKey(java.lang.String)],
ejbFindByPrimar
Key (ID: 1) found
TX: [EJB examples.jta.oracle.CheckingAccountBean.findByPrimaryKey(java.lang.String)],
setEntityCont
xt called
TX: [EJB examples.jta.oracle.CheckingAccountBean.findByPrimaryKey(java.lang.String)],
ejbFindByPrim
ryKey (ID: 2)
TX: [EJB examples.jta.oracle.CheckingAccountBean.findByPrimaryKey(java.lang.String)],
SQLException:
java.sql.SQLException: XA error: XAER_PROTO : Routine was invoked in
an inproper context start() f
iled on resource 'oracleXAPool': XAER_PROTO : Routine was invoked in
an inproper context
javax.transaction.xa.XAException
at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:146)
at weblogic.jdbc.jta.VendorXAResource.start(VendorXAResource.java:41)
at weblogic.jdbc.jta.DataSource.start(DataSource.java:569)
at weblogic.transaction.internal.ServerResourceInfo.start(ServerResourceInfo.java:1165)
at weblogic.transaction.internal.ServerResourceInfo.xaStart(ServerResourceInfo.java:1108)
at weblogic.transaction.internal.ServerResourceInfo.enlist(ServerResourceInfo.java:287)
at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl
java:391)
at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1146)
at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1101)
at weblogic.jdbc.jta.Connection.getXAConn(Connection.java:145)
at weblogic.jdbc.jta.Connection.prepareStatement(Connection.java:211)
at weblogic.jdbc.rmi.internal.ConnectionImpl.prepareStatement(ConnectionImpl.java:139)
at weblogic.jdbc.rmi.SerialConnection.prepareStatement(SerialConnection.java:92)
at examples.jta.oracle.CheckingAccountBean.ejbFindByPrimaryKey(CheckingAccountBean.java:277
at examples.jta.oracle.CheckingAccountBean_qbus5p_Impl.ejbFindByPrimaryKey(CheckingAccountB
an_qbus5p_Impl.java:197)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.ejb20.manager.BeanManagedPersistenceManager.findByPrimaryKey(BeanManagedPersist
nceManager.java:35)
at weblogic.ejb20.manager.BaseEntityManager.findByPrimaryKey(BaseEntityManager.java:510)
at weblogic.ejb20.manager.BaseEntityManager.remoteFindByPrimaryKey(BaseEntityManager.java:4
4)
at weblogic.ejb20.internal.EntityEJBHome.findByPrimaryKey(EntityEJBHome.java:369)
at examples.jta.oracle.CheckingAccountBean_qbus5p_HomeImpl.findByPrimaryKey(CheckingAccount
ean_qbus5p_HomeImpl.java:100)
at examples.jta.oracle.CheckingAccountBean_qbus5p_HomeImpl_WLSkel.invoke(Unknown
Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:362)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:114)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:313)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:785)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:308)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)Thanks it worked. Somehow I missed in documentation this x.509 setting.
I've also had a problem with setting "Client Certificate Requested But Not Enforced"
in WLS 7.0.0 but it seems to be working fine in SP1.
Thanks again
Greg
"kirann" <[email protected]> wrote:
hi,
I believe you need to turn on x.509 Identity Assertion in the server
console..
Please check the documention.
thanks
kiran
"Greg" <[email protected]> wrote in message
news:3e243a25$[email protected]..
Hi!
I'm trying to set up my web application to use client-cert
authentication. I've set in web.xml login config to
<auth-method>CLIENT-CERT</auth-method>. When I'm accessing my
application I'm always getting 401 Unauthorized. If I set
login to BASIC, browser pops up login dialog and everything works
fine.
I've done following:
- created and installed in WLS trusted CA certificate
- created and installed client certificate signed by that CA in
IE 5.5
- configured WLS to use ssl and set "Client Certificate Enforced"
- managed to connect to document root or console application
using https://localhost:7002/console and verified that accually client
certificate
is used (not able to connect without one)
Now I'm really stuck and have no ideas.
Please help. Thanks in advance.
Greg -
Axis Example problem (CLASSPATH-related ?)
Hi
I am trying to deploy the example5 BeanSerializer example (after successfully completing exercises 1-4). I am running the following command from the samples/userguide/example5 directory:
c:>java org.apache.axis.client.AdminClient -llocal:///AdminService deploy.wsdd
This produces the following non-fatal error:
SEVERE: Unable to deploy typemapping: {urn:BeanService}Order
java.lang.ClassNotFoundException: samples.userguide.example5.Order
I have "." in my CLASSPATH. The compiled .class files have been placed in the tomcat\webapps\axis\WEB-INF\classes\samples\userguide\example5\ folder. But the deployer is unable to locate the Order.class file.
Any clue would be helpful. TIA.
Sierra BravoHello All,
I am having the same kind of problem. I can compile the samples but I cannot run them. As a result, I could not even install the sample webservices.
Here's my description...
I do not know if this is a Java environment problem or my Axis environment problem. So bear with me. I am having difficulty executing the samples that came with Axis 1.4.
I know that my Java environment is OK because I had no problems compiling and executing the included Java JDK samples.
Platform:
=========
Windows XP, SP2
Apached Http Server 2.2 [installed at C:\wtSoftware\Apache2.2]
Tomcat 5.5.17 [installed at C:\wtSoftware\Tomcat5.5]
Axis 1.4 [installed at C:\wtSoftware\Tomcat5.5\webapps\axis]
Sun jdk1.5.0_08 [installed at C:\wtSoftware\jdk1.5.0_08]
copied JAF 1.1 JAR to AXIS_LIB
copied tools.jar to AXIS_LIB
copied JavaMail 1.4 to AXIS_LIB
copied Xerces 2.8.0 to AXIS_LIB
copied XML Security 1.3.0 to AXIS_LIB
AXIS_HOME=C:\wtSoftware\Tomcat5.5\webapps\axis
AXIS_LIB=%AXIS_HOME%\WEB-INF\lib
AXISCLASSPATH=%AXIS_LIB%\axis.jar;%AXIS_LIB%\jaxrpc.jar;%AXIS_LIB%\xercesImpl.jar;%AXIS_LIB%\xml-apis.jar;%AXIS_LIB%\saaj.jar;%AXIS_LIB%\wsdl4j-1.5.1.jar;%AXIS_LIB%\axis-ant.jar;%AXIS_LIB%\commons-discovery-0.2.jar;%AXIS_LIB%\commons-logging-1.0.4.jar;%AXIS_LIB%\log4j-1.2.8.jar;%AXIS_LIB%\mail.jar;%AXIS_LIB%\resolver.jar;%AXIS_LIB%\serializer.jar;%AXIS_LIB%\xalan.jar;%AXIS_LIB%\xmlsec-1.3.0.jar;%AXIS_LIB%\activation.jar;%AXIS_LIB%\tools.jar;
CLASSPATH=%AXISCLASSPATH%
I have correctly installed Axis as per the documentation and all pages work.
When I tried to run the example as specified in the Axis User Guide, I would get an exception. The following is the command I used:
java -verbose -cp "%CLASSPATH%" samples.userguide.example1.TestClient
[Loaded java.io.BufferedReader from shared objects file]
[Loaded java.io.InputStreamReader from shared objects file]
[Loaded sun.nio.cs.StreamDecoder from shared objects file]
[Loaded sun.nio.cs.StreamDecoder$CharsetSD from shared objects file]
[Loaded java.util.AbstractSequentialList from shared objects file]
[Loaded java.util.Queue from shared objects file]
[Loaded java.util.LinkedList from shared objects file]
[Loaded java.util.LinkedList$Entry from shared objects file]
[Loaded java.io.IOException from shared objects file]
[Loaded java.io.FileNotFoundException from shared objects file]
Exception in thread "main" java.lang.NoClassDefFoundError: samples/userguide/example1/TestClient
[Loaded java.lang.Shutdown from shared objects file]
[Loaded java.lang.Shutdown$Lock from shared objects file]
i have also tried to add all JAR files from the JDK into the CLASSPATH and still I would get an exception when running the class. Although the exception would be FileNotFoundException for another class.
Any help would be greatly appreciated.
Thanks -
I started an common example of stateless bean HelloWorld on JBoss 2.4 server and it works,but when I tried to start the identical example on JBoss 3.0 following problem has occurred. During the deploy process there was no any error messages on JBoss console.
Here is console output after running the example:
D:\Users\maja\klase>java -classpath "d:/users/maja/jbossDeploy/j2ee.jar;d:/users
/maja/jbossDeploy/log4j.jar;d:/users/maja/jbossDeploy/jboss-common-client.jar;d:
/users/maja/jbossDeploy/jnp-system-client.jar;d:/users/maja/jbossDeploy/jnp-clie
nt.jar;d:/users/maja/jbossDeploy/jboss-client.jar;d:/users/maja/jbossDeploy/jbos
ssx-client.jar;C:\jdk1.3.1_01\jre\lib\rt.jar;.;HelloWorld.jar" HelloWorldClient
javax.naming.CommunicationException. Root exception is java.rmi.UnmarshalExcept
ion: error unmarshalling return; nested exception is:
java.lang.ClassNotFoundException: org.jnp.interfaces.MarshalledValuePair
(no security manager: RMI class loader disabled)
java.lang.ClassNotFoundException: org.jnp.interfaces.MarshalledValuePair (no sec
urity manager: RMI class loader disabled)
at sun.rmi.server.LoaderHandler.loadClass(Unknown Source)
at sun.rmi.server.LoaderHandler.loadClass(Unknown Source)
at sun.rmi.server.MarshalInputStream.resolveClass(Unknown Source)
at java.io.ObjectInputStream.inputClassDescriptor(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at java.io.ObjectInputStream.inputObject(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at sun.rmi.server.UnicastRef.unmarshalValue(Unknown Source)
at sun.rmi.server.UnicastRef.invoke(Unknown Source)
at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:349)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:333)
at javax.naming.InitialContext.lookup(Unknown Source)
at HelloWorldClient.main(HelloWorldClient.java:20)
Exception: null
I don't know how to solve this problem and I will be very thankful if you help me.Hi,
Where is the jboss.jar mentioned?The error is due to unavialibility of the class,the classloader is not able to find(load) the class.So please set jboss.jar,it is avialable at Jboss3.0.2/server/all/lib/jboss.jar.
I used to try this way long back but I found the ant tool to be better utility to work with.Why dont you check the Orielly Workbook at the google and download it.
Regards
Vicky -
Anygantt with javascript 32k example problem
Dear all,
I have tried the example from Tobias http://apex-at-work.blogspot.com/2011/04/handling-32k-problem-in-apex-charts.html.
Unfortunately the chart will not be displayed. I have set the textarea to visible. The XML is correct. The XML (short version) works fine in the normal apex gantt chart procedure.
I am not sure if the swf file will be found...
HTML Page source:
</periods>
</resource_chart>
</anygantt></textarea>
<div id="chartDiv"></div>
<script type="text/javascript" language="javascript">
/* Set default swf path */
AnyChart.swfFile = '/i/flashchart/anygantt_4/swf/AnyGantt.swf';
/* Create new gantt chart */
var chart = new AnyChart();
chart.width="2500";
chart.height="1400";
/* Get string data from text area */
var data = document.getElementById('rowData').value.toString();
/* Set data */
chart.setData(data);
/* Write chart to "chart" div */
chart.write("chartDiv");
</script>
Using Application Express 4.0.2.00.08
Linux system
Thanks for your help.
BirtheHi all,
I got the solution this morning...
The problem of the example is the JS command for the header.
I have changed it this way :
<script src="/i/flashchart/anygantt_4/js/AnyChart.js" language="javascript"></script>
Bye,
Birthe
Maybe you are looking for
-
Problem with Blackberry user tools cd
Hello, please help, i just got a Blackberry 8100 from Ebayusa and the user tools CD that was sent with it has something else recorded on it. Which software do i need to download please? Many thanks.
-
Address Book contacts keep multiplying!
For some reason my address book contents will not delete and many of them seem to multiply!I sync between my iphone and a daylite. I have tried getting rid of all the contacts in address book and my iphone (successfully) but the problem persists. I h
-
I know this has been discussed about before, but I'm also concerned with the issue. You see, I have an iPhone 5C (a 3G mobile phone) with Verizon Wireless. Sometimes the LTE doesn't seem to work even though it's enabled (as indicated by the left pict
-
Where has the Application Bar gone in CS6 and can I get it to show?
I use this a lot in CS5 and notice it isn't showing in CS6, is there any way to make it show?
-
Can't access text properties in AS3. only in MXML
Please help, I want to access the text property via as3. The code below. <?xml version="1.0" encoding="utf-8"?> <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="listService.send()" height="100%" width="555" backgroundAlpha="0.0"