Help - running the Persistence Example
Hi All,
I am running on NW2004s SPS10
Please somebody has a Persistence example?? I can't run the SAP examples on my PDA (Dell AXIM X51v +Windows Mobile 2005) i found this information in the SAP Note 717510
<i>MDK: Links to MI client home page <b>are not working</b> in some example programs
Application is working fine but for the ME Home link for 3 MDK applications: MDK_persistence_query_sortJSP, MDK_persistence_queryJSP and MDK_persistence_simpleJSP.
( Changed at 30.04.2007 )</i>
I would like to run the MDK_persistence_simpleJSP
There is another Persistence example? Can somebody give me a link to download it. I want to learn how to use the persistence api, but without any running example is very difficult to test the code.
Best Regards,
Erick Ilarraza
Hi all! Thank a lot for your replies.
I run the MDK_PERSISTENCE_QUERYJSP in the Windows XP SAP Mobile Client, it runs Perfect!
But when i try to run it on my PDA it give me this error:
Error: 500
Location: /MDK_PERSISTENCE_QUERYJSP/jsp/menu.jsp Internal Servlet Error:
org.apache.jasper.JasperException: Unable to compile class for JSPerror: Invalid class file format: /MI/webapps/MDK_PERSISTENCE_QUERYJSP/WEB-INF/lib/MDK_persistence_queryJSP.jar(persistenceexample2/PersistenceExample.class), wrong version: 48, expected 45
/MI/work/localhost_8080%2FMDK_PERSISTENCE_QUERYJSP/_0002fjsp_0002fmenu_0002ejspmenu_jsp_0.java:15: Class persistenceexample2.PersistenceExample not found in import.
import persistenceexample2.PersistenceExample;
^
2 errors
at org.apache.jasper.compiler.Compiler.compile()
at org.apache.jasper.servlet.JspServlet.doLoadJSP()
at org.apache.jasper.servlet.JasperLoader12.loadJSP()
at org.apache.jasper.servlet.JspServlet.loadJSP()
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary()
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service()
at org.apache.jasper.servlet.JspServlet.serviceJspFile()
at org.apache.jasper.servlet.JspServlet.service()
at javax.servlet.http.HttpServlet.service()
at org.apache.tomcat.core.ServletWrapper.doService()
at org.apache.tomcat.core.Handler.service()
at org.apache.tomcat.core.ServletWrapper.service()
at org.apache.tomcat.facade.RequestDispatcherImpl.doForward()
at org.apache.tomcat.facade.RequestDispatcherImpl.forward()
at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.dispatchRequest()
at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGetNotThreadSafe()
at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGet()
at javax.servlet.http.HttpServlet.service()
at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.service()
at javax.servlet.http.HttpServlet.service()
at org.apache.tomcat.core.ServletWrapper.doService()
at org.apache.tomcat.core.Handler.service()
at org.apache.tomcat.core.ServletWrapper.service()
at org.apache.tomcat.core.ContextManager.internalService()
at org.apache.tomcat.core.ContextManager.service()
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection()
at org.apache.tomcat.service.TcpWorkerThread.runIt()
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run()
at java.lang.Thread.run()
But this has no sense!! since both Windows XP MI Client and PDA MI CLient are at the same version. So It run in my Desktop but not in my PDA.
I saw the menu.jsp file
They used the PersistenceExample class in two places:
At the beginning of the JSP: <b><%@ page import="persistenceexample2.PersistenceExample" %></b>
And here:
String value = dataBean.getTableContent(i, j);
if (i > 1) {
<b>value = PersistenceExample.encodeForHtml(value);</b>
if (value.trim().length() < 1){
value = " ";
From a point of view of Java, everything appear to be "OK"
The other error is about a "version" should i configured the application to Version 45 in the nwa when i deploy the application?
Best Regards,
Erick Ilarraza
Similar Messages
-
Help Running The SpeakHere Example
Hi,
I'm a newbie to iphone development coming from world of windows, so apologies in advance if it's a dumb question. I'm trying to run the SpeakHere example but so far unable to do so. The program compiles and launches, but freezes when I click 'record'. I tried to debug, and it seems to crash at:
recorder->StartRecord(CFSTR("recordedFile.caf"));
At least it doesn't go past this line (there's no error). So far I checked that audio input works in another app (garage band), gave the speakhere's sandbox full permissions, made sure I have the latest version of the os and sdk, and now not too sure what to do. Any help greatly appriciated.Problem Solved:
After discovering where to look for errors I found that the error was:
Error loading /Library/QuickTime/DivX Decoder.component...
The solution was to remove the decoder and encoder from the /Library/QuickTime folder. -
Running the heapTracker example
Hi there
I am trying to run the heapTracker example that is in the demo/jvmti directory, and I am having problems with it. When I try to run it with what it says in the readme file (java -Xbootclasspath/a:heapTracker.jar), I get the following error message:
ERROR: JNI: Cannot find heapTracker with FindClass
It seems like a small problem, but it is making me go crazy! Has anyone else ever encountered this before?
Cheers
SajidHi
Yeah, I managed to get it to work� I move the jar file into the same directory as the dll�s�seems a bit strange, but it worked.
A problem I am going to try and make some changes to the heaptracker, but I can not get it to compile, the errors I have listed below. It looks like I am missing a library or something, but I am not sure which. Has anyone else ever encountered a problem like this?
error LNK2019: unresolved external symbol fatalerror referenced in function _checkJvmtiError heapTracker.obj
error LNK2019: unresolved external symbol javacrw_demo@76 referenced in function _cbClassFileLoadHook@40 heapTracker.obj
error LNK2019: unresolved external symbol javacrw_demo_classname@12 referenced in function _cbClassFileLoadHook@40 heapTracker.obj
error LNK2019: unresolved external symbol stdoutmessage referenced in function parseagent_options heapTracker.obj
error LNK2019: unresolved external symbol gettoken referenced in function parseagent_options heapTracker.obj
Any help would be very much appreciated.
Thank You
Sajid -
I would appreciate if someone can explanation my long list of questions regarding
the deployment of EJB in cluster environment.
I can't run the cluster EJB example( Teller/Account) in a cluster(contains two
server2). I always get
java.rmi.RemoteException: Unable to
resolve examples.cluster.ejb.Account
Home. Resolved: 'examples.cluster.ejb'
Unresolved:'AccountHome'
Following is my setup:
Machine A: exampleServer:7001 (admin server)
Machine A: testServer1:8001 (Managed server)
Machine B: testServer1_B:8001(Managed server)
MyCluster : testServer1, testServer1_B
Test Client:
java examples.cluster.ejb.Client "t3://Machine A:8001"
======================
Q1: Should I use 8001 or 7001 as cluster port number?
Q2: What will happen when we click "apply" after select/unselect the server in
the "target", "server" tab?
Q3: And what will happen if we click deploy/undeploy check box in "configuration"
tab of EJB item?
Q4: I check the JNDI tree from all above three servers can't find out JNDI tree
doesn't reflect the change I did in Q2 or Q3.
Q5: What is the right way to deploy EJB components, should we select both cluster
and server in the "target" tab?
Q6: I got this message from one of the server when I try to undeploy/deploy ejb
object.
"examples.cluster.ejb.TellerHome_EO in the jndi tree is non clusterable
and you have tried to bind more
once? How could I make it clusterable?
Q7: Undeploy and EJB doesn't work and sometime I still get " JNDI name in use"
from the server.
How could I fix it.
Thanks
First I can tell you that the ports have to be the same, be on the the
same network , i.e. Telnet into the other m/c. Next which you probably
have done is the properties files. Per-cluster ...
>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<
On 6/7/01, 6:59:48 AM, "James Hsu" <[email protected]> wrote regarding
Can't run the cluster example:
> I would appreciate if someone can explanation my long list of
questions regarding
> the deployment of EJB in cluster environment.
> I can't run the cluster EJB example( Teller/Account) in a
cluster(contains two
> server2). I always get
> java.rmi.RemoteException: Unable to
> resolve examples.cluster.ejb.Account
> Home. Resolved: 'examples.cluster.ejb'
> Unresolved:'AccountHome'
> Following is my setup:
> Machine A: exampleServer:7001 (admin server)
> Machine A: testServer1:8001 (Managed server)
> Machine B: testServer1_B:8001(Managed server)
> MyCluster : testServer1, testServer1_B
> Test Client:
> java examples.cluster.ejb.Client "t3://Machine A:8001"
> ======================
> Q1: Should I use 8001 or 7001 as cluster port number?
> Q2: What will happen when we click "apply" after select/unselect the
server in
> the "target", "server" tab?
> Q3: And what will happen if we click deploy/undeploy check box in
"configuration"
> tab of EJB item?
> Q4: I check the JNDI tree from all above three servers can't find out
JNDI tree
> doesn't reflect the change I did in Q2 or Q3.
> Q5: What is the right way to deploy EJB components, should we select
both cluster
> and server in the "target" tab?
> Q6: I got this message from one of the server when I try to
undeploy/deploy ejb
> object.
> "examples.cluster.ejb.TellerHome_EO in the jndi tree is non
clusterable
> and you have tried to bind more
> once? How could I make it clusterable?
> Q7: Undeploy and EJB doesn't work and sometime I still get " JNDI
name in use"
> from the server.
> How could I fix it.
> Thanks
[att1.html]
-
Am getting the following error while running the servlet example
Hi,
am getting the following error while running the servlet example
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
java.lang.NullPointerException
edu.dao.StudentDao.insertStudent(StudentDao.java:18)
edu.servlet.StudentServlet.doGet(StudentServlet.java:25)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs.
Thanks
//sreekanthHi,
the following code i have written in StudentDao
package edu.dao;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import org.apache.commons.dbutils.DbUtils;
import edu.model.Student;
import edu.util.DBUtil;
public class StudentDao {
public void insertStudent(Student student) {
String stuQuery = "INSERT INTO STUDENT VALUES(?,?)";
Connection connection = DBUtil.getConnection();
PreparedStatement preparedStatement = null;
try {
preparedStatement = connection.prepareStatement(stuQuery);
preparedStatement.setString(1,student.getStudentNo());
preparedStatement.setString(2, student.getStudentName());
preparedStatement.executeUpdate();
} catch(SQLException e){
System.out.println("..Sql exception......");
}finally {
DbUtils.closeQuietly(connection,preparedStatement,null);
} -
Got NullPointerException we I try to run the attachment example of Axis1.4.
Hi,
Enviroment:
OS: Ubuntu 7.04.
Server: Apache Tomcat6.
IDE: Eclipse3.2 + MyEclipse5.01
Axis1.4.
I have been trying to run the attachment example which locate ../samples.attachments.
I composed program arguments as below according to README file which is included in this sample.
java EchoAttachment
-hlocalhost
-lhttp://localhost:8080/axis/services/urn:EchoAttachmentsService
-saxis/servlet/AxisServlet
-p8080 /home/hut/wanglinghua.java
But these exceptions were printed on the console:
- Exception:
java.lang.NullPointerException
at java.lang.String.concat(String.java:1827)
at com.sun.activation.registries.MailcapFile.parseLine(MailcapFile.java:235)
at com.sun.activation.registries.MailcapFile.parse(MailcapFile.java:197)
at com.sun.activation.registries.MailcapFile.createMailcapHash(MailcapFile.java:157)
at com.sun.activation.registries.MailcapFile.<init>(MailcapFile.java:40)
at javax.activation.MailcapCommandMap.loadFile(MailcapCommandMap.java:276)
at javax.activation.MailcapCommandMap.<init>(MailcapCommandMap.java:128)
at javax.activation.CommandMap.getDefaultCommandMap(CommandMap.java:44)
at javax.activation.DataHandler.getCommandMap(DataHandler.java:136)
at javax.activation.DataHandler.getDataContentHandler(DataHandler.java:568)
at javax.activation.DataHandler.getInputStream(DataHandler.java:222)
at javax.activation.DataHandlerDataSource.getInputStream(DataHandler.java:658)
at org.apache.axis.attachments.MimeUtils.getContentLength(MimeUtils.java:115)
at org.apache.axis.attachments.MimeUtils.getContentLength(MimeUtils.java:60)
at org.apache.axis.attachments.AttachmentsImpl.getContentLength(AttachmentsImpl.java:438)
at org.apache.axis.Message.getContentLength(Message.java:512)
at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:373)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:1870)
at org.apache.axis.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:90)
at example.attachments.EchoAttachment.echoUsingSAAJ(EchoAttachment.java:492)
at example.attachments.EchoAttachment.main(EchoAttachment.java:323)
- Exception:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.NullPointerException
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:java.lang.NullPointerException
at java.lang.String.concat(String.java:1827)
at com.sun.activation.registries.MailcapFile.parseLine(MailcapFile.java:235)
at com.sun.activation.registries.MailcapFile.parse(MailcapFile.java:197)
at com.sun.activation.registries.MailcapFile.createMailcapHash(MailcapFile.java:157)
at com.sun.activation.registries.MailcapFile.<init>(MailcapFile.java:40)
at javax.activation.MailcapCommandMap.loadFile(MailcapCommandMap.java:276)
at javax.activation.MailcapCommandMap.<init>(MailcapCommandMap.java:128)
at javax.activation.CommandMap.getDefaultCommandMap(CommandMap.java:44)
at javax.activation.DataHandler.getCommandMap(DataHandler.java:136)
at javax.activation.DataHandler.getDataContentHandler(DataHandler.java:568)
at javax.activation.DataHandler.getContent(DataHandler.java:501)
at javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1055)
at javax.mail.internet.MimeMessage.updateHeaders(MimeMessage.java:1923)
at javax.mail.internet.MimeMessage.saveChanges(MimeMessage.java:1904)
at org.apache.axis.attachments.MimeUtils.writeToMultiPartStream(MimeUtils.java:201)
at org.apache.axis.attachments.AttachmentsImpl.writeContentToStream(AttachmentsImpl.java:493)
at org.apache.axis.Message.writeTo(Message.java:545)
at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:511)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:1870)
at org.apache.axis.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:90)
at example.attachments.EchoAttachment.echoUsingSAAJ(EchoAttachment.java:492)
at example.attachments.EchoAttachment.main(EchoAttachment.java:323)
{http://xml.apache.org/axis/}hostname:hutwang
java.lang.NullPointerException
at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
at org.apache.axis.attachments.AttachmentsImpl.writeContentToStream(AttachmentsImpl.java:512)
at org.apache.axis.Message.writeTo(Message.java:545)
at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:511)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:1870)
at org.apache.axis.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:90)
at example.attachments.EchoAttachment.echoUsingSAAJ(EchoAttachment.java:492)
at example.attachments.EchoAttachment.main(EchoAttachment.java:323)
Caused by: java.lang.NullPointerException
at java.lang.String.concat(String.java:1827)
at com.sun.activation.registries.MailcapFile.parseLine(MailcapFile.java:235)
at com.sun.activation.registries.MailcapFile.parse(MailcapFile.java:197)
at com.sun.activation.registries.MailcapFile.createMailcapHash(MailcapFile.java:157)
at com.sun.activation.registries.MailcapFile.<init>(MailcapFile.java:40)
at javax.activation.MailcapCommandMap.loadFile(MailcapCommandMap.java:276)
at javax.activation.MailcapCommandMap.<init>(MailcapCommandMap.java:128)
at javax.activation.CommandMap.getDefaultCommandMap(CommandMap.java:44)
at javax.activation.DataHandler.getCommandMap(DataHandler.java:136)
at javax.activation.DataHandler.getDataContentHandler(DataHandler.java:568)
at javax.activation.DataHandler.getContent(DataHandler.java:501)
at javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1055)
at javax.mail.internet.MimeMessage.updateHeaders(MimeMessage.java:1923)
at javax.mail.internet.MimeMessage.saveChanges(MimeMessage.java:1904)
at org.apache.axis.attachments.MimeUtils.writeToMultiPartStream(MimeUtils.java:201)
at org.apache.axis.attachments.AttachmentsImpl.writeContentToStream(AttachmentsImpl.java:493)
... 13 more
Received problem response from serverReceived problem response from server
AxisFault
faultCode: {http://xml.apache.org/axis/}
faultSubcode:
faultString: Received problem response from server
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:Received problem response from server
at example.attachments.EchoAttachment.echoUsingSAAJ(EchoAttachment.java:497)
at example.attachments.EchoAttachment.main(EchoAttachment.java:323)
{http://xml.apache.org/axis/}hostname:hutwang
Received problem response from server
at example.attachments.EchoAttachment.echoUsingSAAJ(EchoAttachment.java:497)
at example.attachments.EchoAttachment.main(EchoAttachment.java:323)
Here, the required jar - activation.jar and mail.jar have been placed into eclipse build path.
Could anyone shed some light on this?
Thanks,
-Hut
Edited by: HutWang on Sep 24, 2007 2:25 AM
Edited by: HutWang on Sep 24, 2007 2:27 AM
Edited by: HutWang on Sep 24, 2007 2:29 AMThis is a dedicated forum for Sun WebServer. You may post your question in Tomcat. If you use our WebServer7 for your deployment, you may bring the case here.
-
In running the datalgr example, I get the error NIDAQ32.dll cannot start.... then program exits. Version of NI DAQ is 6.9.2, using MS C++.
Since this is a DAQ question more than a Measurement Studio for VC++ question, I'd recommend you repost it to the DAQ forum.
Cheers,
Azucena -
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:
hongyan99I 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 -
Newbie, Help using the persistence API
Hi all,
I am trying to implement 1 : n relations between objects.
In the SAP example (Persistence example) you can see this:
P_CLASS_CAR = PDR.createClassDescriptor(Car.CLASSTYPE, CAR_ATTRIBS, new LinkDescriptor[] { PDR.createLinkDescriptor("license", License.CLASSTYPE, MultiplicityType.SINGLE, true)});
P_CLASS_LICENSE = PDR.createClassDescriptor(License.CLASSTYPE, NO_ATTRIBS, new LinkDescriptor[] { PDR.createLinkDescriptor("car", Car.CLASSTYPE, MultiplicityType.SINGLE, true)});
In this case we had a that one (1) car has one (1) License or 1:1 relation
But what about if the relations are 1:n for example one car with many license? Should i use this...
P_CLASS_CAR = PDR.createClassDescriptor(Car.CLASSTYPE, CAR_ATTRIBS, new LinkDescriptor[] { PDR.createLinkDescriptor("license", License.CLASSTYPE, MultiplicityType.<b>MULTIPLE_VECTOR</b>, true)});
P_CLASS_LICENSE_<b>1</b> = PDR.createClassDescriptor(License.CLASSTYPE, NO_ATTRIBS, new LinkDescriptor[] { PDR.createLinkDescriptor("car", Car.CLASSTYPE, MultiplicityType<b>.SINGLE</b>, true)});
P_CLASS_LICENSE_<b>2</b> = PDR.createClassDescriptor(License.CLASSTYPE, NO_ATTRIBS, new LinkDescriptor[] { PDR.createLinkDescriptor("car", Car.CLASSTYPE, MultiplicityType<b>.SINGLE</b>, true)});
P_CLASS_LICENSE_<b>n</b> = PDR.createClassDescriptor(License.CLASSTYPE, NO_ATTRIBS, new LinkDescriptor[] { PDR.createLinkDescriptor("car", Car.CLASSTYPE, MultiplicityType.<b>SINGLE</b>, true)});
So i have to put the MULTIPLE_VECTOR instead of SINGLE to say that there is a 1:n relation for example one (1) car have n licenses but one (1) license belongs to only one car. Is this correct?
Best Regards,
Erick IlarrazaHi Philipp,
Yes, I can work with persistence objects, did you need help? I can send you some code with a little of information.
In this moment I am trying to work with the Synchronization, but It didn't work!!
Best Regards,
Erick Ilarraza -
Running the hello example in client shell
I have followed the hello example for rmi_iiop okay until this following step. What should I do to make it run correctly?
C:\weblogic\myserver\corbaclient\examples\rmi_iiop\hello>java examples.rmi_iiop.
hello.HelloClient 000000000000002849444c3a6f6d672e6f72672f436f734e616d696e672f4e
616d696e67436f6e746578743a312e300000000001000000000000006a000101000000000b6c6961
7777616e2d6269000004c500000000003800424541000000000000002849444c3a6f6d672e6f7267
2f436f734e616d696e672f4e616d696e67436f6e746578743a312e30000000000800000001000000
000000000a00000000000000000000
Exception in thread "main" org.omg.CORBA.INITIALIZE: can't instantiate default O
RB implementation com.iona.corba.art.artimpl.ORBImpl minor code: 0 completed:
No
at org.omg.CORBA.ORB.create_impl(ORB.java:286)
at org.omg.CORBA.ORB.init(ORB.java:328)
at examples.rmi_iiop.hello.HelloClient.main(HelloClient.java:27)Please look for a file named orb.properties in your classpath and in the c:\jdk1.3 directory and adjust it to your liking.
wanbih liaw wrote:
The classpath and path to run the client is:
C:\weblogic\myserver\corbaclient\examples\rmi_iiop\hello>echo %classpath%
;c:\jdk1.3\lib\dt.jar;c:\jdk1.3\lib\tools.jar;c:\weblogic\myserver\corbaclient;
C:\Inprise\vbroker\lib\migration.jar;C:\Inprise\vbroker\lib\vbdev.jar;C:\Inprise
\vbroker\lib\vbjdev.jar;C:\Inprise\vbroker\lib\vbjorb.jar
C:\weblogic\myserver\corbaclient\examples\rmi_iiop\hello>echo %path%
c:\jdk1.3\bin;C:\Inprise\vbroker\bin
You can see that no iona jars are involved. For unknown reason, the program referenced iona stuff and might have caused it not to run properly. Any help is appreciated.
"wanbih liaw" <[email protected]> wrote:
I have followed the hello example for rmi_iiop okay until this following step. What should I do to make it run correctly?
C:\weblogic\myserver\corbaclient\examples\rmi_iiop\hello>java examples.rmi_iiop.
hello.HelloClient 000000000000002849444c3a6f6d672e6f72672f436f734e616d696e672f4e
616d696e67436f6e746578743a312e300000000001000000000000006a000101000000000b6c6961
7777616e2d6269000004c500000000003800424541000000000000002849444c3a6f6d672e6f7267
2f436f734e616d696e672f4e616d696e67436f6e746578743a312e30000000000800000001000000
000000000a00000000000000000000
Exception in thread "main" org.omg.CORBA.INITIALIZE: can't instantiate default O
RB implementation com.iona.corba.art.artimpl.ORBImpl minor code: 0 completed:
No
at org.omg.CORBA.ORB.create_impl(ORB.java:286)
at org.omg.CORBA.ORB.init(ORB.java:328)
at examples.rmi_iiop.hello.HelloClient.main(HelloClient.java:27) -
Not able to get Out-of-the-Box Examples Index Page for running the jsp examples
Hi
I am a new person using weblogic first time I installed the weblogic 7.0 beta
version on my machine.I am trying to start the weblogic server console so that
I can configure web applications examples on my machine.
I am getting following error and not able to view Out-of-the-Box Examples Index
Page
error:
<Apr 5, 2002 12:11:39 PM IST> <Error> <SystemDataStore> <null> <Unable to listen
on Port 7003: Address in use: JVM_Bind>
Please help me to find the reason to have this problem
Thank You in advance
VikasHi.
Please post all WLS 7.0 beta questions to the beta newsgroups -
weblogic.developer.interest.70beta.*.
Thanks,
Michael
Vikas wrote:
Hi
I am a new person using weblogic first time I installed the weblogic 7.0 beta
version on my machine.I am trying to start the weblogic server console so that
I can configure web applications examples on my machine.
I am getting following error and not able to view Out-of-the-Box Examples Index
Page
error:
<Apr 5, 2002 12:11:39 PM IST> <Error> <SystemDataStore> <null> <Unable to listen
on Port 7003: Address in use: JVM_Bind>
Please help me to find the reason to have this problem
Thank You in advance
Vikas--
Michael Young
Developer Relations Engineer
BEA Support -
I am using the ACR 38 Smart card System
I am running the applet file of ACOS 3
in the First button
ACCOUNT :
what to enter in the Credit,Debit,Certify,Revoke text fields and while clicking those buttons in bottom ,it just focusing on the particular text field is this the case
CREATE FILES:
Why the drop down list of Select Reader is activating after clicking intialize button .How to create filesHey Carolyn1951,
Thanks for the question. I understand you have a few apps that only display "Waiting". The following is a past discussion that dealt with a similar issue, the answer may help you as well:
App updates won't download on my...: Apple Support Communities
https://discussions.apple.com/thread/4111336
Try tapping the App, so that it changes to Paused instead of Waiting, then tap it again to resume the install.
Make sure you don't have any paused downloads in other apps either, like the App Store or iTunes Store.
If that doesn't do it, try resetting or restoring the iPhone.
via whatheck
Thanks,
Matt M. -
Error 1073807331 when trying to Run the "servo" example in Labview.
Error -1073807331 occurred at Property Node (arg 2) in VISA Configure Serial Port (Instr).vi->LabVIEW Interface for Arduino.lvlib:Init.vi->LabVIEW Interface for Arduino.lvlib:Arduino Servo.vi
So, I can connect to the Arduino Mega 2560 in MAX and also in VISA, but when I try to run this example, I get the above error. with the explanation "The specified attribute is not defined or supported by the referenced resource."
the ONLY error i can see in VISA is this :
under Configuration/View attributes- "Interrupt in pipe status | VI_ATTR_USB_INTR_IN_STATUS | Invalid Property Value"
this is in red., all other text is in black.
Under "Input/Output" I can write to the board "*IDN?\n" and get a return of 6bytes which it appears happy with.
Query button appears happy as well.
as does "Read"
the "read status byte" button gives me "
Read STB Operation
Error
VISA: (Hex 0xBFFF003A) Unable to start operation because setup is invalid (due to attributes being set to an inconsistent state)."
I am at a loss as to what to do about this as I cannot see a way to change this value.
Any help is greatly appreciated.
thanks
Jason LeeOK, well I know how to connect the arduino to my PC as well, its simple.
I have been playing around with the mega2560 for over a year, so it's not that.
I can connect to and talk to the 2560 from the arduino IDE, but not LabView. I did see both TX and RX activity tonight, and thought, "yay! its finally stopped being retarded", but as soon as I hit run, it fell back to the old"cannot find arduino"
the reason I was using VISA was because I couldn't get any joy from the serial/USB method.
If I somehow mange to let the magic smoke out of this, I doubt I'd be very upset bout it.
anyway, any other ideas?
Cheers
Jason -
Please help give the BDC example for KZZ2, overhead rate BDC program
Hi, All
I have implemented notes 208474, and I need an add-on BDC program for KZZ2. Could anybody help me?
Thanks in advance.
<LOCKED BY MODERATOR - URGENT, PLEASE HELP OR SIMILAR ARE FORBIDDEN>
Edited by: Alvaro Tejada Galindo on Aug 15, 2008 5:17 PMyou might have got the details of what to extend for this customer n XD01. do a recording for those fields which have to be extended and call transaction XD01 and do a bdc. Other also after extending it do another recording to modify this using XD02 like the similar way taking the fields that you have to modify and do a bdc. Know from them if they need both of them in one BDC Prg or different BDC Progams. This is one way.
The other way is to search if you have any BAPI's to do this and use those BAPI's.
Award points if it helps. -
Could not run the bookstore1 example from the Java Web Services Tutorial
The bookstore1 servlets example from the Java Web Services Tutorial (issue Aug 1, 2002) was built and deployed successfully by using the deploytool (following the steps described on pages 498ff of the tutorial).
After deploying the application the Tomcat Web Application Manager shows the entry:
/bookstore1:stopped:0:D:\Programme\Java\tomcat\jakarta-tomcat-4.1.8\work\Standalone\localhost\manager\bookstore1.war
when entering the command: http://localhost:8080/manager/list.
After entering the command: http://localhost:8080/manager/start?path=/bookstore1, the (uncomplete) message appears:
FAIL - Application at context path /bookstore1 could not
It should be noted that I was able to build and deploy the application GSApp (chapter 3 of the tutorial) successfully.Did you set up the database as described in
http://java.sun.com/webservices/docs/1.0/tutorial/doc/WebApp13.html#69868
Maybe you are looking for
-
I have used a model 6100F Westell ADSL2+ modem from Verizon Company with a B and G Linksys router for over 5 years. I have just purchased a Linksys E1200 Router from Best Buy, so that I can now use the "N" series router. The only probelm is that I ca
-
How open a service order using event handling
HOw to open a service order using event handling
-
IMac (2007, Intel Duo-Core, 2Ghz, 4GB Ram) crashing unexpectedly
Need some help. I know my iMac is getting on in years, but this is becoming a problem. We have been saving up for a new computer, but in the mean time I'd like make this one last. I have combed the forums and I'm not reading any solutions that see
-
Where can i find the wall mount for 610 1201
where can i find the wall mount for 610 1201
-
i go into my ipod messageing click on who i wont to send a message to i send like hi and it goes 90% of the way waits a bit still says sending then fails the other person say that they sent one to me exact id i dont get it same with facetime i go to