Do weblogic 8.1 support apache struts
Hi All,
We want to use weblogic express 8.1. Does it support apache stucts and what
si the version ?
Sure. 8.1 supports JSP 1.2 and Servlet 2.3. Any version of struts that
complies to those specs should be fine. I believe our Workshop product
uses Struts 1.1.
-- Rob
Leo wrote:
> Hi All,
> We want to use weblogic express 8.1. Does it support apache stucts and what
> si the version ?
Similar Messages
-
Hi All,
I have a proble deploying my app with struts 1.3.10, when I run under tomcat 6 on my eclipse, it´s fine, but when I deploy on weblogic send next exception:
####<Apr 2, 2013 4:24:19 PM CDT> <Info> <ServletContext-/slagentes> <DSWLC01K> <svr-slisto> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1364937859494> <BEA-000000> <layout.jsp:142:14: The tag handler class was not found "org.apache.struts.taglib.tiles.InsertTag".
<tiles:insert attribute="content"/>
^----------^
layout.jsp:142:14: The tag handler class was not found "org.apache.struts.taglib.tiles.InsertTag".
<tiles:insert attribute="content"/>
^----------^
>
####<Apr 2, 2013 4:24:19 PM CDT> <Error> <HTTP> <DSWLC01K> <svr-slisto> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1364937859499> <BEA-101017> <[ServletContext@159254910[app:slagentes module:/slagentes path:null spec-version:3.0], request: weblogic.servlet.internal.ServletRequestImpl@5ebf5ebf[
POST /slagentes/login.do HTTP/1.1
Connection: keep-alive
Content-Length: 37
Cache-Control: max-age=0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Origin: http://172.17.12.129:7004
User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.43 Safari/537.31
Content-Type: application/x-www-form-urlencoded
Referer: http://172.17.12.129:7004/slagentes/
Accept-Encoding: gzip,deflate,sdch
Accept-Language: es-ES,es;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
]] Root cause of ServletException.
weblogic.servlet.jsp.CompilationException: Failed to compile JSP /jsp/template/layout.jsp
layout.jsp:142:14: The tag handler class was not found "org.apache.struts.taglib.tiles.InsertTag".
<tiles:insert attribute="content"/>
^----------^
layout.jsp:142:14: The tag handler class was not found "org.apache.struts.taglib.tiles.InsertTag".
<tiles:insert attribute="content"/>
^----------^
at weblogic.servlet.jsp.JavelinxJSPStub.reportCompilationErrorIfNeccessary(JavelinxJSPStub.java:225)
at weblogic.servlet.jsp.JavelinxJSPStub.compilePage(JavelinxJSPStub.java:161)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:237)
at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:190)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:281)
at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:453)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:364)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:221)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:567)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:263)
at org.apache.struts.tiles.commands.TilesPreProcessor.doForward(TilesPreProcessor.java:260)
at org.apache.struts.tiles.commands.TilesPreProcessor.execute(TilesPreProcessor.java:217)
at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305)
at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:751)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:242)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:216)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:132)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:338)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:221)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3284)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3254)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2163)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2089)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2074)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1513)
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:254)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
>
My weblogic.xml is
<?xml version="1.0" encoding="UTF-8"?>
<wls:weblogic-web-app
xmlns:wls="http://xmlns.oracle.com/weblogic/weblogic-web-app"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd http://xmlns.oracle.com/weblogic/weblogic-web-app http://xmlns.oracle.com/weblogic/weblogic-web-app/1.4/weblogic-web-app.xsd">
<wls:container-descriptor>
<wls:prefer-web-inf-classes>true</wls:prefer-web-inf-classes>
</wls:container-descriptor>
</wls:weblogic-web-app>
and my weblogic-application.xml is
<?xml version = '1.0' encoding = 'UTF-8'?>
<weblogic-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-application http://www.bea.com/ns/weblogic/weblogic-application/1.0/weblogic-application.xsd"
xmlns="http://www.bea.com/ns/weblogic/weblogic-application">
<application-param>
<param-name>webapp.encoding.default</param-name>
<param-value>UTF-8</param-value>
</application-param>
<prefer-application-packages>
<package-name>antlr.*</package-name>
<package-name>org.apache.*</package-name>
<package-name>javax.xml.rpc.*</package-name>
<package-name>javax.xml.namespace.*</package-name>
<package-name>javax.xml.messaging.*</package-name>
<package-name>javax.xml.soap.*</package-name>
<package-name>javax.servlet.jsp.jstl.*</package-name>
</prefer-application-packages>
</weblogic-application>
please help meThe struts-template tld has been deprecated in favour of the tiles taglib.
If you are using anything above struts 1.0, then you should be using tiles.
Most probably the support files for the struts-template taglib are not in your distribution.
Cheers,
evnafets -
I have a problem with using Apache 2.2.3 as a WebLogic SSL proxy. I have Apache 2.2 running and successfully configured an SSL cert, config in ssl.conf is...
<VirtualHost secure.daftdonkey.com>
# Setup SSL for secure.daftdonkey.com
ServerName secure.daftdonkey.com
SSLEngine On
SSLCertificateFile /oracle/secure/secure.daftdonkey.com.crt
SSLCertificateKeyFile /oracle/secure/secure.daftdonkey.com.key
SSLCertificateChainFile /oracle/secure/gd_bundle.crt
</VirtualHost>
This works fine
Now I want Apache to proxy requests to my WebLogic Server and secure them over SSL as well
e.g. a request to https://secure.daftdonkey.com/service goes to https://weblogic.internal.site/service
I have downloaded and configured the weblogic module and tested it handling traffic for HTTP and that worked, then I switched the WebLogic module to use SSL.
LoadModule weblogic_module modules/mod_wl.so
<IfModule mod_weblogic.c>
WebLogicHost weblogic.internal.site
WebLogicPort 16101
Debug ALL
SecureProxy ON
WLSSLWallet /oracle/secure/my-wallet
WLLogFile /tmp/wl-proxy.log
</IfModule>
<Location /service>
SetHandler weblogic-handler
</Location>
Starting Apache throws the error. I think this is my main problem, i've searched support.oracle.com and not found anything.
[Mon Jun 07 23:00:48 2010] [crit] (20014)Internal error: WL SSL Init failed for server: (null) on 0
but Apache starts... I get this error when I make a request to https://secure.daftdonkey.com/service
Failure of server APACHE bridge:
No backend server available for connection: timed out after 10 seconds or idempotent set to OFF.
Looking into the log /tmp/wl-proxy.log I see....
Mon Jun 7 22:30:10 2010 <393212759749971> URLfactory Created
Mon Jun 7 22:30:10 2010 <393312759750102> ================New Request: [GET /service HTTP/1.1] =================
Mon Jun 7 22:30:10 2010 <393312759750102> INFO: SSL is configured
Mon Jun 7 22:30:10 2010 <393312759750102> Using Uri /service
Mon Jun 7 22:30:10 2010 <393312759750102> After trimming path: '/service'
Mon Jun 7 22:30:10 2010 <393312759750102> The final request string is '/service'
Mon Jun 7 22:30:10 2010 <393312759750102> parseServerList: Socket Address hostnames 'weblogic.internal.site:16101'
Mon Jun 7 22:30:10 2010 <393312759750102> Host extracted from serverlist is [weblogic.internal.site]
Mon Jun 7 22:30:10 2010 <393312759750102> parseServerList: IP from socket Address [192.168.100.15]
Mon Jun 7 22:30:10 2010 <393312759750102> Initializing lastIndex=0 for a list of length=1
Mon Jun 7 22:30:10 2010 <393312759750102> getListNode: created a new server node: id='weblogic.internal.site:16101' server_name='secure.daftdonkey.com', port='443'
Mon Jun 7 22:30:10 2010 <393312759750102> attempt #0 out of a max of 5
Mon Jun 7 22:30:10 2010 <393312759750102> Trying a pooled connection for '192.168.100.15/16101/16101'
Mon Jun 7 22:30:10 2010 <393312759750102> getPooledConn: found a host and port/securePort match
Mon Jun 7 22:30:10 2010 <393312759750102> getPooledConn: No more connections in the pool for Host[192.168.100.15] Port[16101] SecurePort[16101]
Mon Jun 7 22:30:10 2010 <393312759750102> general list: trying connect to '192.168.100.15'/16101/16101 at line 3188 for '/service'
Mon Jun 7 22:30:10 2010 <393312759750102> SSL is not configured for this connection
Mon Jun 7 22:30:10 2010 <393312759750102> Local Port of the socket is 45580
Mon Jun 7 22:30:10 2010 <393312759750102> Remote Host 192.168.100.15 Remote Port 16101
Mon Jun 7 22:30:10 2010 <393312759750102> URL::connect SSLConn for reader is not set as it is NULL
Mon Jun 7 22:30:10 2010 <393312759750102> general list: created a new connection to '192.168.100.15'/16101 for '/service', Local port:0
Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs from clnt:[Host]=[secure.daftdonkey.com]
Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs from clnt:[User-Agent]=[Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100315 Firefox/3.5.9 ( .NET CLR 3.5.30729)]
Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs from clnt:[Accept]=[text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8]
Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs from clnt:[Accept-Language]=[en-us,en;q=0.5]
Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs from clnt:[Accept-Encoding]=[gzip,deflate]
Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs from clnt:[Accept-Charset]=[ISO-8859-1,utf-8;q=0.7,*;q=0.7]
Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs from clnt:[Keep-Alive]=[300]
Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs from clnt:[Connection]=[keep-alive]
Mon Jun 7 22:30:10 2010 <393312759750102> parse_header is done
Mon Jun 7 22:30:10 2010 <393312759750102> Method is GET
Mon Jun 7 22:30:10 2010 <393312759750102> About to call parseHeaders
Mon Jun 7 22:30:10 2010 <393312759750102> URL::parseHeaders: Value of parsedHeaders = [0]
Mon Jun 7 22:30:10 2010 <393312759750102> URL::sendHeaders(): meth='GET' file='/service' protocol='HTTP/1.1'
Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs to WLS: [Host]=[secure.daftdonkey.com]
Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs to WLS: [User-Agent]=[Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100315 Firefox/3.5.9 ( .NET CLR 3.5.30729)]
Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs to WLS: [Accept]=[text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8]
Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs to WLS: [Accept-Language]=[en-us,en;q=0.5]
Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs to WLS: [Accept-Encoding]=[gzip,deflate]
Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs to WLS: [Accept-Charset]=[ISO-8859-1,utf-8;q=0.7,*;q=0.7]
Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs to WLS: [Keep-Alive]=[300]
Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs to WLS: [Connection]=[Keep-Alive]
Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs to WLS: [WL-Proxy-SSL]=[true]
Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs to WLS: [WL-Proxy-Client-IP]=[192.168.100.245]
Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs to WLS: [Proxy-Client-IP]=[192.168.100.245]
Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs to WLS: [X-Forwarded-For]=[192.168.100.245]
Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs to WLS: [X-WebLogic-KeepAliveSecs]=[30]
Mon Jun 7 22:30:10 2010 <393312759750102> Hdrs to WLS: [X-WebLogic-Force-JVMID]=[unset]
Mon Jun 7 22:30:10 2010 <393312759750102> Reader::fill(): first=0 last=0 toRead=4096
Mon Jun 7 22:30:10 2010 <393312759750102> Reader::fill(): sysRecv returned -1
Mon Jun 7 22:30:10 2010 <393312759750102> *******Exception type [READ_ERROR_FROM_SERVER] (socket read failure) raised at line 251 of ../nsapi/Reader.cpp
Mon Jun 7 22:30:10 2010 <393312759750102> caught exception in readStatus: READ_ERROR_FROM_SERVER [os error=104, line 251 of ../nsapi/Reader.cpp]: socket read failure at line 963
Mon Jun 7 22:30:10 2010 <393312759750102> PROTOCOL_ERROR: Backend Server not responding - isRecycled:0
Mon Jun 7 22:30:10 2010 <393312759750102> Marking 192.168.100.15:16101 as bad
Mon Jun 7 22:30:10 2010 <393312759750102> got exception in sendRequest phase: Backend Server not responding at line 3702
Mon Jun 7 22:30:10 2010 <393312759750102> Failing over after sendRequest() exception: PROTOCOL_ERROR as Idempotent is set to ON
Mon Jun 7 22:30:10 2010 <393312759750102> attempt #1 out of a max of 5
However connecting directly to https://192.168.100.15:16101/irm_rights is successful.
Ouput from orapki seems to show a valid wallet.
[root@content my-wallet]# /oracle/install/bin/orapki wallet display -wallet /oracle/secure/my-wallet/
Oracle PKI Tool : Version 11.1.1.2.0
Copyright (c) 2004, 2009, Oracle and/or its affiliates. All rights reserved.
Requested Certificates:
User Certificates:
Trusted Certificates:
Subject: OU=Class 2 Public Primary Certification Authority,O=VeriSign\, Inc.,C=US
Subject: OU=Secure Server Certification Authority,O=RSA Data Security\, Inc.,C=US
Subject: OU=Class 3 Public Primary Certification Authority,O=VeriSign\, Inc.,C=US
Subject: OU=Class 1 Public Primary Certification Authority,O=VeriSign\, Inc.,C=US
Subject: CN=weblogic.internal.site,OU=FOR TESTING ONLY,O=MyOrganization,L=MyTown,ST=MyState,C=US
Subject: CN=GTE CyberTrust Global Root,OU=GTE CyberTrust Solutions\, Inc.,O=GTE Corporation,C=US
Also the apache log at /var/log/httpd/ssl_error_log shows.
[Mon Jun 07 23:59:03 2010] [error] [client 192.168.100.245] ap_proxy: trying GET /service/ at backend host '192.168.100.15/16101; got exception 'Backend Server not responding'
[Mon Jun 07 23:59:03 2010] [error] [client 192.168.100.245] ap_proxy: trying GET /service/ at backend host '192.168.100.15/16101; got exception 'Backend Server not responding'
[Mon Jun 07 23:59:03 2010] [error] [client 192.168.100.245] ap_proxy: trying GET /service/ at backend host '192.168.100.15/16101; got exception 'Backend Server not responding'
[Mon Jun 07 23:59:03 2010] [error] [client 192.168.100.245] ap_proxy: trying GET /service/ at backend host '192.168.100.15/16101; got exception 'Backend Server not responding'
[Mon Jun 07 23:59:03 2010] [error] [client 192.168.100.245] ap_proxy: trying GET /service/ at backend host '192.168.100.15/16101; got exception 'Backend Server not responding'
[Mon Jun 07 23:59:03 2010] [error] [client 192.168.100.245] ap_proxy: trying GET /service/ at backend host '192.168.100.15/16101; got exception 'Backend Server not responding'
Editing the httpd.conf and sending traffic from Apache to WebLogic over regular HTTP works, config is...
LoadModule weblogic_module modules/mod_wl.so
<IfModule mod_weblogic.c>
WebLogicHost weblogic.internal.site
WebLogicPort 16100
Debug ALL
# SecureProxy ON
# WLSSLWallet /oracle/secure/my-wallet
WLLogFile /tmp/wl-proxy.log
</IfModule>
Resulting detail from /tmp/wl-proxy.log
Mon Jun 7 23:20:50 2010 <415912759780351> URLfactory Created
Mon Jun 7 23:20:50 2010 <416012759780502> ================New Request: [GET /service/ HTTP/1.1] =================
Mon Jun 7 23:20:50 2010 <416012759780502> Using Uri /service/
Mon Jun 7 23:20:50 2010 <416012759780502> After trimming path: '/service/'
Mon Jun 7 23:20:50 2010 <416012759780502> The final request string is '/service/'
Mon Jun 7 23:20:50 2010 <416012759780502> parseServerList: Socket Address hostnames 'weblogic.internal.site:16100'
Mon Jun 7 23:20:50 2010 <416012759780502> Host extracted from serverlist is [weblogic.internal.site]
Mon Jun 7 23:20:50 2010 <416012759780502> parseServerList: IP from socket Address [192.168.100.15]
Mon Jun 7 23:20:50 2010 <416012759780502> Initializing lastIndex=0 for a list of length=1
Mon Jun 7 23:20:50 2010 <416012759780502> getListNode: created a new server node: id='weblogic.internal.site:16100' server_name='secure.daftdonkey.com', port='443'
Mon Jun 7 23:20:50 2010 <416012759780502> attempt #0 out of a max of 5
Mon Jun 7 23:20:50 2010 <416012759780502> Trying a pooled connection for '192.168.100.15/16100/16100'
Mon Jun 7 23:20:50 2010 <416012759780502> getPooledConn: found a host and port/securePort match
Mon Jun 7 23:20:50 2010 <416012759780502> getPooledConn: No more connections in the pool for Host[192.168.100.15] Port[16100] SecurePort[16100]
Mon Jun 7 23:20:50 2010 <416012759780502> general list: trying connect to '192.168.100.15'/16100/16100 at line 3188 for '/service/'
Mon Jun 7 23:20:50 2010 <416012759780502> SSL is not configured for this connection
Mon Jun 7 23:20:50 2010 <416012759780502> Local Port of the socket is 56647
Mon Jun 7 23:20:50 2010 <416012759780502> Remote Host 192.168.100.15 Remote Port 16100
Mon Jun 7 23:20:50 2010 <416012759780502> URL::connect SSLConn for reader is not set as it is NULL
Mon Jun 7 23:20:50 2010 <416012759780502> general list: created a new connection to '192.168.100.15'/16100 for '/service/', Local port:0
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs from clnt:[Host]=[secure.daftdonkey.com]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs from clnt:[User-Agent]=[Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100315 Firefox/3.5.9 ( .NET CLR 3.5.30729)]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs from clnt:[Accept]=[text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs from clnt:[Accept-Language]=[en-us,en;q=0.5]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs from clnt:[Accept-Encoding]=[gzip,deflate]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs from clnt:[Accept-Charset]=[ISO-8859-1,utf-8;q=0.7,*;q=0.7]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs from clnt:[Keep-Alive]=[300]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs from clnt:[Connection]=[keep-alive]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs from clnt:[Cookie]=[JSESSIONID=YF4nMNfZ3lJ5ZrVV9HGpKwj3hf12yRvlf4zksQf6pkKx2LhJ2ywY!34167467]
Mon Jun 7 23:20:50 2010 <416012759780502> parse_header is done
Mon Jun 7 23:20:50 2010 <416012759780502> Method is GET
Mon Jun 7 23:20:50 2010 <416012759780502> About to call parseHeaders
Mon Jun 7 23:20:50 2010 <416012759780502> URL::parseHeaders: Value of parsedHeaders = [0]
Mon Jun 7 23:20:50 2010 <416012759780502> URL::sendHeaders(): meth='GET' file='/service/' protocol='HTTP/1.1'
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to WLS: [Host]=[secure.daftdonkey.com]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to WLS: [User-Agent]=[Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100315 Firefox/3.5.9 ( .NET CLR 3.5.30729)]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to WLS: [Accept]=[text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to WLS: [Accept-Language]=[en-us,en;q=0.5]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to WLS: [Accept-Encoding]=[gzip,deflate]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to WLS: [Accept-Charset]=[ISO-8859-1,utf-8;q=0.7,*;q=0.7]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to WLS: [Keep-Alive]=[300]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to WLS: [Cookie]=[JSESSIONID=YF4nMNfZ3lJ5ZrVV9HGpKwj3hf12yRvlf4zksQf6pkKx2LhJ2ywY!34167467]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to WLS: [Connection]=[Keep-Alive]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to WLS: [WL-Proxy-SSL]=[true]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to WLS: [WL-Proxy-Client-IP]=[192.168.100.245]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to WLS: [Proxy-Client-IP]=[192.168.100.245]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to WLS: [X-Forwarded-For]=[192.168.100.245]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to WLS: [X-WebLogic-KeepAliveSecs]=[30]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to WLS: [X-WebLogic-Force-JVMID]=[unset]
Mon Jun 7 23:20:50 2010 <416012759780502> Reader::fill(): first=0 last=0 toRead=4096
Mon Jun 7 23:20:50 2010 <416012759780502> Reader::fill(): sysRecv returned 568
Mon Jun 7 23:20:50 2010 <416012759780502> URL::parseHeaders: CompleteStatusLine set to [HTTP/1.1 302 Moved Temporarily]
Mon Jun 7 23:20:50 2010 <416012759780502> URL::parseHeaders: StatusLine set to [302 Moved Temporarily]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs from WLS:[Date]=[Tue, 08 Jun 2010 06:20:50 GMT]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs from WLS:[Transfer-Encoding]=[chunked]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs from WLS:[Location]=[https://secure.daftdonkey.com/service/faces/LoginPage.jspx]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs from WLS:[X-WebLogic-JVMID]=[34167467]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs from WLS:[X-Powered-By]=[Servlet/2.5 JSP/2.1]
Mon Jun 7 23:20:50 2010 <416012759780502> parsed all headers OK
Mon Jun 7 23:20:50 2010 <416012759780502> done with sendRequest
Mon Jun 7 23:20:50 2010 <416012759780502> sendResponse() : r->status = '302'
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to client (add):[Date]=[Tue, 08 Jun 2010 06:20:50 GMT]
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to client (add):[Location]=[https://secure.daftdonkey.com/service/faces/LoginPage.jspx]
Mon Jun 7 23:20:50 2010 <416012759780502> for 192.168.100.15/16100/16100, updated JVMID: 34167467
Mon Jun 7 23:20:50 2010 <416012759780502> Hdrs to client (add):[X-Powered-By]=[Servlet/2.5 JSP/2.1]
Mon Jun 7 23:20:50 2010 <416012759780502> calling closeConn() with non-null URL* at 3826
Mon Jun 7 23:20:50 2010 <416012759780502> canRecycle: conn=1 status=302 isKA=1 clen=-1 isCTE=1
Mon Jun 7 23:20:50 2010 <416012759780502> closeConn: pooling for '192.168.100.15/16100'
Mon Jun 7 23:20:50 2010 <416012759780502> closeConn: pooling '0'
Mon Jun 7 23:20:50 2010 <416012759780502> request [irm_rights/] processed successfully..................
Mon Jun 7 23:20:50 2010 <415912759780351> Cleaning up the list node 'weblogic.internal.site:16100'list Length '1'I found the answer to this. The documentation is not clear enough, LD_LIBRARY_PATH MUST be set and MUST have a pointer to the directory where the SSL .so modules are. I wrote up a blog article explaining the configuration and detailed this issue.
http://blogs.oracle.com/irm/2010/06/quick_guide_to_oracle_irm_11g_1.html -
WebLogic Server 6.1 with Struts
Hi,
I am trying to put together a prototype using struts for our presentation layer.
The prototype works fine under Tomcat, but got an error related to one of struts
tag lib.
The error message is:
Error in using tag library uri='/WEB-INF/lib/struts-form.tld' prefix='form': The
Tag class 'org.apache.struts.taglib.html.ImageTag' has no setter method corresponding
to TLD declared attribute 'path', (JSP 1.1 spec, 5.4.1)
probably occurred due to an error in /index.jsp line 4:
<%@ taglib uri='/WEB-INF/lib/struts-form.tld' prefix='form' %>
I verified the tag libs are located in the correct directory. I wonder if it is a
known issue or not. If yes, is there any workaround for it?
Thanks a lot in advance
RoyHello Roy,
This was a known problem and was fixed in WLS 5.1 sp10 version.( issue
number : 046233 )
Maybe not in WLS 6.1 ?
I would suggest to open a case in our BEA support to get a fix.
Hope this helps.
Ludovic.
Developer Relations Engineer
BEA Support
"Roy Qian" <[email protected]> a écrit dans le message news:
3cd2abd3$[email protected]..
>
Hi,
I am trying to put together a prototype using struts for our presentationlayer.
>
>
The prototype works fine under Tomcat, but got an error related to one ofstruts
tag lib.
The error message is:
Error in using tag library uri='/WEB-INF/lib/struts-form.tld'prefix='form': The
Tag class 'org.apache.struts.taglib.html.ImageTag' has no setter methodcorresponding
to TLD declared attribute 'path', (JSP 1.1 spec, 5.4.1)
probably occurred due to an error in /index.jsp line 4:
<%@ taglib uri='/WEB-INF/lib/struts-form.tld' prefix='form' %>
I verified the tag libs are located in the correct directory. I wonder ifit is a
known issue or not. If yes, is there any workaround for it?
Thanks a lot in advance
Roy -
Weblogic 8.1 Integration and struts
Hi,
I've problems to deploy web applications using struts1.1 on the weblogic 8.1 integration
or platform(it works well on the weblogic 8.1 server installation).
I've always the same problem : java.lang.ClassNotFoundException: org.apache.struts.action.ActionServlet.
Or the jar for struts are in the war archive. It sounds like a conflict in the
classloaders. Has anybody the same problem ?
Thanks by advance, RodrigueHi,
I've problems to deploy web applications using struts1.1 on the weblogic 8.1 integration
or platform(it works well on the weblogic 8.1 server installation).
I've always the same problem : java.lang.ClassNotFoundException: org.apache.struts.action.ActionServlet.
Or the jar for struts are in the war archive. It sounds like a conflict in the
classloaders. Has anybody the same problem ?
Thanks by advance, Rodrigue -
Problem with Weblogic 8.1 Sp2 and Struts 1.1 + tiles
I am using weblogic 8.1 sp2 with struts and tiles.
I am getting the follwing error in my web pages, which is not consistent.
The error stack trace is as below.
[java] <Oct 6, 2005 12:23:53 PM GMT+05:30> <Error> <HTTP> <BEA-101309> <[ServletContext(id=3212
195,name=awmweb,context-path=/awm)] could not deserialize the context attribute "org.apache.struts.
iles.DEFINITIONS_FACTORY"
[java] java.io.NotSerializableException: com.awm.awm.controllers.layout.BaseLayoutControll
r
[java] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054)
[java] at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
[java] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)
[java] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
[java] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
[java] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
[java] at java.util.HashMap.writeObject(HashMap.java:978)
[java] at sun.reflect.GeneratedMethodAccessor140.invoke(Unknown Source)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java
25)
[java] at java.lang.reflect.Method.invoke(Method.java:324)
[java] at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:809)
[java] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1296)
[java] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
[java] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
[java] at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
[java] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)
[java] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
[java] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
[java] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
[java] at java.util.HashMap.writeObject(HashMap.java:978)
[java] at sun.reflect.GeneratedMethodAccessor140.invoke(Unknown Source)
[java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java
25)
[java] at java.lang.reflect.Method.invoke(Method.java:324)
[java] at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:809)
[java] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1296)
[java] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
[java] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
[java] at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
[java] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)
[java] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
[java] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
[java] at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332)
[java] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304)
[java] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247)
[java] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
[java] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
[java] at weblogic.servlet.internal.AttributeWrapper.convertObjectToBytes(AttributeWrapper.
ava:136)
[java] at weblogic.servlet.internal.AttributeWrapper.getObject(AttributeWrapper.java:112)
[java] at weblogic.servlet.internal.AttributeWrapper.getObject(AttributeWrapper.java:69)
[java] at weblogic.servlet.internal.WebAppServletContext.getAttribute(WebAppServletContext.
ava:619)
[java] at org.apache.struts.tiles.TilesUtilStrutsModulesImpl.getDefinitionsFactory(TilesUti
StrutsModulesImpl.java:145)
[java] at org.apache.struts.tiles.TilesUtilStrutsModulesImpl.getDefinitionsFactory(TilesUti
StrutsModulesImpl.java:133)
[java] at org.apache.struts.tiles.TilesUtil.getDefinitionsFactory(TilesUtil.java:186)
[java] at org.apache.struts.tiles.TilesUtil.getDefinition(TilesUtil.java:224)
[java] at org.apache.struts.taglib.tiles.util.TagUtils.getComponentDefinition(TagUtils.java
339)
[java] at org.apache.struts.taglib.tiles.DefinitionTag.doStartTag(DefinitionTag.java:261)
[java] at com.awm.awm.jsp._errors.__500_45_servererror._jspService(__500_45_servererro
.java:208)
[java] at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
[java] at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStub
mpl.java:971)
[java] at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
[java] at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:446)
[java] at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
[java] at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
[java] at com.awm.awm.filters.AWMBaseFilter.doFilter(AWMBaseFilter.java:97)
[java] at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
[java] at com.awm.awm.quote.QuoteUsageFilter.doFilter(QuoteUsageFilter.java:70)
[java] at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
[java] at com.awm.awm.filters.AWMBaseFilter.doFilter(AWMBaseFilter.java:97)
[java] at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
[java] at com.awm.awm.filters.FrontFilter.doFilter(FrontFilter.java:160)
[java] at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
[java] at com.awm.awm.filters.JTidyFilter.doFilter(JTidyFilter.java:152)
[java] at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
[java] at com.awm.awm.filters.PerfLogFilter.doFilter(PerfLogFilter.java:211)
[java] at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
[java] at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.jav
:305)
[java] at weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:
23)
[java] at weblogic.servlet.internal.WebAppServletContext.handleException(WebAppServletConte
t.java:3908)
[java] at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext
java:3683)
[java] at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585
[java] at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
[java] at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
[java] >
Can any one comment on why I am getting this error? Is it related to the hot deployment issue? Please comment.
Thanks in advance,
KHi,
Generally this type of exception raised by a class or the serialization runtime when a class may not be serialized.The argument should be the name of the class.
You might be forgot to implement the serializable interface for the class in struts frame work.
check it properly.
Regards
Anilkumar kari -
How do I set a jar in setDomainEnv.cmd ? C:\mydirectory\repository\xalan\jars\xalan-2.7.0.jar
If I set this one, will it resolve?
<27-Nov-2012 6:08:26 o'clock PM PST> <Notice> <Log Management> <BEA-170019> <The server log file C:\bea10\user_projects\domains\mediation_te
st\servers\MediationServer\logs\MediationServer.log is opened. All server side log events will be written to this file.>
<27-Nov-2012 6:08:29 o'clock PM PST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<27-Nov-2012 6:08:31 o'clock PM PST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
<27-Nov-2012 6:08:31 o'clock PM PST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<27-Nov-2012 6:08:34 o'clock PM PST> <Error> <HTTP> <BEA-101216> <Servlet: "action" failed to preload on startup in Web application: "tel-reference_ods-usage-web.war".
java.lang.ExceptionInInitializerError
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 java.lang.Class.newInstance0(Class.java:355)
Truncated. see log file for complete stacktrace
Caused By: org.apache.commons.logging.LogConfigurationException: java.lang.NoClassDefFoundError: org/apache/xml/utils/DefaultErrorHandler (Caused by java.lang.NoClassDefFoundError: org/apache/xml/utils/DefaultErrorHandler)
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
at org.apache.struts.action.ActionServlet.<clinit>(ActionServlet.java:228)
Truncated. see log file for complete stacktrace
Caused By: java.lang.NoClassDefFoundError: org/apache/xml/utils/DefaultErrorHandler
at com.tel.framework.config.PropertyNodeTypedXmlParser.parse(PropertyNodeTypedXmlParser.java:106)
at com.tel.framework.config.PropertyNodeTypedXmlParser.parse(PropertyNodeTypedXmlParser.java:71)
at com.tel.framework.config.file.FileXmlProvider.loadConfigurationComponent(FileXmlProvider.java:105)
at com.tes.framework.config.ConfigProvider.loadConfiguration(ConfigProvider.java:120)
at com.te.framework.config.ConfigContext.init(ConfigContext.java:176)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: org.apache.xml.utils.DefaultErrorHandler
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:280)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:253)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Truncated. see log file for complete stacktrace
>
<27-Nov-2012 6:08:34 o'clock PM PST> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application 'tel-reference_ods-usage-web'.
weblogic.application.ModuleException: [HTTP:101216]Servlet: "action" failed to preload on startup in Web application: "tel-reference_ods-usage-web.war".
java.lang.ExceptionInInitializerError
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 java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at weblogic.servlet.internal.WebComponentContributor.getNewInstance(WebComponentContributor.java:225)
at weblogic.servlet.internal.WebComponentContributor.createServletInstance(WebComponentContributor.java:249)
at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:255)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1976)
at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1950)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1869)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3126)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43)how do I SET classpath in setDomainEnv.cmd ? there are many types of classpaths.
1.PRE_CLASSPATH
POST_CLASSPATH
EXT_PRE_CLASSPATH
EXT_POST_CLASSPATH
WLP_POST_CLASSPATH
POST_CLASSPATH
WEBLOGIC_CLASSPATH
I used PRE_CLASSPATH for my case, first path worked, but second does not seem to work.
set PRE_CLASSPATH=C:\myprojects\t91_rds_10_u_dev\vobs\rds_src\rds\ts-refe_ds-us-web\conf\conf-env\dv\;C:\mydirectory\repository\xalan\jars\ xalan-2.7.0.jar;
How do I add class path to the first one? if i separate by ; will it work?
If I want to add appCtx.properties C:\myprojects\t91_rds_10_u_dev\vobs\rds_src\rds\ts-refe_ds-us-web\conf\conf-app\appCtx.properties .
Thanks -
WebLogic 9.2 and Apache 2.2.X
Does anyone know whether BEA supports WebLogic 9.2 with Apache 2.2.X web server? If so, is there any documentation? Which wlproxy do you use? If not, does anyone know when BEA will support this? By the way, we are running on Solaris 10. Thanks!
As far as I am aware there are on only plugins for Apache 1.3.x and 2.0.x.
I believe the documentation for WLS9 recommends Apache 2.0.x using a multi-threading mpm such as worker. This is what I use on our setups both Solaris (9 & 10) and Linux (RHEL 4)
Anyone from BEA know if an Apache plugin for 2.2.x is planned? -
PI 7.0.2 support Apache ActiveMQ 5.4.2 ?
Hi,all,
I need to configure a JMS receiver adpter for a RFC-JMS scenario. My PI version is 7.0.2 and the target JMS server is Apache ActiveMQ 5.4.2.
Since I test the scenario I got the following error message;
<SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: No transition found from state: ERROR, on event: process_commence for DFA: FI_TAX_RECEIVER_CC:fbb5050eb2353a138fc3218171e93394</SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="" />
I have searched the problem but without exactly answers. Now I guess whether PI 7.0 with JDK 1.4 support Apache ActiveMQ 5.4.2 or not.
Bythe way,the basis has already deployed the driver for ActiveMQ.Hi,ganesh
Thank you gor your answers.But there is also the same error!
In RWB,I got the following error message:
MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: No transition found from state: ERROR, on event: process_commence for DFA: *_**_Receiver_CC:fbb5050eb2353a138fc3218171e93394
Exception caught by adapter framework: No transition found from state: ERROR, on event: process_commence for DFA: *_**_Receiver_CC:fbb5050eb2353a138fc3218171e93394
Delivery of the message to the application using connection JMS_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: No transition found from state: ERROR, on event: process_commence for DFA: *_**_Receiver_CC:fbb5050eb2353a138fc3218171e93394. Setting message to status failed
Now I do want to konw whether the problem is about JMS driver or not ? -
CF8 on Weblogic 10.0 and Apache
I am trying to configure CF8 as an EAR file on Weblogic 10.0
and configuring it with Apache webserver. The settings for Weblogic
are made as mentioned in the configuration document and CF8 is
working fine on Weblogic.
Now for Apache connectivity, a connector is configured for
Weblogic which handles *.cfm files requests as well.
- The CFM files are kept in webserver and when I try to open
a cfm file, the proxy is getting invoked but since Weblogic doesn't
find the file URI it returns 404.
- Please let me know how can the CFM files kept on Webserver
be rendered using CF8 deployed on Weblogic
Or there is a need for these files to be kept on the Weblogic
Appserver onlysam_cf09 wrote:
> Can the CFM files be a part of any WAR file deployed on
Weblgic and Cold
> fusion will take care of rendering them
Sure. If you want to put a file example.cfm in a WAR file,
put it in the
root of the WAR. Your folder structure will look something
like:
WAR/
WAR/example.cfm
WAR/WEB-INF
WAR/WEB-INF/web.xml
WAR/WEB-INF/*
WAR/WEB-INF/cfusion
WAR/WEB-INF/cfusion/lib/
etc.
Then if you have a context root "/test" in your
Application.xml you can
reach your template through the URL
http://server/test/example.cfm
The best way to get a WAR (or EAR) file for deployment is to
run the
installer. It has the option to generate a WAR or EAR for
you. Use that,
then later unjar it to see how it looks internally.
Jochem
Jochem van Dieten
Adobe Community Expert for ColdFusion -
I am using tiles with JSF.
my starting page is template.jsp which is like this..
<f:view>
<f:subview id="header">
<tiles:insert attribute="header" flush="false"/>
</f:subview>
<f:subview id="menu">
<tiles:insert attribute="menu" flush="false"/>
</f:subview>
</f:view>
when ever the page is rendered, im not getting the value for attribute header or content. its throwing java.lang.NullPointerException at org.apache.struts.taglib.tiles.InsertTag.processAttribute(InsertTag.java:689)
Below is my faces-config.xml
<?xml version="1.0"?>
<!DOCTYPE faces-config PUBLIC
"-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
"http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
<faces-config>
<application>
<view-handler>org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl</view-handler>
</application>
</faces-config>
Below is my web.xml
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<init-param>
<param-name>javax.faces.application.CONFIG_FILES</param-name>
<param-value>/ApplianceMgr/conf/faces-config.xml</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>Tiles Servlet</servlet-name>
<servlet-class>org.apache.struts.tiles.TilesServlet</servlet-class>
<init-param>
<param-name>tiles-definitions</param-name>
<param-value>/ApplianceMgr/conf/tiles.xml</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>server</param-value>
</context-param>
Below is my tiles.xml
<tiles-definitions>
<definition name="main.template" path="/template/template.jsp" >
<put name="header" value="test from template" />
<put name="menu" value="test from template" />
</definition>Please post the tiles-config.xml, layout and tiles.
Please refer
http://www.oracle.com/technology/pub/articles/vohra_tiles.html -
I want to submit this page so that i can retrieve values in the new employer name and license type depending on the license # my jsp code is as below
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ page import="org.apache.struts.action.Action.*"%>
<%@ page contentType="text/html;charset=windows-1252" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<html:html>
<HEAD>
<TITLE><bean:message key="application.title"/></TITLE>
<META HTTP-EQUIV="Content-Type" content="text/html; charset=ISO-8859-1">
<META NAME="GENERATOR" content="Oracle JDeveloper 10g">
<META HTTP-EQUIV="Content-Style-Type" content="text/css">
<META HTTP-EQUIV="PRAGMA" VALUE="NO-CACHE">
<LINK href="theme/Master.css" rel="stylesheet" type="text/css">
<SCRIPT src="javascript/common_validation.js"></SCRIPT>
</HEAD>
<BODY MARGINHEIGHT="0" marginweight="0" topmargin="0" leftmargin="0" bgcolor="#FFFFFF">
<%@ include file="../../includes/icolaMenu.jsp" %>
<html:form action="/addTransfer.do" focus="newEmplic" onsubmit="return validateTransferlicenseeForm(this);">
<html:javascript formName="transferlicenseeForm" /><html:errors />
<tr><td>
<table align="left" border="1" width="736" bgcolor="ffffff" cellpadding="0" cellspacing="0" bordercolor="c0c0c0">
<tr><td>
<table width="736" border="0" cellpadding="1" cellspacing="0">
<tr>
<td width="730" align=center><b><font face="Verdana, Arial, Helvetica, sans-serif">Transfer License</font></b></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td><%@ include file="../../includes/licenseDetails.jsp" %></td>
</tr>
<tr>
<td align="center">
<table class="tabledec" width="730" border="0" cellpadding=0 cellspacing=0>
<tr>
<td align="left"><font size="-2" face="Verdana, Arial, Helvetica, sans-serif"><b> :: Current Employing Licensee Information:</b></font></td>
<td align="right"><font size="-2" face="Verdana, Arial, Helvetica, sans-serif"><b>¤ ¤ ¤ </b></font></td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="left"><table width="734" border="0">
<tr>
<td width="30"> </td>
<td width="106"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><b>License #:</b></font></td>
<td width="598"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><bean:write name="transferlicenseeForm" property="currentEmplic" /></font></td>
</tr>
<tr>
<td width="4%"> </td>
<td width="20%"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><b>Name:</b></font></td>
<td width="30%"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><bean:write name="transferlicenseeForm" property="currentEmpname" /></font></td>
<td width= "20%" <font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><b>DBA Name:</b></font></td>
<td width="30%" <font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><bean:write name="transferlicenseeForm" property="currentEmpdbaname" /></font></td>
</tr>
<tr>
<td width="30"> </td>
<td width="106"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><b>License Type:</b></font></td>
<td width="598"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><bean:write name="transferlicenseeForm" property="currentEmplictype" /></font></td>
</tr>
</table></td>
</tr>
<tr>
<td nowrap><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"> </font></td>
</tr>
<tr>
<td align="center">
<table class="tabledec" width="730" border="0" cellpadding=0 cellspacing=0>
<tr>
<td align="left"><font size="-2" face="Verdana, Arial, Helvetica, sans-serif"><b> :: New Employing Licensee Information:</b></font></td>
<td align="right"><font size="-2" face="Verdana, Arial, Helvetica, sans-serif"><b>¤ ¤ ¤ </b></font></td>
</tr>
</table>
</td>
</tr>
<logic:equal name="transferlicenseeForm" property="transferButton" value="button.submit">
<tr>
<td align="left"><table width="734" border="0">
<html:form action="ChangeEvent.do" name ="transferlicenseeForm" type="com.dleg.cola.helper.TransferLicensee" >
<html:hidden property="method" />
<tr>
<td width="4%"> </td>
<td width="20%"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><b>License #:</b></font></td>
<td width="76%"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><html:text styleClass="required" maxlength="10" name="transferlicenseeForm" property="newEmplic" onkeyup="if(true){this.form.elements[0].value='populateDetails';this.form.submit();}" /></font>
<font size="-2" color=blue face="Verdana, Arial, Helvetica, sans-serif"><b>License Lookup</b></font></td>
<!-- <td width="120"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><b>Transfer Status:</b></font></td>
<td width="198"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><bean:write name="transferlicenseeForm" property="transferStatus" /></font></td>-->
</tr>
<!-- </html:form> -->
<tr>
<td> </td>
<td><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><b>Name:</b></font></td>
<td colspan="3"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><bean:write name="transferlicenseeForm" property="newEmpname" /></font></td>
</tr>
<tr>
<td> </td>
<td><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><b>License Type:</b></font></td>
<td colspan="3"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><bean:write name="transferlicenseeForm" property="newEmplictype" /></font></td>
</tr>
<tr>
<td colspan=5><p align=justify><font size="-2" face="Verdana, Arial, Helvetica, sans-serif"><B>NOTE:</B><BR> * Transfer
fee will be added to your online invoice upon Submit. Transfers require approval from New employing Licensee. Please inform new employing
Licensee that you have completed this transfer request. Your new License will be printed upon new employing Licensee's approval.</font></p>
</td>
</tr>
</table></td>
</tr>
<html:hidden property="parentLicid" />
<tr>
<td> </td>
</tr>
<tr>
<td colspan=3>
<font size="-1" face="Verdana, Arial, Helvetica, sans-serif" color="Gray"><b>Have you been convicted of a felony or misdemeanor for which you could have gone to jail that has not previously been reported to the department?</b></font>
</td>
</tr>
<tr>
</tr>
<tr>
<td colspan=3>
<font size="-1" face="Verdana, Arial, Helvetica, sans-serif" color="Gray">
<html:radio property="GMCind" value="N" disabled="true"/>NO
<html:radio property="GMCind" value="Y" disabled="true"/>YES (Complete and return this questionaire)
(http://www.cis.state.mi.us/bcsc/forms/lce020.pdf)
</font>
</td>
</tr>
<!-- <tr>
<td colspan=3>
<font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><b>Have you had disciplinary action taken against any license, registration or permit you now hold or have ever held that you have not reported to the department?</b></font>
</td>
</tr>
<tr>
<td colspan=3>
<font size="-1" face="Verdana, Arial, Helvetica, sans-serif">
<html:radio property="dispInd" value="N" />NO
<html:radio property="dispInd" value="Y" />YES (Complete and return this questionaire)
(http://www.cis.state.mi.us/bcsc/forms/lce021.pdf)
</font>
</td>
</tr>-->
</td>
</tr>
</logic:equal>
<logic:equal name="transferlicenseeForm" property="transferButton" value="button.canceltransfer">
<tr>
<td align="left"><table width="734" border="0">
<tr>
<td width="30"> </td>
<td width="106"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif" ><b>License #:</b></font> </td>
<td width="280"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif" color="Gray"><html:text styleClass="required" maxlength="10" property="newEmplic" disabled="true" /></font> </td>
<!-- <font size="-2" color="Gray" face="Verdana, Arial, Helvetica, sans-serif"><b>License Lookup</b></font></td> -->
<!--<td width="120"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><b>Transfer Status:</b></font></td>
<td width="198"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><bean:write name="transferlicenseeForm" property="transferStatus" /></font></td> -->
</tr>
<tr>
<td> </td>
<td><font size="-1" face="Verdana, Arial, Helvetica, sans-serif" ><b>Name:</b></font></td>
<td colspan="3"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif" ><bean:write name="transferlicenseeForm" property="newEmpname" /></font></td>
</tr>
<tr>
<td> </td>
<td><font size="-1" face="Verdana, Arial, Helvetica, sans-serif" ><b>License Type:</b></font></td>
<td colspan="3"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><bean:write name="transferlicenseeForm" property="newEmplictype" /></font></td>
</tr>
<tr>
<td colspan=5><p align=justify><font size="-2" face="Verdana, Arial, Helvetica, sans-serif"><B>NOTE:</B><BR> * Transfer
fee will be added to your online invoice upon Submit. Transfers require approval from New employing Licensee. Please inform new employing
Licensee that you have completed this transfer request. Your new License will be printed upon new employing Licensee's approval.</font></p>
</td>
</tr>
</table></td>
</tr>
<html:hidden property="parentLicid" />
<tr>
<td> </td>
</tr>
</logic:equal>
<tr>
<td align="center">
<table width="734" border="0">
<tr>
<td align="left" width="240" valign="middle"> <img src="images/icon_required.gif" align=top width="6" height="6" border="0"> Required Field</td>
<td align="center" width="20">
<html:submit property="confirmTrans">
<bean:message name="transferlicenseeForm" property="transferButton" />
</html:submit>
</td>
</html:form>
<html:form action="/Button">
<td align="left" width="330">
<html:cancel property="method">
<bean:message key="button.returnChild"/>
</html:cancel>
</td>
</html:form>
</tr>
</table></td>
</tr>
</table>
</td></tr>
</table>
</td></tr>
<%@ include file="../../includes/icolaFooter.html" %>
</BODY>
</html:html>
my struts-config as below
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_2.dtd">
<struts-config>
<form-beans>
<form-bean name="loginForm" type="org.apache.struts.validator.DynaValidatorForm">
<form-property name="userID" type="java.lang.String" />
<form-property name="pinNum" type="java.lang.String" />
</form-bean>
<form-bean name="renewalLoginForm" type="org.apache.struts.validator.DynaValidatorForm">
<form-property name="licNum" type="java.lang.String" />
</form-bean>
<form-bean name="reqPwdResetForm" type="org.apache.struts.validator.DynaValidatorForm">
<form-property name="chooseOption" type="java.lang.String" />
<form-property name="lName" type="java.lang.String" />
<form-property name="SSN" type="java.lang.String" />
<form-property name="DOB" type="java.lang.String" />
<form-property name="licNum" type="java.lang.String" />
</form-bean>
<form-bean name="reqNewAcctForm" type="org.apache.struts.validator.DynaValidatorForm">
<form-property name="chooseOption" type="java.lang.String" />
<form-property name="lName" type="java.lang.String" />
<form-property name="SSN" type="java.lang.String" />
<form-property name="DOB" type="java.lang.String" />
<form-property name="licNum" type="java.lang.String" />
</form-bean>
<form-bean name="changePinForm" type="org.apache.struts.validator.DynaValidatorForm">
<form-property name="userID" type="java.lang.String" />
<form-property name="pinNum" type="java.lang.String" />
<form-property name="dupPinNum" type="java.lang.String" />
</form-bean>
<form-bean name="newAppInitialForm" type="org.apache.struts.validator.DynaValidatorForm">
<form-property name="board" type="java.lang.String" />
<form-property name="licType" type="java.lang.String" />
<form-property name="obtBy" type="java.lang.String" />
<form-property name="allObtBy" type="java.lang.String" />
<form-property name="allLicTypes" type="java.lang.String" />
</form-bean>
<form-bean name="mainForm" type="org.apache.struts.validator.DynaValidatorForm" >
<form-property name="chooseOption" type="java.lang.String" />
</form-bean>
<form-bean name="buttonForm" type="org.apache.struts.validator.DynaValidatorForm" />
<form-bean name="transferlicenseeForm" type="com.dleg.cola.helper.TransferLicensee" />
<form-bean name="apprTransferForm" type="org.apache.struts.validator.DynaValidatorForm" >
<form-property name="trApprFlag" type="java.lang.String[]" />
</form-bean>
<form-bean name="empRenewForm" type="com.dleg.cola.forms.EmpRenewForm" >
<form-property name="empRenFlag" type="java.lang.String[]" />
</form-bean>
<form-bean name="renewalForm" type="com.dleg.cola.forms.RenewForm" />
<form-bean name="reprintlicenseForm" type="com.dleg.cola.forms.ReprintLicenseForm" />
<form-bean name="invoiceForm" type="com.dleg.cola.forms.InvoiceForm" />
<form-bean name="creditCardForm" type="com.dleg.cola.forms.CreditCardForm" />
<form-bean name="addressChangeForm" type="com.dleg.cola.forms.AddressChangeForm" />
<form-bean name="personForm" type="com.dleg.cola.forms.PersonForm" />
<form-bean name="companyForm" type="com.dleg.cola.forms.CompanyForm" />
<form-bean name="checkListForm" type="com.dleg.cola.forms.CheckListForm" />
</form-beans>
<global-exceptions>
<exception type="com.dleg.cola.exceptions.DatabaseException" key="error.database.missing" path="/error.jsp" scope="request" />
</global-exceptions>
<global-forwards>
<forward name="login" path="/login.jsp" redirect="false" />
</global-forwards>
<action-mappings type="org.apache.struts.config.SecureActionConfig">
<action path="/RequestPwdReset" input="/WEB-INF/jsps/reqPwdReset.jsp" type="com.dleg.cola.actions.RequestPwdResetAction" name="reqPwdResetForm">
<forward name="success" path="/changePin.jsp" />
<forward name="failure" path="/error.jsp" redirect="false" contextRelative="false" />
</action>
<action path="/RequestNewAcct" input="/WEB-INF/jsps/reqNewAcct.jsp" type="com.dleg.cola.actions.RequestNewAcctAction" name="reqNewAcctForm">
<forward name="destination1" path="/changePin.jsp" />
<forward name="destination2" path="/changePin.jsp" />
<forward name="destination3" path="/register.jsp" />
<forward name="failure" path="/error.jsp" redirect="false" contextRelative="false" />
</action>
<action path="/RenewalLogin" input="/WEB-INF/jsps/renewalLogin.jsp" type="com.dleg.cola.actions.RenewalLoginAction" name="renewalLoginForm">
<forward name="success" path="Licensee.do" />
<forward name="failure" path="/error.jsp" redirect="false" contextRelative="false" />
</action>
<action path="/Login" input="/WEB-INF/jsps/login.jsp" type="com.dleg.cola.actions.LoginAction" name="loginForm">
<forward name="success" path="Licensee.do" />
<!--<forward name="success1" path="/UserLogin.jsp" /> -->
<forward name="success1" path="/changePin.jsp" />
<forward name="success2" path="/newApp.jsp" />
<forward name="failure" path="/error.jsp" redirect="false" contextRelative="false" />
</action>
<action path="/UpdateAddrInfo" type="com.dleg.cola.actions.UpdateAddrInfoAction" name="personForm">
<forward name="success" path="ShowCheckList.do" />
</action>
<action path="ShowCheckList" type="com.dleg.cola.actions.ShowCheckListAction" name="checkListForm">
<forward name="success" path="/checkList.jsp" />
</action>
<action path="/SubmitCheckList" type="com.dleg.cola.actions.SubmitCheckListAction" name="checkListForm">
<forward name="success" path="viewInvoice.do" />
</action>
<action path="Licensee" type="com.dleg.cola.actions.LicenseeAction" name="licenseeForm">
<forward name="success" path="/licHome.jsp" />
</action>
<action path="/Button" type="com.dleg.cola.actions.ButtonAction" name="buttonForm" parameter="method">
<set-property property="secure" value="true"/>
<forward name="exit" path="/login.jsp" />
<forward name="exit1" path="/renewalLogin.jsp" />
<forward name="changePin" path="/changePin.jsp" />
<forward name="approve" path="PendAppr.do" redirect="false" />
<forward name="submit" path="/ApprTransfer.do" redirect="false" />
<forward name="returnHome" path="/licHome.jsp" redirect="false" />
<forward name="returnChild" path="ChildLic.do" redirect="false" />
<forward name="renewSubLic" path="EmpRenew.do" redirect="false" />
<forward name="cancel" path="/login.jsp" redirect="false" />
<forward name="renew" path="RenewLic.do" redirect="false"/>
<forward name="addCart" path="/viewInvoice.jsp" redirect="false"/>
<forward name="viewInvoice" path="/viewInvoice.jsp" redirect="false"/>
<forward name="pay" path="/makePayment.jsp" redirect="false" />
<forward name="failure" path="/error.jsp" redirect="false"/>
<forward name="login" path="/login.jsp" redirect="false" />
<forward name="main" path="/main.jsp" redirect="false" />
<forward name="reqPwdReset" path="/requestPwdReset.jsp" redirect="false" />
<forward name="newLicApp" path="NewApp.do" redirect="false" />
<forward name="renewMore" path="/licHome.jsp" redirect ="false" />
</action>
<action path="Button" type="com.dleg.cola.actions.ButtonAction" name="buttonForm" parameter="method">
<set-property property="secure" value="true"/>
<forward name="exit" path="/login.jsp" />
<forward name="changePin" path="/changePin.jsp" />
<forward name="approve" path="PendAppr.do" redirect="false" />
<forward name="submit" path="/ApprTransfer.do" redirect="false" />
<forward name="returnHome" path="/licHome.jsp" redirect="false" />
<forward name="returnChild" path="ChildLic.do" redirect="false" />
<forward name="renewSubLic" path="EmpRenew.do" redirect="false" />
<forward name="cancel" path="/login.jsp" redirect="false" />
<forward name="renew" path="RenewLic.do" redirect="false"/>
<forward name="addCart" path="/viewInvoice.jsp" redirect="false"/>
<forward name="viewInvoice" path="/viewInvoice.jsp" redirect="false"/>
<forward name="pay" path="/makePayment.jsp" redirect="false" />
<forward name="failure" path="/error.jsp" redirect="false"/>
<forward name="main" path="/main.jsp" redirect="false" />
<forward name="reqPwdReset" path="/requestPwdReset.jsp" redirect="false" />
<forward name="newLicApp" path="NewApp.do" redirect="false" />
<forward name="renewMore" path="/licHome.jsp" redirect ="false" />
</action>
<action path="NewApp" type="com.dleg.cola.actions.NewAppAction" name="newAppInitialForm" scope="request">
<forward name="success" path="/newApp.jsp" />
</action>
<action path="/NewApp" type="com.dleg.cola.actions.NewAppAction" name="newAppInitialForm" scope="request">
<forward name="success" path="/newApp.jsp" />
</action>
<action path="/AddressInfo" type="com.dleg.cola.actions.AddressInfoAction" name="personForm" scope="request">
<forward name="success" path="/addressInfo.jsp" />
</action>
<action path="/NewAppContinue" type="com.dleg.cola.actions.NewAppContinueAction" name="newAppInitialForm" scope="request">
<forward name="success" path="/newAppContinue.jsp" />
</action>
<action path="/ChildLic" type="com.dleg.cola.actions.ChildLicAction" name="licenseeForm" scope="request">
<forward name="success" path="/child_lic.jsp" />
<forward name="failure" path="/error.jsp" redirect="false" />
</action>
<action path="ChildLic" type="com.dleg.cola.actions.ChildLicAction" name="licenseeForm" scope="request">
<forward name="success" path="/child_lic.jsp" />
<forward name="failure" path="/error.jsp" redirect="false" />
</action>
<action path="/transferLic" type="com.dleg.cola.actions.ButtonAction" name="transferlicenseeForm" parameter="transferLicense" scope="request">
<forward name="transfer" path="/transferLicense.jsp" />
<forward name="failure" path="/error.jsp" redirect="false" />
</action>
<action path="/transferLicense" type="com.dleg.cola.actions.TransferLicAction" name="transferlicenseeForm" scope="request">
<forward name="transfer" path="/transferLicense.jsp" />
<forward name="failure" path="/error.jsp" redirect="false" />
</action>
<action path="/ChangeEvent" type="com.dleg.cola.actions.ChangeAction" name="transferlicenseeForm" scope="request" parameter="method">
<forward name="success" path="/transferLicense.jsp"></forward>
<forward name="failure" path="/error.jsp"></forward>
</action>
<action path="/addTransfer" input="transferLicense.jsp" type="com.dleg.cola.actions.TransferLicenseAction" name="transferlicenseeForm" parameter="confirmTrans" scope="request">
<forward name="success" path="/viewInvoice.jsp" />
<forward name="failure" path="/error.jsp" redirect="false" />
<forward name="cancel" path="/child_lic.jsp" redirect="false" />
<forward name="transfer" path="/licHome.jsp" redirect="false" />
<forward name="invalid" path="/error.jsp" redirect="false" />
</action>
<action path="/reprintLic" input="child_lic.jsp" type="com.dleg.cola.actions.ButtonAction" name="reprintlicenseForm" parameter="reprintLicense" scope="request">
<forward name="reqDuplicate" path="/dupReprint.jsp" redirect="false" />
<forward name="failure" path="/error.jsp" redirect="false" />
</action>
<action path="/addReprint" input="dupReprint.jsp" type="com.dleg.cola.actions.ReprintAction" name="reprintlicenseForm" scope="request">
<forward name="success" path="/viewInvoice.jsp" />
<forward name="failure" path="/error.jsp" redirect="false" />
<forward name="cancel" path="/child_lic.jsp" redirect="false" />
</action>
<action path="/ChangePin" input="/WEB-INF/jsps/changePin.jsp" type="com.dleg.cola.actions.ChangePinAction" name="changePinForm">
<forward name="success" redirect="false" path="Licensee.do" />
<forward name="failure" path="/error.jsp" redirect="false" />
</action>
<action path="/changeAddress" type="com.dleg.cola.actions.ChangeAddressAction" name="addressChangeForm" parameter="method" scope="request">
<forward name="changeEntAddr" path="/changeAddress.jsp" redirect="false" />
<forward name="success" path="/viewInvoice.jsp" redirect="false" />
<forward name="failure" path="/error.jsp" redirect="false" />
</action>
<action path="/ChangeLicAddr" type="com.dleg.cola.actions.ChangeLicAddrAction" name="addressChangeForm" parameter="method" scope="request">
<forward name="changeLicAddr" path="/changeLicAddr.jsp" redirect="false" />
<forward name="success" path="/viewInvoice.jsp" redirect="false" />
<forward name="failure" path="/error.jsp" redirect="false" />
</action>
<action path="/RenewLicense" type="com.dleg.cola.actions.RenewLicenseAction" name="renewalForm" scope="request">
<forward name="success" path="/renew.jsp" redirect="false" />
<forward name="failure" path="/error.jsp" redirect="false" />
</action>
<action path="/Register" input="/WEB-INF/jsps/register.jsp" type="com.dleg.cola.actions.RegisterAction" name="personForm" scope="request">
<forward name="success" path="/login.jsp" />
<forward name="failure" path="/error.jsp" redirect="false" />
</action>
<action path="/RegisterCom" input="/WEB-INF/jsps/register.jsp" type="com.dleg.cola.actions.RegisterComAction" name="companyForm" scope="request">
<forward name="success" path="/login.jsp" />
<forward name="failure" path="/error.jsp" redirect="false" />
</action>
<action path="/addRenewal" input="renew.jsp" type="com.dleg.cola.actions.RenewLicAction" name="renewalForm" scope="request">
<forward name="success" path="/viewInvoice.jsp" redirect="false" />
<forward name="failure" path="/error.jsp" redirect="false" />
</action>
<action path="/PendAppr" type="com.dleg.cola.actions.PendApprAction">
<forward name="approve" path="/approveTransfer.jsp" redirect="false" />
</action>
<action path="PendAppr" type="com.dleg.cola.actions.PendApprAction">
<forward name="approve" path="/approveTransfer.jsp" redirect="false" />
</action>
<action path="/ApprTransfer" type="com.dleg.cola.actions.ApprTransferAction" name="apprTransferForm">
<forward name="success" path="Licensee.do" redirect="false" />
</action>
<action path="EmpRenew" type="com.dleg.cola.actions.EmpRenewAction" name="empRenewForm">
<forward name="empRenew" path="/subRenewal.jsp" redirect="false" />
</action>
<action path="/SubmitEmpRenew" type="com.dleg.cola.actions.SubmitEmpRenewAction" name="empRenewForm">
<forward name="success" path="/viewInvoice.jsp" redirect="false" />
<forward name="failure" path="/error.jsp" redirect="false" />
</action>
<action path="/remove" type="com.dleg.cola.actions.ButtonAction" name="invoiceForm" parameter="method">
<forward name="success" path="/viewInvoice.jsp" redirect="false" />
<forward name="failure" path="/error.jsp" redirect="false" />
</action>
<action path="/addRenew" type="com.dleg.cola.actions.ButtonAction" name="invoiceForm" parameter="method">
<forward name="addCart" path="/viewInvoice.jsp" redirect="false" />
<forward name="failure" path="/error.jsp" redirect="false" />
</action>
<action path="/backHome" type="com.dleg.cola.actions.HomeAction" name="buttonForm">
<forward name="success" path="/licHome.jsp" redirect="false" />
<forward name="failure" path="/error.jsp" redirect="false" />
</action>
<action path="/viewInvoice" type="com.dleg.cola.actions.ViewInvoiceAction" name="buttonForm">
<set-property property="secure" value="true"/>
<forward name="success" path="/viewInvoice.jsp" redirect="false" />
<forward name="failure" path="/error.jsp" redirect="false" />
</action>
<action path="viewInvoice" type="com.dleg.cola.actions.ViewInvoiceAction" name="buttonForm">
<set-property property="secure" value="true"/>
<forward name="success" path="/viewInvoice.jsp" redirect="false" />
<forward name="failure" path="/error.jsp" redirect="false" />
</action>
<!--
<action path="/checkOut" input="payNow.jsp" type="com.dleg.cola.actions.CheckOutAction" name="creditCardForm" parameter="method" scope="request">
<forward name="success" path="https://www.govone.com/epay/http/pay.aspx" redirect="true" />
<forward name="confirm" path="/confirmPayment.jsp" redirect="false"/>
<forward name="failure" path="/error.jsp" redirect="false" />
</action>
-->
<action path="/checkOut" type="com.dleg.cola.actions.CheckOutAction" name="creditCardForm" parameter="method" scope="request">
<forward name="success" path="/wait.jsp" redirect="false" />
<forward name="failure" path="/error.jsp" redirect="false" />
<forward name="cancel" path="viewInvoice.do" redirect="false" />
</action>
<action path="/CommitTxn" type="com.dleg.cola.actions.CommitTxnAction" >
<forward name="success" path="/paymentConf.jsp" redirect="false"/>
<forward name="faillooking at the code...dont know where to start ... but usally this error occurs when u r using a property attribute in in html tag which wont actually exist in the action form or with a different spell....
just check the exact naming and spelll of property attribute of HTML tag ,,, -
Hi All,
I am getting the following error.. while running a simple application in struts.
Cannot find message resources under key org.apache.struts.action.MESSAGE ?
As I have searched in google but could not find the concreate example so please help and give me a proper answer..
my struts-config.xml file is as .....
<code>
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.0//EN"
"http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd">
<struts-config>
<!-- ========== Form Bean Definitions ============ -->
<form-beans>
<form-bean name="login" type="test.struts.LoginForm" />
</form-beans>
<!-- ========== Global Forward Definitions ========= -->
<global-forwards>
</global-forwards>
<!-- ========== Action Mapping Definitions ======== -->
<action-mappings>
<action
path="/login"
type="test.struts.LoginAction"
name="login"
input="/jsp/LoginView.jsp"
validate="true">
<forward name="valid" path="/jsp/MainMenu.jsp" />
<forward name="invalid" path="/jsp/LoginView.jsp" />
</action>
</action-mappings>
<message-resources null="false" parameter="test.struts.MessageResources"/>
</struts-config>
</code>
And my LoginView.jsp file is as:
<code>
<!-- LoginView.jsp -->
<%@ taglib uri="/struts/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/struts/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/struts/WEB-INF/struts-logic.tld" prefix="struts" %>
<HTML>
<HEAD><TITLE><bean:message key="title.login" /></TITLE></HEAD>
<BODY>
<bean:message key="heading.login" />
<html:errors />
<html:form action="/login">
<p>
<bean:message key="label.userId" />:
<html:text property="userId" size="10" />
<br>
<bean:message key="label.passWord" />:
<html:password property="passWord" size="10" />
<br><br>
<html:submit>
<bean:message key="button.submit" />
</html:submit>
</html:form>
</BODY>
</HTML>
</code>
MessageResources.properties is as :
<code>
button.submit=Send for Verification
error.no.userId=<li>User ID is a required field</li>
error.no.passWord=<li>Password is a required field</li>
error.invalid.login=<li>The User ID and/or Password are invalid. Please try again.</li>
errors.footer=</ul><hr>
errors.header=<h3><font color="red">Validation Error</font></h3>You must correct the following error(s) before proceeding:<ul>
label.userId=User ID
label.passWord=Password
heading.login=<H2>Enter your user information</H2>
title.login=Login Screen
title.mainmenu=Welcome
heading.mainmenu=<H1>Welcome!</H1>
label.userType=<H2>You are authorized to use this system as a</H2>
</code>
Please reply soon.
Thanks in advance
AmitindiaHi All,
I am getting the following error.. while running a simple application in struts.
Cannot find message resources under key org.apache.struts.action.MESSAGE ?
As I have searched in google but could not find the concreate example so please help and give me a proper answer.. my struts-config.xml file is as .....
<?xml version="1.0" encoding="ISO-8859-1" ?> <!DOCTYPE struts-
config PUBLIC "-//Apache Software Foundation//DTD Struts
Configuration 1.0//EN" "http://jakarta.apache.org/struts/dtds/struts-
config_1_0.dtd"> <struts-config> <!-- ========== Form Bean
Definitions ============ --> <form-beans> <form-bean name="login"
type="test.struts.LoginForm" /> </form-beans> <!-- ========== Global Forward Definitions ========= --> <global-forwards> </global-
forwards> <!-- ========== Action Mapping Definitions ======== --> <action-mappings> <action path="/login" type="test.struts.LoginAction" name="login" input="/jsp/LoginView.jsp" validate="true"> <forward name="valid" path="/jsp/MainMenu.jsp" /> <forward name="invalid" path="/jsp/LoginView.jsp" /> </action> </action-mappings> <message-resources null="false" parameter="test.struts.MessageResources"/> </struts-config>
And my LoginView.jsp file is as:
<!-- LoginView.jsp --> <%@ taglib uri="/struts/WEB-INF/struts-html.tld" prefix="html" %> <%@ taglib uri="/struts/WEB-INF/struts-bean.tld" prefix="bean" %> <%@ taglib uri="/struts/WEB-INF/struts-logic.tld" prefix="struts" %> <HTML> <HEAD><TITLE><bean:message key="title.login" /></TITLE></HEAD> <BODY> <bean:message key="heading.login" /> <html:errors /> <html:form action="/login">
<bean:message key="label.userId" />: <html:text property="userId" size="10" /> <br> <bean:message key="label.passWord" />: <html:password property="passWord" size="10" /> <br><br> <html:submit> <bean:message key="button.submit" /> </html:submit> </html:form> </BODY> </HTML>
MessageResources.properties is as :
button.submit=Send for Verification error.no.userId=<li>User ID is a required field</li> error.no.passWord=<li>Password is a required field</li> error.invalid.login=<li>The User ID and/or Password are invalid. Please try again.</li> errors.footer=</ul><hr> errors.header=<h3><font color="red">Validation Error</font></h3>You must correct the following error(s) before proceeding:<ul> label.userId=User ID label.passWord=Password heading.login=<H2>Enter your user information</H2> title.login=Login Screen title.mainmenu=Welcome heading.mainmenu=<H1>Welcome!</H1> label.userType=<H2>You are authorized to use this system as a</H2>
Please reply soon. Thanks in advance Amitindia -
I am using JDeveoper10.1.2 with JHeadStart
I am developing the OrderEntry application using ADF with Struts. Whenever i make the "Gender" field as Radio Group Button i get the following error message
Error: java.lang.NoClassDefFoundError: org.apache.struts.taglib.html.BaseHandlerTag
Please help what could be the cause.I have another way to solve this problem!
When these errors happened, u double clicked on the error line in Embedded OC4J Server log window. The error will lead to the blue marked line, may be:
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%> (1)
or
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%> (2)
If line (1) marked, change the prefix="html" to prefix="html1"
If line (2) marked, find the lines like <bean:message key="link.something_here"/>
and change to <bean:message key="link.something_here1"/> and the correspond line of this key in the ApplicationResources.properties file of the project
I successfully using this way but only if one error happend at a time or two errors from two kinds of error
This way is not as good as the previous way mentioned in previous post. -
Error can't load Servlet org.apache.struts.action.ActionServlet
Hi,
I have SAP J2EE 6.20 installed on linux machine. I am trying to deploy struts framework based application and while deploying it..... I am getting error message:
Error can't load Servlet org.apache.struts.action.ActionServlet : java.lang.NoClassDefFoundError: org/xml/sax/SAXException
07 19:27:48 - ***********************************************************
08/10/07 19:27:48 - Applying user role management mappings.
08/10/07 19:27:48 - Start updating EAR-file...D:\SAPJ2EE Client\deploying\sambodh\sambodh.ear
08/10/07 19:28:26 - Temp files deleted...
08/10/07 19:28:26 - Ear-file updated successfully for 37860ms.
08/10/07 19:28:27 - Start deploying ...
08/10/07 19:30:35 - Ear-file uploaded to server for 128047ms.
08/10/07 19:30:37 - Successfuly deployed! Deployment took 1953ms.
08/10/07 19:30:37 - WARNING : Deploy service return folowing WARNINGs:
Error can't load Servlet org.apache.struts.action.ActionServlet : java.lang.NoClassDefFoundError: org/xml/sax/SAXException
Deployment took 1953ms.
08/10/07 19:30:37 - ***********************************************************
First time when I got this error, I added struts.jar in my server's <inst_dir>/alone/additional_libs/...... but then also error still exists... Do I have to start SAP J2EE instance once again and then deploy my application?
Can anyone help me out in this as this is very very very imp.
regardsHi,
As per your actions above I believe you have already found SAP Note 435363.
Basically for a struts application there are no special requirements other than
1. Make a reference to the inqmyxmltoolkit from the application that is going to use struts before the deployment
2. Put the struts library into WEB-INF/lib of the application (struts can't be shared among applications)
3. Deploy the application
For making the reference you can:
1. Telnet to the Engine (if you run it as a service and do not have access to its shell directly)
If telnet port on the Engine dispatcher is 2323
telnet localhost 2323
2. Jump to the server node
for example if the application node's cluster id is 4001
jump 4001
3. Execute the commands
add deploy
changeref -m MyApplication library:inqmyxml
So if it does not work, then I see two reasons possible:
1. You are using a really old version of the 6.20 Engine - check if you are on PL41.
2. You have misspelled the name of your application in the reference. The names are case sensitive so you need to be careful. MyApplication is not the same as myApplication or myapplication.
Regards,
Iavor
Maybe you are looking for
-
Opening a frame from an applet
Hi, I want to open a frame in my applet. If I'm using swing, JApplet opening a JFrame, is it possible to keep the frame open if the user browses away from the page that holds the applet? Are there any tricks? I've tried opening it in a new Thread, bu
-
Transfer iphoto photos and videos from one mac to another and retain all the titles and face names
Can I transfer an event of multiple photos that are in my iPhoto application on my macbook air (mid 2012) to my iPhoto application on my iMac ( mid 2011), and have the photos, after the transfer to the iMac, also retain all titles and other identifyi
-
Need Help Resizing in PS Elements 6
I recently worked on a couple of my photos in PS Elements 6, and after I saved them, I found that they had changed size drastically. Both were about 2MB originally, but after working on them one had gone down to a mere 190Kb, while the other had inc
-
Can you skew a rectangle in Illustrator? I only see a shear option as I need to make a rectangle smaller on one end only, see attached as done in Photoshop.
-
Why is iTunes taking so long to transfer music files
HI all I've been waiting for an hour and a half to transfer 85 mp3 files.This can't be right.Any ideas