JSP With JBoss
Hello friends,
Can anyone please help me how to set-up an environment in JBoss to run JSP files and Servlets. I want to use my own context and docBase location.
Thanks and Regards,
Niranjan
Does it always necessary that we need to create a WAR file.I have been doing it that way. But you could copy the app as a folder also at the same location (default/deploy). But if i remember correctly, JBoss gives some zip related error if you copy folder with name like say, TestABC, since it expects an archive. you might have to copy the folder as TestABC.war (Not a war file, just the folder name ends with ".war"). Try it and let me know :-)
By setting up environment I meant that in case
of Tomcat I was creating my own context by adding
Context specific information to server.xml file. Here
is it possible ?Guess you meant this.
<Host appBase="webapps" name="localhost">
<Context docBase="tstweb" path="/tstweb" workDir="work\Catalina\localhost\tstweb">
</Context>
</Host>You could try with the server.xml at "jboss-4.0.2\server\default\deploy\jbossweb-tomcat55.sar". Its the same as the tomcat one. but with very many diff conf indeed.. like;
<Host name="localhost" autoDeploy="false" deployOnStartup="false" deployXML="false">being said that, try NOT to change the server.xml simply because it is SERVER xml and not your application specific. See this for details : http://forum.java.sun.com/thread.jspa?forumID=45&threadID=643344
Similar Messages
-
How do you use Struts with Jboss Portal
I am trying to use strust with jboss portal but I am getting the following error:
An error occured while rendering window 'default.MyPortlet2.myportlet2Window'
org.apache.jasper.JasperException: Exception in JSP: /WEB-INF/jsp/SearchResultPage.jsp:71 68: List searchresult = (List) request.getAttribute("searchresult"); 69: %> 70: Stacktrace:
I am getting this is in the log file
Caused by: org.apache.jasper.JasperException: Exception in JSP: /WEB-INF/jsp/SearchResultPage.jsp:71
68: List searchresult = (List) request.getAttribute("searchresult");
69: %>
70: <%
71: for (Iterator itr=searchresult.iterator(); itr.hasNext(); )
72: {
73: testPackage.net.dao.hibernate.WorkList workList = (testPackage.net.dao.hibernate.WorkList)itr.next();
74: %>
Stacktrace:
at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:504)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.execute(PortletRequestDispatcherImpl.ja
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 org.jboss.portal.server.servlet.CommandFilter.doFilter(CommandFilter.java:65)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
at org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.ja
... 238 more
Caused by: java.lang.NullPointerException
at org.apache.jsp.WEB_002dINF.jsp.SearchResultPage_jsp._jspService(SearchResultPage_jsp.java:152)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
... 255 moreI am trying to use strust with jboss portal but I am getting the following error:
An error occured while rendering window 'default.MyPortlet2.myportlet2Window'
org.apache.jasper.JasperException: Exception in JSP: /WEB-INF/jsp/SearchResultPage.jsp:71 68: List searchresult = (List) request.getAttribute("searchresult"); 69: %> 70: Stacktrace:
I am getting this is in the log file
Caused by: org.apache.jasper.JasperException: Exception in JSP: /WEB-INF/jsp/SearchResultPage.jsp:71
68: List searchresult = (List) request.getAttribute("searchresult");
69: %>
70: <%
71: for (Iterator itr=searchresult.iterator(); itr.hasNext(); )
72: {
73: testPackage.net.dao.hibernate.WorkList workList = (testPackage.net.dao.hibernate.WorkList)itr.next();
74: %>
Stacktrace:
at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:504)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.execute(PortletRequestDispatcherImpl.ja
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 org.jboss.portal.server.servlet.CommandFilter.doFilter(CommandFilter.java:65)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
at org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.ja
... 238 more
Caused by: java.lang.NullPointerException
at org.apache.jsp.WEB_002dINF.jsp.SearchResultPage_jsp._jspService(SearchResultPage_jsp.java:152)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
... 255 more -
Dear Experts
I am currently creating a web page which allows the customers to upload csv file.
I serached through the net and found that people are using "UploadBean" for this thus I downloaded the uploadbean jar file and imported it to my Jboss library.
My jsp code is :
<%String uploadDir = "C:/EVS Temp";%>
<jsp:useBean id="upBean" scope="page" class="javazoom.upload.UploadBean" >
<jsp:setProperty name="upBean" property="folderstore" value="<%=uploadDir%>" />
</jsp:useBean>Followed by a save button.
But I got the error message like this:
An error occurred at line: 27 in the jsp file: /meter/meter_uploadMeterList.jsp
javazoom.upload.UploadBean cannot be resolved to a type
26: <%String uploadDir = "C:/EVS Temp"; %>
27: <jsp:useBean id="upBean" scope="page" class="javazoom.upload.UploadBean" >
28: <jsp:setProperty name="upBean" property="folderstore" value="<%=uploadDir%>" />
29: </jsp:useBean>
Stacktrace:
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:415)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:308)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:316)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)I understand that this uploadBean problem has been asked many times. But I dont think those answers can solve my problem as they was not using JBoss.
On the Uploadbean Support site, they said uploadbean is not tested with JBoss.
http://www.javazoom.net/jzservlets/uploadbean/documentation/software.html
Any idea for this?
Thanks alot.Drop your ear into JBOSS_HOME\server\defaultJBOSS_HOME\server\default\deploy that is. Also the webapp must have a context root set up so that you can access it through
http//localhost:8080/myContextRoot/myPage.jsp
The context root is specified in the application descriptor, for instance something like
<!DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN' 'http://java.sun.com/dtd/application_1_3.dtd'>
<application>
<display-name>PublicationBase2EAR</display-name>
<description>Application description</description>
<module>
<web>
<web-uri>war-ic.war</web-uri>
<context-root>PubAdmin</context-root>
</web>
</module>
<module>
<ejb>ejb-jar-ic.jar</ejb>
</module>
</application>
Hope this helps,
[email protected] -
Does JBoss support JWSDP (JAXP-RPC, WDSL, etc.)?
Hi,
JBOSS is only the EJB engine who are using.
JWSDP depends on the servlet/jsp engine you'll switch infront of JBOSS.
So if you can successfully connect JWSDP (--> Tomcat4.10) with JBOSS - what I guess is possible - you can use JBOSS with JWSDP.
We are using JWSDP for example with BES5.1.
Olver -
Error while running JSP with custom tag
I am trying to run a jsp with a tag and I am getting the following error when I run the jsp:
"Unable to open taglibrary /WEB-INF/jsp/mytaglib.tld : Parse Error in the tag library descriptor: External parameter entity "%(DOCTYPE);" has characters after markup."
I have no idea what this is, can anyone help me here?
tx
-ABIts difficult to tell without looking at your TLD file i.e. mytaglib.tld
However, a guess is that you may be refering to an invalid or otherwise corrupted DTD from your TLD.
Check that out.
The official DTD for TLDs in JSP 1.1 is http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd
and the official DTD for TLDs in JSP 1.2 is http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd -
OIM installation with JBoss 4.2.3GA
Hello..
I have installed OIM 9.1.0.1 with JBoss 4.2.3GA. And getting the following error when access the http://localhost:8080/xlWebApp
INFO [TomcatDeployer] deploy, ctxPath=/xlScheduler, warUrl=.../tmp/deploy/tmp21688xlScheduler-exp.war/
INFO [WEBSTARTUP] Start the Scheduler on server startup : true
INFO [WEBSTARTUP] SchedulerInitServlet/initializeScheduler method reads data from TSK/TSA tables and initialize Quartz scheduler with the task and trigger details
ERROR [STDERR] javax.naming.NamingException: Could not dereference object [Root exception is javax.naming.NameNotFoundException: jdbc not bound]
ERROR [STDERR] at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1215)
ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:758)
ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:774)
ERROR [STDERR] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
ERROR [STDERR] at javax.naming.InitialContext.lookup(InitialContext.java:392)
ERROR [STDERR] at com.thortech.xl.util.DirectDB.getDataSource(Unknown Source)
ERROR [STDERR] at com.thortech.xl.util.DirectDB.getConnection(Unknown Source)
ERROR [STDERR] at com.thortech.xl.util.DirectDB.getConnection(Unknown Source)
ERROR [STDERR] at com.thortech.xl.scheduler.common.SchedulerUtil.getManagedConnection(Unknown Source)
ERROR [STDERR] at com.thortech.xl.scheduler.deployment.webapp.SchedulerInitServlet.initializeScheduler(Unknown Source)
ERROR [STDERR] at com.thortech.xl.scheduler.deployment.webapp.SchedulerInitServlet.startScheduler(Unknown Source)
ERROR [STDERR] at com.thortech.xl.scheduler.deployment.webapp.SchedulerInitServlet.init(Unknown Source)
ERROR [STDERR] at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
ERROR [DATABASE] Class/Method: DirectDB/getConnection encounter some problems: Error while retrieving database connection.Please check for the follwoing
Database srever is running.
Datasource configuration settings are correct.
java.lang.NullPointerException
at com.thortech.xl.util.DirectDB.getConnection(Unknown Source)
at com.thortech.xl.util.DirectDB.getConnection(Unknown Source)
at com.thortech.xl.scheduler.common.SchedulerUtil.getManagedConnection(Unknown Source)
at com.thortech.xl.scheduler.deployment.webapp.SchedulerInitServlet.initializeScheduler(Unknown Source)
at com.thortech.xl.scheduler.deployment.webapp.SchedulerInitServlet.startScheduler(Unknown Source)
at com.thortech.xl.scheduler.deployment.webapp.SchedulerInitServlet.init(Unknown Source)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4071)
please help me resolve this issue. Thanks in advanceHi,
The server started with some errors.
INFO [WEBSTARTUP] SchedulerInitServlet/initializeScheduler method reads data from TSK/TSA tables and initialize Quartz scheduler with the task and trigger details
ERROR [STDERR] javax.naming.NamingException: Could not dereference object [Root exception is javax.naming.NameNotFoundException: jdbc not bound
Oracle DB is running fine. But not sure on how to verity the connectivity between the OIM and the database. Some more hints would be helpful
Thanks. -
Ear file cant be deployed from eclipse with jboss 3.2.7
I am using eclipse with JBOSS IDE1.5
I want to work with EJB in eclipse. I have created configured all neccessary directory structure , xml files and jar,war,ear files(using XDoclet Configureations).
But i am not able to deploy my "ear" file . At that time i am getiing following message in JBOSS Console.
16:48:41,937 INFO [EARDeployer] Init J2EE application: file:/F:/jboss-3.2.7/server/default/deploy/FiboApp.ear
16:48:42,421 WARN [verifier] EJB spec violation:
Bean : Fibo
Section: 22.2
Warning: The bean provider must specify the fully-qualified name of the enterprise bean's remote home interface, if any, in the <home> element.
Info : Class not found on 'tutorial.interfaces.FiboHome': No ClassLoaders found for: tutorial.interfaces.FiboHome
16:48:42,453 WARN [verifier] EJB spec violation:
Bean : Fibo
Section: 22.2
Warning: The bean provider must specify the fully-qualified name of the enterprise bean's remote interface, if any, in the <remote> element.
Info : Class not found on 'tutorial.interfaces.Fibo': No ClassLoaders found for: tutorial.interfaces.Fibo
16:48:42,453 WARN [verifier] EJB spec violation:
Bean : Fibo
Section: 7.10.1
Warning: The session bean must implement either a remote home and remote, or a local home and a local interface.
Any suggestions or remarks will be greatly appreciated
Thanks in advance
satheeshAtlast it worked. The problem was that in my ejb-jar.xml I was referring to 2_0.dtd. I have changed that to 2.1 and it worked.
Older ejb-jar.xml had:
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "C:/jboss-4.0.1sp1/docs/dtd/ejb-jar_2_0.dtd">
I changed that to:
<ejb-jar xmlns="http://java.sun.com/xml/ns/j2ee" version="2.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd">
And it worked.
-Sathish -
Problem in Blazeds with Jboss Clustering ( Mod_JK with SSL )
Hi,
We are running our flex application in jboss clustering environment with the help of Apache mod_jk(Apache Web server as front end with mod_ssl enabled). We are using the SecureAMFChannel as we deploy the application in SSL. We use the RemoteObject for communicating with Java.
The Application is running fine when we have only one node of JBoss. But once we add one more node to the cluster the application throws the following exception .
Duplicate HTTP-based FlexSession error: A request for FlexClient 'FDCA49A7-9317-4D8A-881F-9248B1136E7A' arrived over a new FlexSession 'C9C563B8266A03C2207C00796CD7DFF1', but FlexClient is already associated with FlexSession '8A328320F5C530D55E94568996A1B552', therefore it cannot be associated with the new session.
As I am maintaing the session in the server, I need to use the JBoss cluster for session replication. I heard that flex clustering is not needed as we have mod_jk and it will do all the stuff for us.
I checked with simple application without any session data also then too I faced the same problem.
After the very first login, I can see 2 session created simultaneously and destroyed. I checked the application whether it calls twice before the session is created, but it is calling only once.
Also when application connects with server2 and if I down the server2 my flex application throws the error that the server is not found, It is not detecting the other server.But it works once I refresh the browser.
Application Environment Details
JBoss 6
Blaze Ds 4.5
Apache Web server 2.2.21
Mod_JK 1.2.32
Mod_SSL 2.8.31
Thanks,
Suresh T
I enabled the sticky session in Mod_jk .
It is working when the connection is not secure(http) in both apache web server and jboss web server ). But when the connection is https the above problem is happening .
Message was edited by: suresh.thirumuruganHi,
Thanks for your info.
It worked for me as well.
Thanks,
Prasad
On 6/26/08,
Matthieu Labour <
[email protected]> wrote:
A new message was posted by Matthieu Labour in
Configuration and Getting Started Discussion --
Problem with configuring BlazeDS with JBOSS
You might want to download the following tutorial
http://sebastien-arbogast.com/2008/04/10/flex-spring-and-blazeds-the-full-stack/
it works on jboss
Best
Matt
View/reply at
Problem with configuring BlazeDS with JBOSS
Replies by email are OK.
Use the
unsubscribe form to cancel your email subscription. -
Install OIM 9.0.2 on Linux with JBOSS or OAS 10.1.3.1
Hi all,
I try to install OIM on RHEL 4 update 3 .
First I installed OIM 9.0.2 in Oracle 10.2.0.1 with JBOSS and I obstacled with errors during compilling adapters of OEBS and OID from Connectors Pack.
After that I desided to install OIM in existing Oracle 10.2.0.1 on OAS 10.1.3.1 during installation I obstacle with follow error "Oracle Identity Manager installer has found that Oracle Application Server is not running. So, start Oracle Application Server and then proceed with installation."
I tested my OAS and I's starting
Please give me advise about my abilities with installation OIM 9.0.2 on Linux.For JBOSS I use
./java -version
java version "1.4.2_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_13-b06)
Java HotSpot(TM) Client VM (build 1.4.2_13-b06, mixed mode)
For OAS 10.1.3.1 I use
./java -version
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Server VM (build 1.5.0_06-b05, mixed mode)
After all, I installed OIM 9.0.2 on OAS 10.1.3.1 but I have same problems which I have with JBOSS installation:
1. I have warnings during import xml files of adapters such as
OID User
[Warning] Warn:Target has more recent definition.
Lookup.OID.Department
[Warning] Warn:Target has more recent definition.
Lookup.OID.Location
[Warning] Warn:Target has more recent definition.
UD_OID_ROLE
[Warning] Warn:Target has more recent definition.
adpOIDADDUSERTOGROUP
[Warning] Warn:Target has more recent definition.
AttrName.Prov.Map.OID
[Warning] Warn:Target has more recent definition.
com.thortech.xl.dataobj.tcUD_OID_ROLE
[Warning] Warn:Target has more recent definition.
com.thortech.xl.dataobj.tcOBJ
[Warning] Warn:Target has more recent definition.
etc ...
2. I have errors during compilling adapters in Design Console, It's error such as ""CODE GEN EXCEPTION" " -
Oracle Apps Adapter with jboss
Hi,
I'm using BPEL 10.1.2 with JBoss and I'm having trouble getting the Apps Adapter to work. I've tried configuring AppsAdapter-ds.xml in the deploy directory but I get the error message below when I invoke the process. Basically, the connection URL is invalid ? Looks ok to me, am I missing something. All the doco, even that with JBoss only talks about oracle BPEL engine. Not particularly helpful.
matt.
13:42:22,835 INFO [STDOUT] <2006-02-06 13:42:22,835> <INFO> <default.collaxa.cube.ws> <AdapterFramework::Outbound> file:/C:/development/orabpel_jboss1012/domains/default/tmp/.bpel_BPELProcess1_1.0.jar/OracleDev11.wsdl [ OracleDev11_ptt::OracleDev11Select(OracleDev11Select_inparameters,ArCustomersCollection) ] - Using JCA Connection Pool - max size = <unbounded>
13:42:23,788 INFO [STDOUT] <2006-02-06 13:42:23,788> <ERROR> <default.collaxa.cube.ws> <Database Adapter::Outbound> <oracle.tip.adapter.db.DBManagedConnectionFactory acquireClientSession> unable to build the TopLink Session
13:42:23,804 INFO [STDOUT] <2006-02-06 13:42:23,804> <ERROR> <default.collaxa.cube.ws> <Database Adapter::Outbound> <oracle.tip.adapter.db.DBInteraction executeOutboundRead> unable to execute the NamedQuery: BPELProcess1.ArCustomers.OracleDev11Select
13:42:23,804 INFO [STDOUT] <2006-02-06 13:42:23,804> <ERROR> <default.collaxa.cube.ws> <AdapterFramework::Outbound> file:/C:/development/orabpel_jboss1012/domains/default/tmp/.bpel_BPELProcess1_1.0.jar/OracleDev11.wsdl [ OracleDev11_ptt::OracleDev11Select(OracleDev11Select_inparameters,ArCustomersCollection) ] - Could not invoke operation 'OracleDev11Select' against the 'Database Adapter' due to:
ORABPEL-11622
Could not create/access the TopLink Session.
This session is used to connect to the datastore.
See root exception for the specific exception. You may need to configure the connection settings in the deployment descriptor (i.e. orabpel/system/app
server/jboss/server/default/deploy/DbAdapter-ds.xml) and restart the server. Caused by Exception [TOPLINK-4002] (OracleAS TopLink - 10g (9.0.4.5) (Build 040930)): oracle.toplink.exceptions.DatabaseException
Exception Description: java.sql.SQLException: Invalid Oracle URL specified
Internal Exception: java.sql.SQLException: Invalid Oracle URL specified
Error Code: 17067.
13:42:23,804 INFO [STDOUT] <2006-02-06 13:42:23,804> <INFO> <default.collaxa.cube.ws> <AdapterFramework::Outbound> Change logging level for Logger 'default.collaxa.cube.ws' to DEBUG to see full error stack
13:42:23,804 INFO [STDOUT] <2006-02-06 13:42:23,804> <ERROR> <default.collaxa.cube.ws> <AdapterFramework::Outbound> file:/C:/development/orabpel_jboss1012/domains/default/tmp/.bpel_BPELProcess1_1.0.jar/OracleDev11.wsdl [ OracleDev11_ptt::OracleDev11Select(OracleDev11Select_inparameters,ArCustomersCollection) ] - Rolling back JCA LocalTransaction
13:42:23,976 INFO [STDOUT] <2006-02-06 13:42:23,976> <ERROR> <default.collaxa.cube.sensor> <PCException::<init>> JMS connection factory lookup failed.
13:42:23,976 INFO [STDOUT] <2006-02-06 13:42:23,976> <ERROR> <default.collaxa.cube.sensor> <PCException::<init>> Please verify the JMS configuration.
13:42:23,976 INFO [STDOUT] <2006-02-06 13:42:23,976> <ERROR> <default.collaxa.cube.sensor> <DefaultDataRouter::send> JMS connection factory lookup failed.
13:42:23,976 INFO [STDOUT] <2006-02-06 13:42:23,976> <ERROR> <default.collaxa.cube.sensor> <DefaultDataRouter::send> Please verify the JMS configuration.I don't know if this is the answer or not, but at least worth a try.
A few years ago, JBoss was VERY unforgiving if installed on a windows machine with a space in the path. Most JBoss functionality would work fine, but in some situations, it would complain about the URL, just as it has in your case. It looks to me as if you do have a space in your path. I don't know if they ever got around to fixing it (I filed the original bug on the JBoss bug system). It's at least worth a try, or at least a search through the JBoss site to see if this issue still exists.
Catherine -
JSF 1.2 compatibility with JBoss
I would like to know how to configure (or what is required) JSF 1.2 with JBoss 3.2.x
Indianparadesi wrote:
I would like to know how to configure (or what is required) JSF 1.2 with JBoss 3.2.xI don't think JBoss 3.2.x supports JSF, although I could be wrong. -
Problem in connecting JSP with Oracle 9i.
Hi,
I am having problem in connecting JSP with Oracle 9i.
I am using windows XP and my JDK version is 1.4. For executing JSP I am using
"jakarta-tomcat-5.5.4-preconfigured". My database name is global.
I have set java_home, j2ee_home, oracle_home, path, classpath as follows:
j2ee_home=c:\sun\appserver
java_home=c:\sun\appserver\jdk
oracle_home=C:\oracle\ora92
path=C:\Sun\AppServer\bin;C:\Sun\AppServer\jdk\bin;C:\oracle\ora92\bin
classpath=C:\Sun\AppServer\lib\j2ee.jar;C:\oracle\ora92\jdbc\lib\ojdbc14.jar;C:\oracle\ora92\jdbc\lib\nls_charse
t12.zip
My code is as follows:
<%@ page language="java" %>
<%@ page import ="java.sql.*"%>
<%
try
DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
Connection conn = DriverManager.getConnection ("jdbc:oracle:oci8:@global", "scott", "tiger");
catch(SQLException e)
out.println(""+e);
out.println("Connected");
%>
I tried other program:
<%@ page language="java" %>
<%@ page import ="java.sql.*"%>
<%
Class.forName("oracle.jdbc.driver.OracleDriver");
Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:global","scott","tiger");
out.println("Connected");
%>
I am getting following error:
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 5 in the jsp file: /jsp/oracle.jsp
Generated servlet error:
oracle.jdbc.OracleDriver cannot be resolved or is not a type
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:389)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:296)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Thanking you in advance,
Anuragmaneesh108 wrote:
hi this is maneesh1) Read the thread it has been answered.
2) The thread is very old. Don't resurrect old threads.
I'm locking this zombie thread.
Kaj -
Facing problem in integrating my custom jsp with the workflow engine
Hi,
I am using Jdeveloper 11.1.1.6.0 for BPM 11g implementation on my Application.I have Weblogic Server 10.3 Installed and configured the domain. Also the server is up and running.
I am trying to create workflow and wants to integrate it with my custom jsp but i am facing problem in integrating my custom jsp with the workflow engine.Can you please answer the following questions:
1)how to link BPM human task with my custom jsp (Requester jsp).
2)how my custom jsp data(Requester data) will be stored in workflow engine and how the same data will be visible to the next custom jsp(Reviewer jsp).
This is urgent .Any early reply will be great help.
Thanks in advance.
Edited by: 990133 on Mar 24, 2013 5:31 AMyou forgot to add the usage dependency in the DC metadata section in your DC, you have to add the XSS~utils and fpm as a used DC's as part of your DC, try to add those, if you already done that, so check where missed the adding of used webdynpro components in any of the VAC's or FC's,
Cheer,
Appa -
Creating SSL certificate and configuring it with JBOSS 4.0.1
I have to post some data to a secured site from my application.
For this, I am creating connection to that site using URLConnection and to send data I create OutputStream using the connection.
But, while creating the stream it is showing SSLException and message is No trusted certificate found.
For this, I need to create SSL certificate (mostly using keytool command) and configure it with my application server which is JBOSS 4.0.1
Now, my problem is that I don't know the exact steps to create a certificate and configure it with JBOSS. Please provide the steps in detail.I think you have this back to front. Unless this exception came from the server, in which case it is misconfigured, you don't have to create a certificate, you have to import the server's certificate, or that of one of its signers, into the client's truststore, and tell Java where the truststore is if it's in a non-standard location.
See http://java.sun.com/j2se/1.5.0/docs/guide/security/jsse/JSSERefGuide.html. You'll have to ask about the JBoss part in a JBoss forum. -
BlazeDS clustering with JBoss AS
Greetings,
I'm currently working on a system that uses Adobe Flex 3 and BlazeDS. It works fine in the actual TomCat standalone server, but we got plans to upgrade our infrastructure to a cluster environment running JBoss AS.
I got really concern when I begin to read many articles and forum posts about BlazeDS issues with clustering.
Is this a risk to my project ? Should I quit using BlazeDS ?
Thanks is advance,
Daniel CheidaHi Mauricio,
I installed OCMS in JBOSS AS 4.0.5.GA installation mode.I m facing the same problem on ocms startup, i.e., proxyregistrar war file is not deployed properly. OCMS not working properly with JBOSS AS 4.2.1 GA and JBOSS AS 4.2.2 GA too i.e., OCMS MBeans are not shown in the jmx-console page and the oc is not getting connected to the ocms, traffic.log file shows that application proxyregistrar is not found. Please help me out in solving this issue.
Regards,
Harini Dhanasekaran.
Maybe you are looking for
-
Applet Videoplayer, able to play more than one movie
Hallo, I am looking for a sample applet that works as a video player. I have tested the sample code provided by JMF, but there is no example that allows to replace the current movie with a new movie. In other words, I am looking for a applet program,
-
When I send a message it says "user not registered"??
When I send a message on new ipad mini, it says "user not registered"??
-
Labview communicate with ABB robot through dll Dot Net
Hi all, Currently I need to use labview to do the communicate with dot net, for example to read and write RAPID data, Get execute status from robot. I'm able to read from RAPID but can't manage to write. Does anyone have an idea how to do? Please
-
Adobe Premiere Elements installation fails
I get the following error when installing Adobe Premiere Elements: Exit Code: 7 -------------------------------------- Summary -------------------------------------- - 0 fatal error(s), 8 error(s), 7 warning(s) WARNING: DW031: Payload:{3F023875-4A52-
-
Just to give you a little background on myself: I graduated with a BSCS degree last year and have been developing web applications using Cold Fusion ever since. I'm looking to return to my roots in object-oriented application programming and have sta