Nada Bajnaid

Ranch Hand
+ Follow
since Aug 14, 2011
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Nada Bajnaid

Now when trying to load my application I
Page could not be found error.

I had the application working from several months. I just added <ul> and it was working fine tell yesterday. I tried to call the doPost from href of one of the list elements and it doesn't work. Then when I removed the line (comment it) the application is not working any more.

I'm sure something wrong with uploading my web app in the server but don't know how to solve it or configure it.

Ay advice please!!
Hi

When I open the C:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps I found the directory empty
In the console this is the error


java.lang.NullPointerException
at SQA.Learning.System.ReadingOntology.userExist(ReadingOntology.java:198)
at SQA.Learning.System.SQAServlet.doGet(SQAServlet.java:74)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:498)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:562)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:394)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:243)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:166)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
I built a server that was working fine. I added something related to using action in href but it doesnot work. I commented this line but got my server not working properly. Seems that it is still using the old version?

The following error appears when I try to clean the work directory of the Apache 7 server in eclipse

Publishing failed with multiple errors Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\antlr-2.7.5.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\arq-2.8.7.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\arq-extra.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\arq.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\axis.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\commons-discovery-0.4.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\commons-lang-2.0.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\commons-logging-1.1.1.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\concurrent.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\edtftpj-1.5.2.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\ekitspell.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\icu4j-3.4.4.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\icu4j_3_4.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\iri-0.8.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\iri.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\jcalendar.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\jdom.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\jena-2.6.4-tests.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\jena-2.6.4.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\jena.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\jep-2.4.0.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\jess.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\json.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\junit-4.5.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\junit.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\kazuki.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\log4j-1.2.12.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\log4j-1.2.13.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\lucene-core-2.3.1.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\orphanNodesAlg.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\owlsyntax.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\protege-owl.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\protege.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\slf4j-api-1.5.8.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\slf4j-log4j12-1.5.8.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\stax-api-1.0.1.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\stax-api-1.0.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\swingx-1.0.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\swrl-drools-bridge.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\swrl-jess-bridge.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\wstx-asl-3.0.0.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\wstx-asl-3.2.9.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\xercesImpl-2.7.1.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\xercesImpl.jar. May be locked by another process. Could not delete C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\SQAES\WEB-INF\lib\xml-apis.jar. May be locked by another process.

Any suggestion
thanks
Hi Bear
Do you mean that I should use seprate file for each HTML screen? What is the right way to have things organized and easy controlled. Aslo what is the best way to have my output be in graphical represenation rather than just text?

Many thanks
11 years ago
I have the following code in my doGet



in my doPost I add a potton "New Search" that should returned me to the previous code in the doGet. I call the form 'search form' with href but it didn't work



Any clue?

Thanks
11 years ago
Thanks. What about SVG will it be a choise.
As I know I have to save my text results in XML file then use SVG to represent the data in the XML file into graphics

Is that correct? If so how to do it? What is a good resource or tutorial for using SVG.
11 years ago
Dear All,
I built a web server that provide the user with learning resources about the queried concept. My output something like this:

Core learning resources:
LR1
LR1
:
LRn (list of learning resources as hyperlinks)

Rleated Topics:
Topic1
Topic2
:
Topic3 (list of topics for further investigation also links)

I want the output to be more attractive (ie graphical output) for example the learning resources to be like a tree or network of learning resources)

How can I do this with eclipse and apatch tomcat 7?

Thanks
11 years ago

Thanks for the reply. Could it be through the Internet?
12 years ago
Hi all
I create my web application using eclipse and tomcat7. It works fine I call it through (localhost:8080/myApplicationName). Now I need to test my application by some users but I don't know how to call my application from different machines. Your support is highly appreciated

Thanks
Nada
12 years ago
I changed the language argument to N-TRIPLE and got no error. But the created file can not be opened with Protege.

Eventhough the type of the file is OWL. it shows the logo of IE !!

Thanks
In my servlet I read an ontology model OntModel access some info then I create some new properties between existing instances (individuals) and save the ontology to a file. I use the follwoing code



Then I got the following error:

com.hp.hpl.jena.shared.BadURIException: Only well-formed absolute URIrefs can be included in RDF/XML output: <C> Code: 57/REQUIRED_COMPONENT_MISSING in SCHEME: A component that is required by the scheme is missing.Any help is appreciated
Yes finaly it works. Many thanks
12 years ago
it is a string containing the new URL. You can see it works with the href tag
12 years ago