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
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 -
Error while running the Sample code
Hi,
I am using jdeveloper 10.3 and I was trying to run the sample application that is present in the following url. I didnt change any thing in the code.
http://www.oracle.com/technology/sample_code/products/jdev/readmes/samples/ldapdatacontrol/ldapapplication/public_html/index.html
But While running the Test.java I get the following error. Is there any one who can help me in this please?
javax.naming.OperationNotSupportedException: [LDAP: error code 53 - Please enter more characters]; remaining name 'dc=yourcompany,dc=users'
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3058)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2931)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2737)
at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1808)
at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1731)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:368)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:338)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:321)
at javax.naming.directory.InitialDirContext.search(InitialDirContext.java:248)
at dc.ldap.model.LDAPSearch.executeSearch(LDAPSearch.java:55)
at dc.ldap.runtime.Test.main(Test.java:19)
Exception in thread "main" java.lang.NullPointerException
Thanks,
Haripriya.SProbably you'll get more answers when you post this kinda questions in the JDev forum.
-
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
ThanksThe 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 -
Error trying to run the Sample Code Virtual Private Database using JSP's
Hi.
I`ve downloaded the Virtual Private Database using JSP's example from the Oracle9iAS Security - Sample Corner (http://otn.oracle.com/sample_code/deploy/security/9i_security.html)
I ran the SQL script just fine. I�ve Opened the JDeveloper Flile (security.jws) and tried to Make it (following step 2 on "Run the Application using JDeveloper Environmentinstructions" in the README ) but i get this error:
Error: unable to copy to output directory, web.xml not found
It seems that i need the web.xml to run this application, but in the zip file i cannot find any XML file.
What can i do?.
Thanks in advance for your helpHi,
the problem seems not to be within your application but in missing files on your embedded OC4J. Just try and unzip the JDeveloper 10.1.3 install again.
Frank -
Problem running CalendarWidget sample form
I am trying to get the CalendarWidget sample form with the calendar PJC to run on my pc. I can run the form from my forms developer (v 10g), but the calendar "button" doesn't enable or show anything.
The implementation class for the Calendar_Widget_Bean is forms90.java.CalendarWidgetWrapper
When I go to open the canvas for the form, I get :
FRM-13008: Cannot find JavaBean with name 'forms90.java.CalendarWidgetWrapper.'
When I try to run this by opening the calendar_jinit.html file I get the following error:
Java.lang.ClassNotFoundException: forms90.java.oracle.forms.engine.Main
The form, html, classes are all in my forms90/java directory.
The java console shows the following message:
load: class forms90.java.oracle.forms.engine.Main not found.
java.lang.ClassNotFoundException: java.io.FileNotFoundException: \forms90\java\forms90\java\oracle\forms\engine\Main.class (The system cannot find the path specified)
followed by several lines ending with Unknown Source.
Ideas on what I might need to do to get this thing to work? I am no java guru and have been doing the registry and environment settings based on documentation that came with the demo as well as other posts from this forum.
TracyThe exception you are getting is Forms error. Please post this in Forms forum
You can see Forms - Reports integration white paper here
http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
Thanks
Ratheesh -
Problems building the sample Apps for JSF
I m trying to build the sample Apps provided as part of the JWSDP 1.3 for jsp after making some changes.
The JSF tutorial says to run tne "ant" command after making changes to the build.properties file.
The problems i am facing are:
1. It says to specify the username/passowrd . I do not see anything like that in build.properties.
2. For building it says to excute "ant" command. But that comes back with errors just specifying the usage which is similar to java usage. I have set all the variables like JSF_HOME, ANT_HOME, JWSDP_HOME etc to the correct values..
Can anyhelp me by pointing me to how to rebuild these samples..
BTW i am using the Tomcat that cam bundled with JWSDP 1.4
Thanks
SJI also had some problems building the examples. As I use WinXP, I can't really help unfortunately. But I would like to mention, that a stand-alone JSF EA Version wouldl be great and definitely make it easier for newbies to get contac to this technology.
Another recommendation would be to have a jsf-blank.war, that contains all necessary libs, config files, etc. without references to other downloads. This way I am sure, that many people more would be fascinated.
I guess that JSF will be available as such a standalone version in the end, but it would also be nice to have it right now, even as an EA.
cu
sven -
Error while running the sample program in Oracle CEP
Hi I am New to CEP. I have installed Oracle CEP 11g. I am trying to run the example available in sample folder. I am getting the below error.
Exception in thread "Main Thread" java.lang.reflect.InvocationTargetException
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:597)
at com.bea.wlevs.Server.main(Server.java:185)
Caused by: java.lang.IllegalArgumentException: Bundle <file:/D:/bea/modules/com.bea.core.apache.commons.logging.api_1.1.0.jar> has no known start level label
at com.bea.backplane.launcher.Launcher.getStartLevelLabelFromJarLabel(Launcher.java:1663)
at com.bea.backplane.launcher.Launcher.updateStartLevelViaJarLabel(Launcher.java:1714)
at com.bea.backplane.launcher.Launcher.adjustStartLevel(Launcher.java:1625)
at com.bea.backplane.launcher.Launcher.prepareConfig(Launcher.java:1169)
at com.bea.backplane.launcher.Launcher.run(Launcher.java:539)
at com.bea.backplane.launcher.Launcher.main(Launcher.java:149)
... 5 more
Please let me know the reason for getting the error.I'm gussing you installed OCEP in an existing ORACLE_HOME. You should create a new home otherwise the modules may conflict with other products.
andy -
Problem deploying the sample application
anyone had success deploying the Identity Server 5.1 sample applications? I was trying to deploy and run the Authentication sample by going through the directions given in the readme file. I deployed it using amadmin utility and after that i dont know what to do. The instructions are not clear and i think the sample is not in sync with 5.1 version.
Any feedback is appreciated.
Thanks
HugoYes that is true ..
I had to modify the steps quite a bit to get it to run ..
see details below ..
set the following class paths ..
JAVA_HOME - Set this variable to your installation of JDK. The JDK should be newer than JDK 1.2.2.
CLASSPATH - Modify the /opt to the base of your installation. Install_Directory/SUNWam/web-apps/services/WEB-INF/lib directory.
BASE_CLASS_DIR - Set this variable to the directory where all the Sample compiled classes are located.
JAR_DIR - Set this variable to the directory where the JAR files of the Sample compiled classes will be created.
after this in the Makefile make sure to comment JAVA_HOME env variable, you can comment it using #
and then run make
this should generate the jar files ..
cp the jar files to Install_Directory/SUNWam/web-apps/services/WEB-INF/lib".
Copy AuthenticationSample.properties from Install_Directory/SUNWam/samples/authentication/providers to Install_Directory/SUNWam/web-apps/services/WEB-INF/config/auth/default.
make a copy of amAuth.xml in /install_dir/SUNWam/config/xml
in the following line
<AttributeSchema name="iplanet-am-auth-authenticators"
type="list"
syntax="string"
i18nKey="a17">
<DefaultValues>
(add the line below to the existing list of lines) <Value>com.iplanet.am.samples.authentication.providers.AuthenticationSample</Value>
</DefaultValues>
</AttributeSchema>
also modify the auth menu to add the sample ..
<AttributeSchema name="iplanet-am-auth-menu"
type="multiple_choice"
syntax="string"
i18nKey="a1">
<ChoiceValues>
<Value>LDAP</Value>
<Value>Radius</Value>
<Value>Membership</Value>
<Value>Anonymous</Value>
<Value>Cert</Value>
<Value>AuthenticationSample</Value>
</ChoiceValues>
<DefaultValues>
<Value>LDAP</Value>
</DefaultValues>
</AttributeSchema>
Delete iPlanetAMAuthService entry and then import (the modified) amAuth.xml using amadmin.
cd <install-root>/SUNWam/bin
./amadmin --runAsDN uid=amAdmin,ou=People,<default_org>,<root_suffix> --password <password> --deleteService iPlanetAMAuthService
./amadmin --runAsDN uid=amAdmin,ou=People,<default_org>,<root_suffix> --password <password> --schema amAuth.xml
Add the AuthenticationSample.jar file path to the Web server JVM classpath:
cd Install_Directory/SUNWam/servers/https-<host>.<domain>/config
Modify jvm12.conf to add Install_Directory/SUNWam/web-apps/services/WEB-INF/lib/AuthenticationSample.jar path to the JVM classpath. -
Problem running a sample application in sun app server PE 8
Hi,
I am trying to run the petstore application with oracle 9i. It's a demo application that comes with app server. I set the classpath in the app server to the oracle driver files. I am able to deploy it successfully. But, when I run it it gives me this error:
java.sql.SQLException: Error in allocating a connection. Cause: Class name is wrong or classpath is not set for : oracle.jdbc.xa.client.OracleXADataSource
I am using oracle thin driver.
Rgds,
shipf1Yes, I am deploying the application as an ear.You would need to configure the JAR as a module within the EAR. If it is required only by a web app, you could add it to the WEB-INF/lib for the web app.
-
How to run the sample project OrderFulfillment in 6.0.1?
I installed ALBPM 6.0.1 and imported a sample project OrderFulfillment that came with the software. Try to run the New Customer application, but encountered an JDBC error. Apparently, this project has an external resource, Oralce DB ORDERS Schema. I can't locate the instruction how to create this Oracle ORDERS Schema. Any help is appreciated?
The task could not be successfully executed.
Reason: 'java.lang.RuntimeException: fuego.lang.ComponentExecutionException: The task could not be successfully executed.
Reason: 'fuego.components.SQLException: [BEA][Oracle JDBC Driver]Error establishing socket to host and port: localhost:1521. Reason: Connection refused: connectNavigate to the "DBOrders" module in the catalog, right click on the "ORDERS" database below and click "Export Schema Stucture". That will produce a file containing the DML needed to create the database
-
How to run the sample code using the sdk?
Hi,
I want to run the jsp code from the enterprize sdk available in the sdn community. Can any one tell me how to execute these jsp sample codes and what is the pre-requisite regarding the set up.
I already have the deployment ready.
thanks
AMarHi Amar,
To execute samples code, it is same what is required for normal J2EE application.
Make sure add all the jars to your web application.
These jars can be found on your BO server installation if windows.
For BOE XI 3.x
C:\Program Files\Business Objects\common\4.0\java\lib
C:\Program Files\Business Objects\common\4.0\java\lib\external
For BOE XI R2
C:\Program Files\Business Objects\common\3.5\java\lib
C:\Program Files\Business Objects\common\3.5\java\lib\external
Thanks,
Praveen. -
Problem running JAXB sample applications
hi,
I have been trying to run the JAXB sample applications provided with JWSDP1.1
Class Paths etc are set as follows as specified :
set JAVA_HOME=C:\Program Files\jdk1.3.1_03
set JWSDP_HOME=C:\Program Files\jwsdp-1.1
set JAXB_HOME=%JWSDP_HOME%\jaxb-1.0
set JAXB_LIBS=%JAXB_HOME%\lib
set JAXP_LIBS=%JWSDP_HOME%\jaxp-1.2.2\lib
set JWSDP_LIBS=%JWSDP_HOME%\jwsdp-shared\lib
set PATH=%JAXB_HOME%\bin;%JWSDP_HOME%\jwsdp-shared\bin;%PATH%
set CLASSPATH=%JAXB_LIBS%\jaxb-api.jar;%JAXB_LIBS%\jaxb-ri.jar;%JAXB_LIBS%\jaxb-xjc.jar;%JAXB_LIBS%\jaxb-libs.jar;%JAXP_LIBS%\jaxb-api.jar;%JAXP_LIBS%\endorsed\xercesImpl.jar;%JAXP_LIBS%\endorsed\xalan.jar;%JAXP_LIBS%\endorsed\sax.jar;%JAXP_LIBS%\endorsed\dom.jar;%JWSDP_LIBS%\jax-qname.jar;%JWSDP_LIBS%namespace.jar;.
cd %JAXB_HOME%\examples\users-guide\SampleApp1
xjc.bat po.xsd -p primer.po
javac Main.java primer\po\*.java primer\po\impl\*.java
I keep running into the following error message at this stage :
cannot access javax.xml.transform.Source
file javax\xml\transform\Source.class not found
(PurchaseOrder)u.unmarshal(new FileInputStream("po.xml"));
Help greatly appreciated!! Thankswell, i think i don't see the jaxp-api.jar in you classpath.
(javax.xml.transform.Source is in this jar)
you did put the jaxb-api.jar in the classpath but this is not the same one (obviously!) -
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
eveJava 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,
AndrewHi 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
Maybe you are looking for
-
Mail adapter error: Unsupported protocol: linsmtp [null "null"]
Hi, Idoc to Mail adapter. First time working with mail adapter. When I tried to send messages from transaction "SO00", i'm able to receive the mail which means the connection is fine from XI to mail server. But when I try to send the file using mail
-
Error opening the notification Center. I can't open the notification Center
Error opening the notification Center. I can't open the notification Center
-
Batch export PNGs from PSDs into same root folder?
I am trying to export a large amount of PSD files to PNG's (png-24 for web and devices) and want to run a batch while still respecting the file/folder organization in place. Is it possible to run a batch action or script to export the PNG's into the
-
I've noticed the opening animation stalls then pops to the full window. This was not the case with ML.
-
Multi Instrument Battery output issues !!!!
For some reason Logic is not giving me all of my output configuration options with Native Instruments Battery 3. I no longer have my most used option and all of my songs which use this output configuration now fail to auto-load with logic. I get an e