Problem  running the OdpNetWs sample

Hi,
I have the following error when starting the OdpNetWebService sample (I must say that I work with Oracle8i DataBase instead of 9i, in case this would be the trouble...)
Thank you very much in advance for your help
Bert
Server Error in '/OdpNetWs/src/client' Application.
File or assembly name ciejkhb8.dll, or one of its dependencies, was not found.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.FileNotFoundException: File or assembly name ciejkhb8.dll, or one of its dependencies, was not found.
Source Error:
Line 33: '<remarks/>
Line 34: Public Sub New()
Line 35: MyBase.New
Line 36: Me.Url = "http://bmasson/OdpNetWs/src/webservice/ODPService.asmx"
Line 37: End Sub
Source File: D:\ODP\web\OdpNetWs\src\client\Web References\webservice\Reference.vb Line: 35
Assembly Load Trace: The following information can be helpful to determine why the assembly 'ciejkhb8.dll' could not be loaded.
=== Pre-bind state information ===
LOG: Where-ref bind. Location = C:\WINDOWS\TEMP\ciejkhb8.dll
LOG: Appbase = file:///D:/ODP/web/OdpNetWs/src/client
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///C:/WINDOWS/TEMP/ciejkhb8.dll.
Stack Trace:
[FileNotFoundException: File or assembly name ciejkhb8.dll, or one of its dependencies, was not found.]
System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Boolean isStringized, Evidence assemblySecurity, Boolean throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark) +0
System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Boolean stringized, Evidence assemblySecurity, StackCrawlMark& stackMark) +307
System.Reflection.Assembly.Load(AssemblyName assemblyRef, Evidence assemblySecurity) +21
System.CodeDom.Compiler.CompilerResults.get_CompiledAssembly() +67
System.CodeDom.Compiler.CompilerResults.get_CompiledAssembly() +0
System.Xml.Serialization.Compiler.Compile() +408
System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings) +1259
System.Xml.Serialization.XmlSerializer.FromMappings(XmlMapping[] mappings) +60
System.Web.Services.Protocols.SoapClientType..ctor(Type type) +957
System.Web.Services.Protocols.SoapHttpClientProtocol..ctor() +151
client.webservice.ODPService..ctor() in D:\ODP\web\OdpNetWs\src\client\Web References\webservice\Reference.vb:35
client.MainForm.Page_Init(Object sender, EventArgs e) in D:\ODP\web\OdpNetWs\src\client\Main.aspx.vb:52
System.Web.UI.Control.OnInit(EventArgs e) +67
System.Web.UI.Control.InitRecursive(Control namingContainer) +240
System.Web.UI.Page.ProcessRequestMain() +174
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573

Hi,
I have the following error when starting the OdpNetWebService sample (I must say that I work with Oracle8i DataBase instead of 9i, in case this would be the trouble...)
Thank you very much in advance for your help
Bert
Server Error in '/OdpNetWs/src/client' Application.
File or assembly name ciejkhb8.dll, or one of its dependencies, was not found.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IO.FileNotFoundException: File or assembly name ciejkhb8.dll, or one of its dependencies, was not found.
Source Error:
Line 33: '<remarks/>
Line 34: Public Sub New()
Line 35: MyBase.New
Line 36: Me.Url = "http://bmasson/OdpNetWs/src/webservice/ODPService.asmx"
Line 37: End Sub
Source File: D:\ODP\web\OdpNetWs\src\client\Web References\webservice\Reference.vb Line: 35
Assembly Load Trace: The following information can be helpful to determine why the assembly 'ciejkhb8.dll' could not be loaded.
=== Pre-bind state information ===
LOG: Where-ref bind. Location = C:\WINDOWS\TEMP\ciejkhb8.dll
LOG: Appbase = file:///D:/ODP/web/OdpNetWs/src/client
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///C:/WINDOWS/TEMP/ciejkhb8.dll.
Stack Trace:
[FileNotFoundException: File or assembly name ciejkhb8.dll, or one of its dependencies, was not found.]
System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Boolean isStringized, Evidence assemblySecurity, Boolean throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark) +0
System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Boolean stringized, Evidence assemblySecurity, StackCrawlMark& stackMark) +307
System.Reflection.Assembly.Load(AssemblyName assemblyRef, Evidence assemblySecurity) +21
System.CodeDom.Compiler.CompilerResults.get_CompiledAssembly() +67
System.CodeDom.Compiler.CompilerResults.get_CompiledAssembly() +0
System.Xml.Serialization.Compiler.Compile() +408
System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings) +1259
System.Xml.Serialization.XmlSerializer.FromMappings(XmlMapping[] mappings) +60
System.Web.Services.Protocols.SoapClientType..ctor(Type type) +957
System.Web.Services.Protocols.SoapHttpClientProtocol..ctor() +151
client.webservice.ODPService..ctor() in D:\ODP\web\OdpNetWs\src\client\Web References\webservice\Reference.vb:35
client.MainForm.Page_Init(Object sender, EventArgs e) in D:\ODP\web\OdpNetWs\src\client\Main.aspx.vb:52
System.Web.UI.Control.OnInit(EventArgs e) +67
System.Web.UI.Control.InitRecursive(Control namingContainer) +240
System.Web.UI.Page.ProcessRequestMain() +174
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573

Similar Messages

  • Problems running the jsf-compnenets demo on Weblogic 8.1

    Hi,
    I am just starting out with with JSF and I'm having problems running the jsf-components demo. Whenever I try to run any of the JSP's in this demo I get the following error :
    /imagemap.jsp(41): Error in using tag library uri='http://java.sun.com/jsf/demo/components' prefix='d': cannot find tag class: 'components.taglib.AreaSelectedTag'
    probably occurred due to an error in /imagemap.jsp line 41:
    <%@ taglib uri="http://java.sun.com/jsf/demo/components" prefix="d" %>
    I have modified the components.tld file (within jsf-components.war) to remove what appears to be the offending tag but the problem still persists.
    Also, when I try to view the source of the demo, by clicking on any of the links I get the following error :
    <01-Jul-2004 12:00:59 o'clock BST> <Error> <HTTP> <BEA-101020> <[ServletContext(
    id=13712942,name=jsf-components,context-path=/jsf-components)] Servlet failed wi
    th Exception
    java.lang.NoClassDefFoundError: javax/servlet/jsp/el/ELException
    at java.lang.Class.getDeclaredMethods0(Native Method)
    at java.lang.Class.privateGetDeclaredMethods(Class.java:1627)
    at java.lang.Class.getDeclaredMethods(Class.java:1114)
    at java.beans.Introspector$1.run(Introspector.java:1103)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:11
    01)
    at java.beans.Introspector.getTargetMethodInfo(Introspector.java:966)
    at java.beans.Introspector.getBeanInfo(Introspector.java:370)
    at java.beans.Introspector.getBeanInfo(Introspector.java:207)
    at java.beans.Introspector.<init>(Introspector.java:351)
    at java.beans.Introspector.getBeanInfo(Introspector.java:207)
    at java.beans.Introspector.getBeanInfo(Introspector.java:193)
    at weblogic.servlet.jsp.StandardTagLib.parseTagDD(StandardTagLib.java:13
    33)
    at weblogic.servlet.jsp.StandardTagLib.parseDD(StandardTagLib.java:1271)
    at weblogic.servlet.jsp.StandardTagLib.<init>(StandardTagLib.java:292)
    at weblogic.servlet.jsp.TagLibHelper.loadTagLib(TagLibHelper.java:314)
    at weblogic.servlet.jsp.JspLexer.loadTagLib(JspLexer.java:145)
    at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE_BODY(JspLexer.java:50
    04)
    at weblogic.servlet.jsp.JspLexer.mTAGLIB_DIRECTIVE(JspLexer.java:4842)
    at weblogic.servlet.jsp.JspLexer.mDIRECTIVE(JspLexer.java:4688)
    at weblogic.servlet.jsp.JspLexer.mSTANDARD_THING(JspLexer.java:2093)
    at weblogic.servlet.jsp.JspLexer.mTOKEN(JspLexer.java:1879)
    at weblogic.servlet.jsp.JspLexer.nextToken(JspLexer.java:1752)
    at weblogic.servlet.jsp.JspLexer.parse(JspLexer.java:962)
    at weblogic.servlet.jsp.JspParser.doit(JspParser.java:105)
    at weblogic.servlet.jsp.JspParser.parse(JspParser.java:228)
    at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:120)
    at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:258
    at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:364)
    at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:220)
    at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:172)
    at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.
    java:504)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:349)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:431)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:305)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.run(WebAppServletContext.java:6310)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    118)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java:3622)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java:2569)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    Am I missing something ?
    Any help would be greatly appreciated.
    Thanks in advance,
    Brian.

    Hey,
    You are probably missing jsp-impl.jar in the classpath. Please add it to your class path and try again.
    Senthuran

  • I have problem running the inverted pendulum trainer using NI ELVIS.

    i have a problem running the inverted pendulum trainer using NI ELVIS. While loading the NI ELVIS bypass VI it is unable to find the "enable communications bypass.vi". could anybody please attach the VI.
    I am using NI ELVIS 2
    Thanks

    The Enable Communications Bypass VI sounds like a VI that is only included with Traditional or legacy ELVIS designed to work with the first generation ELVIS unit, not the ELVIS II/II+ or myDAQ. It sounds like the inverted pendulum trainer you have is for use with ELVIS I. In the LabVIEW Loading dialog, do you see the full path for where it's looking for the VI? Can you provide that full path? If the inverted pendulum trainer is designed to work with the older ELVIS unit, there may be a newer version that supports ELVIS II.
    Donovan

  • Problem running the sample adf demo

    Hi,
    I'm a new user of JDeveloper and trying to use ADF Faces.
    I followed the instructions to setup ADF faces in JDeveloper.
    While trying to run the sample demo provided(adffacesdemo), I get the following error messages
    Error: "http://java.sun.com/jsf/core" is not a registered TLD namespace.
    Error: Unable to load taghandler class: http://java.sun.com/jsf/core
    Error: "http://xmlns.oracle.com/adf/faces/EA14/html" is not a registered TLD namespace.
    and many more errors of this sort.
    Now I have managed to succesfully run JSF applications in JDeveloper without using ADF faces. No problems with that.
    I have no clue as to why these errors are coming.
    Any help is appreciated.
    thanks,
    Rashmi

    Hi,
    I'm a new user of JDeveloper and trying to use ADF Faces.
    I followed the instructions to setup ADF faces in JDeveloper.
    While trying to run the sample demo provided(adffacesdemo), I get the following error messages
    Error: "http://java.sun.com/jsf/core" is not a registered TLD namespace.
    Error: Unable to load taghandler class: http://java.sun.com/jsf/core
    Error: "http://xmlns.oracle.com/adf/faces/EA14/html" is not a registered TLD namespace.
    and many more errors of this sort.
    Now I have managed to succesfully run JSF applications in JDeveloper without using ADF faces. No problems with that.
    I have no clue as to why these errors are coming.
    Any help is appreciated.
    thanks,
    Rashmi

  • Problems with running the interop sample

    Hi,
    I can't seem to run the .NET client that is supplied with the interop samples
    in the workshop that demonstrates the use of a .NET client with an asnyc WebLogic
    web service. Everytime I run the .NET client, it prompts me to save a file called
    "ConversationClient.asmx" and if I open it, its opened in VS .NET. Any ideas/suggestions?
    Thanks,
    August

    August,
    The readme.html which is present in the samples/interop/dotNet directory
    provides detailed instructions for running that example. Please follow the
    steps mentioned in there, and let me know if you face any issues.
    Regards,
    Anurag
    "August" <[email protected]> wrote in message
    news:3e56b164$[email protected]..
    >
    Hi,
    I can't seem to run the .NET client that is supplied with the interopsamples
    in the workshop that demonstrates the use of a .NET client with an asnycWebLogic
    web service. Everytime I run the .NET client, it prompts me to save a filecalled
    "ConversationClient.asmx" and if I open it, its opened in VS .NET. Anyideas/suggestions?
    >
    Thanks,
    August

  • Error while running the JCWDE sample

    Hi all,
    Can anybody help me to fix this error?
    I have J2SE_1.4.1 and JDK_2.2.1
    I build the samples successfully but when I try to run the JCWDE demo
    I face with this error:
    JCWDE jcwde.app
    Java Card 2.2.1 Workstation Development Environment, Version 1.3
    Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to lic
    ense terms.
    jcwde is listening for T=0 Apdu's on TCP/IP port 9,025.
    Exception in thread "main" java.lang.UnsatisfiedLinkError: checkArrayArgs
    at com.sun.javacard.impl.NativeMethods.checkArrayArgs(Native Method)
    at javacard.framework.AID.<init>(AID.java:58)
    at com.sun.javacard.jcwde.MaskedApplets$TempPkgTableEntry.addToPackageTa
    ble(MaskedApplets.java:385)
    at com.sun.javacard.jcwde.MaskedApplets.readConfigFile(MaskedApplets.jav
    a:110)
    at com.sun.javacard.jcwde.Main.<init>(Main.java:57)
    at com.sun.javacard.jcwde.Main.main(Main.java:129)

    hi
    If ur problem is solved then pls inform me.
    My id is : [email protected]
    sorry for inconvinience
    regards

  • How to run the SDK samples - IAC

    Hi,
    I've been doing some research on how to read the contents of a pdf from a C# app.
    So thought of trying the acrobat SDK. I tried to run a C# sample given with the SDK and got the following exception.
    "System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {FF76CB60-2E68-101B-B02E-04021C009402} failed due to the following error: 80040154."
    I suspect that there are some libraries missing in my system.
    I have only Acrobat Reader installed in my machine. Do I have to have the acrobat full version installed in my machine in order to use the API ?
    Can I use the API to read a pdf without installing the full version of acrobat ?
    Thanks
    Rukshan

    Almost all of the APIs need Acrobat. Some work with Reader. There is a
    document about developing for Reader.
    Aandi Inston

  • Problems running the JEE 6 helloservice

    Hello everyone,
    I am trying to run the helloservice app and web. The main problem is my port
    number is different from the specified port number - 8080. So I have edited the files
    to correct this. I get the following error /warning with the appclient -
    Copying 1 file to C:\glassfishv3\glassfish\docs\javaee-tutorial\examples\jaxws\appclient\dist\appclientClient
    22-Dec-2010 16:28:42 com.sun.enterprise.transaction.JavaEETransactionManagerSimplified initDelegates
    INFO: Using com.sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate as the delegate
    22-Dec-2010 16:28:43 com.sun.enterprise.deployment.util.ModuleContentValidator accept
    WARNING: wsdl file META-INF/wsdl/localhost_2020/helloservice/HelloService.wsdl does not exist for service-ref appclient.HelloAppClient/service
    Hello, world.
    But it seems to be running
    However, I can't seem to run the webclient at all -
    WARNING: StandardWrapperValve[HelloServlet]: PWC1382: Allocate exception for servlet HelloServlet
    com.sun.enterprise.container.common.spi.util.InjectionException: Error creating managed object for class webclient.HelloServlet
    at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.createManagedObject(InjectionManagerImpl.java:312)
    at com.sun.enterprise.web.WebContainer.createServletInstance(WebContainer.java:709)
    at com.sun.enterprise.web.WebModule.createServletInstance(WebModule.java:1937)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1252)
    at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:1059)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:187)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97)
    at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185)
    at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:325)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:226)
    at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165)
    at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
    at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
    at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
    at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
    at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
    at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
    at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
    at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
    at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
    at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
    at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: com.sun.enterprise.container.common.spi.util.InjectionException: Exception attempting to inject Env-Prop: webclient.HelloServlet/service@Field-Injectable Resource. Class name = webclient.HelloServlet Field [email protected]@@@ into class webclient.HelloServlet
    at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:614)
    at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.inject(InjectionManagerImpl.java:384)
    at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.injectInstance(InjectionManagerImpl.java:141)
    at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.injectInstance(InjectionManagerImpl.java:127)
    at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl.createManagedObject(InjectionManagerImpl.java:306)
    ... 27 more
    Caused by: javax.naming.NamingException: Lookup failed for 'java:comp/env/webclient.HelloServlet/service' in SerialContext [Root exception is javax.naming.NamingException [Root exception is java.lang.reflect.InvocationTargetException]]
    at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:442)
    at javax.naming.InitialContext.lookup(InitialContext.java:392)
    at com.sun.enterprise.container.common.impl.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:513)
    ... 31 more
    Caused by: javax.naming.NamingException [Root exception is java.lang.reflect.InvocationTargetException]
    at org.glassfish.webservices.WebServiceReferenceManagerImpl.resolveWSReference(WebServiceReferenceManagerImpl.java:272)
    at com.sun.enterprise.container.common.impl.ComponentEnvManagerImpl$WebServiceRefProxy.create(ComponentEnvManagerImpl.java:979)
    at com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:688)
    at com.sun.enterprise.naming.impl.GlassfishNamingManagerImpl.lookup(GlassfishNamingManagerImpl.java:657)
    at com.sun.enterprise.naming.impl.JavaURLContext.lookup(JavaURLContext.java:148)
    at com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:428)
    ... 33 more
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.glassfish.webservices.WebServiceReferenceManagerImpl.initiateInstance(WebServiceReferenceManagerImpl.java:320)
    at org.glassfish.webservices.WebServiceReferenceManagerImpl.resolveWSReference(WebServiceReferenceManagerImpl.java:145)
    ... 38 more
    Caused by: javax.xml.ws.WebServiceException: Failed to access the WSDL at: file:/C:/glassfishv3/glassfish/docs/javaee-tutorial/examples/jaxws/webclient/build/web/WEB-INF/wsdl/localhost_2020/helloservice/HelloService.wsdl. It failed with:
    C:\glassfishv3\glassfish\docs\javaee-tutorial\examples\jaxws\webclient\build\web\WEB-INF\wsdl\localhost_2020\helloservice\HelloService.wsdl (The system cannot find the path specified).
    at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.tryWithMex(RuntimeWSDLParser.java:184)
    at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:166)
    at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:131)
    at com.sun.xml.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:271)
    at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:234)
    at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:182)
    at com.sun.xml.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:106)
    at javax.xml.ws.Service.<init>(Service.java:57)
    at helloservice.endpoint.HelloService.<init>(HelloService.java:58)
    ... 44 more
    Caused by: java.io.FileNotFoundException: C:\glassfishv3\glassfish\docs\javaee-tutorial\examples\jaxws\webclient\build\web\WEB-INF\wsdl\localhost_2020\helloservice\HelloService.wsdl (The system cannot find the path specified)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at java.io.FileInputStream.<init>(FileInputStream.java:66)
    at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
    at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
    at java.net.URL.openStream(URL.java:1010)
    at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.createReader(RuntimeWSDLParser.java:837)
    at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.resolveWSDL(RuntimeWSDLParser.java:294)
    at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:151)
    ... 51 more
    Any ideas?
    Thanks
    eve

    Java 101: when you get a stacktrace, actually read it and try to understand what is going on. The root cause (the one at the bottom of the stacktrace) is usually the real problem, so lets pick that one out:
    Caused by: java.io.FileNotFoundException: C:\glassfishv3\glassfish\docs\javaee-tutorial\examples\jaxws\webclient\build\web\WEB-INF\wsdl\localhost_2020\helloservice\HelloService.wsdl (The system cannot find the path specified)Java doesn't lie to you. This file really does not exist and because it does not exist the client apparently cannot function.
    Don't ask me why the file cannot be found - I don't have access to your system, your IDE or your settings so I cannot know what you did or did not do. Its probably going to take some head banging and a few cups of coffee but above all logical and intelligent reasoning to figure it out. Good luck!

  • Anyone had problems running the debug version of InDesign CS6 Server

    Hi Folks,
    A number of developers at my firm have tried using the debug version of InDesign Server CS6, but find they cannot run it with the following error:
         ERROR [server] Adobe InDesign Server is not properly licensed and will now quit.
    In each case the installer ran correctly and a valid serial number for debug CS6 used (from the Adobe Partners site).
    We have no problems with the release version of CS6 server, or CS5/CS5.5 debug/release versions.
    Has anyone suffered the same problem?
    Thanks,
    Andrew

    Hi Ian,
    I had a look and although there was one post suggesting a similar problem, the answer didn't work or was not applicable for the debug version. However I do have an answer - I used a release serial number and it now starts up normally!
    Thanks for your reply.
    Andrew

  • Problem running RMI/IIOP sample (stateless bean)

    Hi.
    I am unable to run the RMI/IIOP stateless bean sample (Weblogic 6.1 on
    Windows 2000). I have deployed the sample (iiop_ejb_stateless) and the
    server is running. I checked in the admin console and the module is
    deployed OK.
    However, the client is unable to get the initial context and throws a
    ""We were unable to get a connection to the WebLogic server at
    iiop://localhost:
    Please make sure that the server is running."
    error message on the command prompt. What could be wrong? Is there a
    flag I need to throw on to get the server to enable IIOP based
    connections?
    Thanks in advance,
    - deepak

    Deepak Balakrishna <[email protected]> writes:
    I am unable to run the RMI/IIOP stateless bean sample (Weblogic 6.1 on
    Windows 2000). I have deployed the sample (iiop_ejb_stateless) and the
    server is running. I checked in the admin console and the module is
    deployed OK.
    However, the client is unable to get the initial context and throws a
    ""We were unable to get a connection to the WebLogic server at
    iiop://localhost:
    Please make sure that the server is running."
    error message on the command prompt. What could be wrong? Is there a
    flag I need to throw on to get the server to enable IIOP based
    connections?It should be on by default. Try using SP2 to see if that helps at all
    (although all the examples work on all releases). Also try substituting
    localhost for your machine name, W2K does some fun tricks with DNS.
    andy

  • Nullpointerexception accured when i run the jsp samples of weblogic!!!

    when i run the sample named EasyTableDataDisplay,it was interrupted by
    the NullPointerException!!
    i don't know why,who can help me??

    Found in negative cache.... very strange.
    RFC found in negative cache
    What is the negative cache?

  • How to Run the MDK Sample Example Application in SAP NWDS

    Hi all,
    As i go through the MDK 2.5 i have physically under gone with all option that are included in
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/21eba3a7-0601-0010-b982-92f1fca3258a
    this site and imported the Example 1 Application in nwds, but when try to run it,this application asking to mention some main Class option .
    tell me which class should i mention to run the example1 application.
    so please help me out of it ,
    thanks and Regards,
    Venu

    hi Venu Gopal,
    Welcome to the SDN and Mobile Community.
    Pl. check my weblog on this "Execute and Debug Applications from NWDS". /people/arunkumar.ravi/blog/2006/02/22/execute-debug-your-mi-code-from-nwds
    I've explained how to run the application from NWDS itself.
    Regards
    Arunkumar R

  • Problems running the installer for Elements 11 - Mac

    Mac OS10.8.3
    15" Retina 2.7GHz  16GB RAM
    I have downloaded the installation file for Elements 11 using the Adobe Installer; upon running the installer I get an invalid checksum error.  Tried repeated times, same result.  Tried disabling checksum check in disk utility, lets me get one step futther to see the installer package contents upon mounting the .dmg.  When I run the installer, error message appears as follows;
    Failed to initialise Installer
    I got a message to install the Adobe Support Advisor, which I did.  I ran it, and it did not detect any issues. 
    Have also tried using disk utility to verify and repair the downlaoded adobe dmg before mounting it - no change in the error when I try to run the installer.
    Any advice?
    Thanks, JB.

    Please try initiating a direct download using the steps listed at http://prodesigntools.com/photoshop-elements-11-direct-download-links-pse-premiere-pre.htm l.  Please make sure to complete the Very Important Instructions section prior to clicking on the download link.
    If you continue to receive a message stating that your checksum is invalid then please try an alternate Internet connection.

  • Assert error/hangs running the performance sample code

    Hi,
    I'm doing some work to understand how fast I can expect Berkeley DB to run and I found the 2006 white paper on [Performance Metrics and Benchmarks|http://www.oracle.com/technology/products/berkeley-db/pdf/berkeley-db-perf.pdf] so I downloaded the [sample code|http://www.oracle.com/technology/products/berkeley-db/files/perf.zip] and made a couple of fixes to make it run with 4.7.25 (shown at the end).
    When I run 'make test' it frequently hangs on the "Transactional Data Store (write, in-memory logging)" test under OS X 10.5.7 and under Debian lenny (kernel 2.6.26-1-amd64).
    If I rebuild BDB with --enable-diagnostic I get this assertion error.
    jmeredith@op:~/src/perf$ rm -rf TESTDIR ; ./t
    Using Berkeley DB 4.7.25 - ops: 1000000; keysize: 8; datasize: 32
    Data Store (read):
    elapsed time: 0.392573 seconds : 2.5473e+06 key/data pairs per sec
    Data Store (bulk read):
    elapsed time: 1.615233 seconds : 2.66339e+07 key/data pairs per sec
    Data Store (write):
    elapsed time: 0.629771 seconds : 1.58788e+06 key/data pairs per sec
    Transactional Data Store (read):
    elapsed time: 2.413665 seconds : 414308 key/data pairs per sec
    assert failure: ../dist/../txn/txn_region.c/451: "td->mvcc_ref > 0"
    [0x4f431d]
    [0x4f41a9]
    [0x44cdff]
    [0x4f2e1e]
    [0x42f0d3]
    [0x4f3faf]
    [0x4fddee]
    [0x4f8dde]
    [0x4d975c]
    [0x4c9991]
    [0x4e417d]
    [0x40137c]
    [0x40198e]
    [0x52613b]
    [0x4001b9]
    Aborted (core dumped)
    Here are the changes to get the code to build.
    --- perf/t.c 2006-06-28 17:15:47.000000000 -0600
    +++ perf-fixed/t.c 2009-07-06 09:44:43.000000000 -0600
    @@ -1,4 +1,5 @@
    #include <sys/types.h>
    +#include <sys/time.h>
    #include <stdio.h>
    #include <stdlib.h>
    @@ -38,7 +39,15 @@
    char *progname;
    -extern void __os_clock(DB_ENV *, u_int32_t *, u_int32_t *);
    +void
    +__os_clock(DB_ENV e, u_int32_t secs_ptr, u_int32_t *usecs_ptr)
    +{
    + struct timeval t;
    +
    + gettimeofday(&t, NULL);
    + *secs_ptr = (u_int32_t) t.tv_sec;
    + *usecs_ptr = (u_int32_t) t.tv_usec;
    +}
    void cleanup(void);
    void op_ds(u_int, int);
    @@ -364,7 +373,7 @@
    op_tds(ops, 0, 0);
    res("Transactional Data Store (read):", ops);
    - op_tds(ops, 1, DB_LOG_INMEMORY);
    + op_tds(ops, 1, DB_LOG_IN_MEMORY);
    res("Transactional Data Store (write, in-memory logging):", ops);
    op_tds(ops, 1, DB_TXN_NOSYNC);

    Hi,
    I reproduced your problem on Ubuntu 4.2.3 with db 4.7.25 and saw the same assert error as you. From the error message, the program asserts error/hangs at the "Transactional Data Store (write, in-memory logging)", that is calling op_tds() with DB_LOG_IN_MEMORY as the flags.
    The problem comes from your change on the sample code that the DB_LOG_IN_MEMORY is set with wrong API. The DB_LOG_IN_MEMORY should be set in DB_ENV->log_set_config(). Please refer to [DB_ENV->log_set_config|http://www.oracle.com/technology/documentation/berkeley-db/db/api_c/env_log_set_config.html] and its flag DB_LOG_IN_MEMORY.
    I change env's setting flags in op_tds() as follows. In this way, the error I saw is eliminated and the program works as expected.
    The original code is:
    PERF_CHECK(
            dbenv->set_flags(dbenv, DB_AUTO_COMMIT | txn_flags, 1) == 0);"
    {code}
    I change it to:
    {code}
    if (txn_flags == DB_LOG_IN_MEMORY) {
            PERF_CHECK(
               dbenv->log_set_config(dbenv, DB_LOG_IN_MEMORY, 1) == 0);
            txn_flags = 0;
    PERF_CHECK(
            dbenv->set_flags(dbenv, DB_AUTO_COMMIT | txn_flags, 1) == 0);
    {code}
    Please apply the change and l*et us know if it works on your machine.
    Regards,
    Emily Fu, Oracle Berkeley DB                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Problem running the bookstore6 example from J2EE 1.5  Tutorial

    Hi,
    I got the bookstore6 example running on my windows XP box within glassfish. I am able access the URL http://localhost:8080/bookstore6. But whenever I click on the map or a link to pick a locale, I get an exception. Below is what I see in the server log file. Any help is appreciated.
    [#|2006-08-15T15:15:59.147-0700|WARNING|sun-appserver-pe9.1|javax.enterprise.resource.webcontainer.jsf.lifecycle|_ThreadID=13;_ThreadName=httpWorkerThread-8080-0;_RequestID=fcb38d2f-9e92-4a7b-a439-0715d61ed98a;|executePhase(INVOKE_APPLICATION 5,com.sun.faces.context.FacesContextImpl@135b92e) threw exception
    javax.faces.FacesException: javax.faces.FacesException: com.sun.enterprise.InjectionException: Exception attempting to inject Env-Prop: books@Field-Injectable Resource. Class name = com.sun.bookstore6.backing.AbstractBean Field [email protected]@@@ into class com.sun.bookstore6.backing.AbstractBean
         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:105)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:244)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:113)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
         at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:278)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:246)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:185)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
         at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:231)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:619)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.processNonBlocked(DefaultProcessorTask.java:550)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:780)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:326)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:251)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:205)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
         at com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl.run(WorkerThreadImpl.java:103)
    Caused by: javax.faces.FacesException: javax.faces.FacesException: com.sun.enterprise.InjectionException: Exception attempting to inject Env-Prop: books@Field-Injectable Resource. Class name = com.sun.bookstore6.backing.AbstractBean Field [email protected]@@@ into class com.sun.bookstore6.backing.AbstractBean
         at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:521)
         at com.sun.faces.el.ManagedBeanELResolver.getValue(ManagedBeanELResolver.java:82)
         at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
         at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:62)
         at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:68)
         at com.sun.el.parser.AstValue.getTarget(AstValue.java:63)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:153)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:88)
         at javax.faces.event.ActionEvent.processListener(ActionEvent.java:77)
         at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:776)
         at javax.faces.component.UICommand.broadcast(UICommand.java:368)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:471)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:783)
         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
         ... 28 more
    Caused by: javax.faces.FacesException: com.sun.enterprise.InjectionException: Exception attempting to inject Env-Prop: books@Field-Injectable Resource. Class name = com.sun.bookstore6.backing.AbstractBean Field [email protected]@@@ into class com.sun.bookstore6.backing.AbstractBean
         at com.sun.faces.config.ManagedBeanFactoryImpl.newInstance(ManagedBeanFactoryImpl.java:325)
         at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:510)
         ... 42 more
    Caused by: com.sun.enterprise.InjectionException: Exception attempting to inject Env-Prop: books@Field-Injectable Resource. Class name = com.sun.bookstore6.backing.AbstractBean Field [email protected]@@@ into class com.sun.bookstore6.backing.AbstractBean
         at com.sun.enterprise.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:373)
         at com.sun.enterprise.util.InjectionManagerImpl.inject(InjectionManagerImpl.java:193)
         at com.sun.enterprise.util.InjectionManagerImpl.injectInstance(InjectionManagerImpl.java:87)
         at com.sun.faces.vendor.GlassFishInjectionProvider.inject(GlassFishInjectionProvider.java:65)
         at com.sun.faces.config.ManagedBeanFactoryImpl.newInstance(ManagedBeanFactoryImpl.java:312)
         ... 43 more
    Caused by: com.sun.enterprise.InjectionException: Illegal use of static field private static javax.persistence.EntityManager com.sun.bookstore6.backing.AbstractBean.em on class that only supports instance-based injection
         at com.sun.enterprise.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:292)
         ... 47 more
    |#]
    [#|2006-08-15T15:15:59.163-0700|SEVERE|sun-appserver-pe9.1|javax.enterprise.system.container.web|_ThreadID=13;_ThreadName=httpWorkerThread-8080-0;_RequestID=fcb38d2f-9e92-4a7b-a439-0715d61ed98a;|StandardWrapperValve[FacesServlet]: PWC1406: Servlet.service() for servlet FacesServlet threw exception
    com.sun.enterprise.InjectionException: Illegal use of static field private static javax.persistence.EntityManager com.sun.bookstore6.backing.AbstractBean.em on class that only supports instance-based injection
         at com.sun.enterprise.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:292)
         at com.sun.enterprise.util.InjectionManagerImpl.inject(InjectionManagerImpl.java:193)
         at com.sun.enterprise.util.InjectionManagerImpl.injectInstance(InjectionManagerImpl.java:87)
         at com.sun.faces.vendor.GlassFishInjectionProvider.inject(GlassFishInjectionProvider.java:65)
         at com.sun.faces.config.ManagedBeanFactoryImpl.newInstance(ManagedBeanFactoryImpl.java:312)
         at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:510)
         at com.sun.faces.el.ManagedBeanELResolver.getValue(ManagedBeanELResolver.java:82)
         at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
         at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:62)
         at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:68)
         at com.sun.el.parser.AstValue.getTarget(AstValue.java:63)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:153)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:88)
         at javax.faces.event.ActionEvent.processListener(ActionEvent.java:77)
         at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:776)
         at javax.faces.component.UICommand.broadcast(UICommand.java:368)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:471)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:783)
         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:244)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:113)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
         at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:278)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:246)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:185)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
         at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:231)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:619)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.processNonBlocked(DefaultProcessorTask.java:550)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:780)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:326)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:251)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:205)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
         at com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl.run(WorkerThreadImpl.java:103)
    |#]
    Message was edited by:
    hongyan99
    Message was edited by:
    hongyan99

    I got this same problem. But when I droped static from the original code I get another error. Please help.
    [#|2006-12-13T14:37:41.806+0100|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=13;_ThreadName=httpWorkerThread-8080-1;_RequestID=66d98196-7004-4c04-8255-0391a8077d16;|StandardWrapperValve[FacesServlet]: Servlet.service() for servlet FacesServlet threw exception
    javax.faces.FacesException: Could not get book details com.sun.bookstore.exception.BooksNotFoundException: Could not get books: Unable to retrieve EntityManagerFactory for unitName null
         at com.sun.bookstore6.backing.BookstoreBean.getFeatured(BookstoreBean.java:58)
         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:585)
         at javax.el.BeanELResolver.getValue(BeanELResolver.java:273)
         at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
         at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:62)
         at com.sun.el.parser.AstValue.getValue(AstValue.java:117)
         at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
         at javax.faces.component.UIOutput.getValue(UIOutput.java:173)
         at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:100)
         at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:279)
         at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:207)
         at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:848)
         at com.sun.faces.renderkit.html_basic.CommandLinkRenderer.encodeChildren(CommandLinkRenderer.java:203)
         at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:828)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:883)
         at javax.faces.render.Renderer.encodeChildren(Renderer.java:137)
         at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:828)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:883)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
         at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:271)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:182)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:133)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:244)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
         at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:278)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
         at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
         at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
         at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
         at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
    |#]
    Message was edited by:
    dujemalenica

Maybe you are looking for