Weblogic apache configuration
We are using Apache 1.3.12 as a web server and Weblogic Server 5.1.0 as a
app server. I wanted to turn off Weblogic to run as web server so I set the
following property to false
weblogic.httpd.enable=false.
After this when I start apache and weblogic and invoke a a jsp page I get
403 (access forbidden error).
When I change weblogic.httpd.enable=true
It works fine. Can you please tell me the solution ?
Rakesh
Could you let us know what is the usage of weblogic.httpd.enable ?
I set this property to false and start the weblogic server, all servlets and ejbs
are got deployed, but when my ejb client try to find the bean home and failed.
I suppose that flag only disable http service so other web server such as apache
can be used.
Thanks
Mike
"WebLogic" <[email protected]> wrote:
In order for Apache to retrieve pages from WebLogic it must also run
as a
web
server. Http must therefore be enabled.
Sam
"Rakesh Gupta" <[email protected]> wrote in message
news:39b68762$[email protected]..
We are using Apache 1.3.12 as a web server and Weblogic Server 5.1.0as a
app server. I wanted to turn off Weblogic to run as web server so Iset
the
following property to false
weblogic.httpd.enable=false.
After this when I start apache and weblogic and invoke a a jsp pageI get
403 (access forbidden error).
When I change weblogic.httpd.enable=true
It works fine. Can you please tell me the solution ?
Rakesh
Similar Messages
-
NoClassDefFoundError: weblogic/management/configuration/KernelDebugMBean
NoClassDefFoundError: weblogic/management/configuration/KernelDebugMBean : weblogic/management/configuration/DebugMBean
I'm getting this error when trying to run a test of a web service developed with Axis outside of WLP.
weblogic.jar is in my classpath, and contains that class. So, I suspect there is some other class that might be missing. I've tried adding every .jar I can find from WLP to my classpath to no avail.
Here is the full trace:
Exception in thread "Main Thread" java.lang.NoClassDefFoundError: weblogic/management/configuration/KernelDebugMBean : weblogic/management/configuration/DebugMBean
at java.lang.ClassLoader.findBootstrapClass(Native Method)
at java.lang.ClassLoader.findBootstrapClass0(ClassLoader.java:891)
at java.lang.ClassLoader.loadClass(ClassLoader.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at weblogic.xml.jaxp.RegistryDocumentBuilderFactory.<clinit>(RegistryDocumentBuilderFactory.java:28)
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:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at javax.xml.parsers.FactoryFinder.newInstance(FactoryFinder.java:100)
at javax.xml.parsers.FactoryFinder.findJarServiceProvider(FactoryFinder.java:278)
at javax.xml.parsers.FactoryFinder.find(FactoryFinder.java:185)
at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:98)
at org.apache.axis.utils.XMLUtils.getDOMFactory(XMLUtils.java:221)
at org.apache.axis.utils.XMLUtils.<clinit>(XMLUtils.java:83)
at org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java:179)
at org.apache.axis.AxisEngine.init(AxisEngine.java:172)
at org.apache.axis.AxisEngine.<init>(AxisEngine.java:156)Hi Tim,
Pls always mention WLP version for a question.
Looks like there has been a change in the class "KernelDebugMBean" between WLP 9.2 and WLP 10.0
9.2: public interface KernelDebugMBean extends weblogic.management.configuration.DebugMBean
"http://edocs.bea.com/wls/docs92/javadocs_mhome/index.html"
10.0
public interface KernelDebugMBean
"http://edocs.beasys.co.jp/e-docs/wls/docs100/javadocs_mhome/index.html?weblogic/management/configuration/KernelDebugMBean.html"
Not really sure. Something is messy about DebugMBean superclass.
Might a BEA support question
Thanks
Vishnu -
Error loading weblogic apache plug-in
HPUX11i
Apache 2.0.55
WebLogic 8.13
I am following the instructions on how to configure the Weblogic Apache plug-in:
http://e-docs.bea.com/wls/docs81/plugins/apache.html#119517
When I attempt to verify the syntax of the http.conf or attempt to start apache, I get the following error:
/usr/lib/dld.sl: Can't shl_load() a library containing Thread Local Storage:
/usr/lib/libcl.2
/usr/lib/dld.sl: Exec format error
Syntax error on line 247 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/mod_wl_20.so into server: Exec format error
Any ideas on how to fix this?
Thanks.We will be making a port of the plug-in in the future. You should contact
your account manager who can supply the full details.
Thanks,
Michael Girdley
WLS Product Manager
Ken <kenw{noSpam]@lostwax.com> wrote in message
news:8cej50$dsu$[email protected]..
> I've just read about the WebLogic Apache plug-in that's new in 5.1 :-)
>
> Am I right to assume that this plug-in only works for Apache running on
> Solaris? :-(
>
> I'm running Apache (Stronghold actually) on Linux and I need to use this
to
> proxy JSP request to my Weblogic Servers running on Solaris - any
thoughts?
>
> Ken
>
>
-
Weblogic.apache.xalan.xpath.dtm.DTMException:
Hi,
I got two different behaviors when trying to the XSLT processor:
1) When running the XSLT processor using the XSLT JSP tag, everything works
fine.
2) When running the XSLT process from a Java program, got the following
error:
weblogic.apache.xalan.xpath.dtm.DTMException:
at
weblogic.apache.xalan.xpath.dtm.DTMProxy.getChildNodes(DTMProxy.java:
255)
at com.agilesoft.common.BOMRollUp.getRollupPrice(BOMRollUp.java:42)
at java.lang.reflect.Method.invoke(Native Method)
at
weblogic.apache.xalan.xpath.XSLTJavaClassEngine.callJava(XSLTJavaClas
sEngine.java:397)
at
weblogic.apache.xalan.xpath.XSLTJavaClassEngine.callFunction(XSLTJava
ClassEngine.java:668)
at
weblogic.apache.xalan.xpath.ExtensionFunctionHandler.callFunction(Ext
ensionFunctionHandler.java:282)
at
weblogic.apache.xalan.xpath.xml.XMLParserLiaisonDefault.extFunction(X
My XSL file contains Java extension to call a Java program where it needs to
call Element.getElementsByTagName() method,
which causes the DTMException.
I am using WebLogic 6.0sp2 on NT. Do I need to configure the default XSLT
parser when running
the processor from a Java program? Is it possible to get info. about the
XSLT JSP tags are executing
the XSLT processor?
Thanks,
HienHi,
I got two different behaviors when trying to the XSLT processor:
1) When running the XSLT processor using the XSLT JSP tag, everything works
fine.
2) When running the XSLT process from a Java program, got the following
error:
weblogic.apache.xalan.xpath.dtm.DTMException:
at
weblogic.apache.xalan.xpath.dtm.DTMProxy.getChildNodes(DTMProxy.java:
255)
at com.agilesoft.common.BOMRollUp.getRollupPrice(BOMRollUp.java:42)
at java.lang.reflect.Method.invoke(Native Method)
at
weblogic.apache.xalan.xpath.XSLTJavaClassEngine.callJava(XSLTJavaClas
sEngine.java:397)
at
weblogic.apache.xalan.xpath.XSLTJavaClassEngine.callFunction(XSLTJava
ClassEngine.java:668)
at
weblogic.apache.xalan.xpath.ExtensionFunctionHandler.callFunction(Ext
ensionFunctionHandler.java:282)
at
weblogic.apache.xalan.xpath.xml.XMLParserLiaisonDefault.extFunction(X
My XSL file contains Java extension to call a Java program where it needs to
call Element.getElementsByTagName() method,
which causes the DTMException.
I am using WebLogic 6.0sp2 on NT. Do I need to configure the default XSLT
parser when running
the processor from a Java program? Is it possible to get info. about the
XSLT JSP tags are executing
the XSLT processor?
Thanks,
Hien -
Folks,
I read in the instructions for installing the weblogic-apache plugin
where you can use the plug-in so apache can serve the static pages and
the servlets and ejbs are routed to the weblogic server. Can we use a
configuration where just the ejb's are mapped to the weblogic server and
the html, jsp's and servlets are served by the apache server? It seems
logical that the ejb's could be located by finding the JNDI compliant
server, and the rest served by apache. Are there any folks out there
using an architecture where weblogic is used only for ejbs and the rest
is served by apache? Or are there specific restrictions on what gets
served where using apache and weblogic? Thanks for listening,
Dan McGowan
Millennia Vision Corporation
[email protected]
509.585.1379
pager: 877.460.9073
cell: 509.544.8184
[dmcgowan.vcf]The problem in using the JSPs and servlets on the servlet engine
of the web server is, they can not use clustering/faliover facilities
that come with WebLogic server.
-Selvan Rajan
Michael Girdley wrote:
Yes, a minority of customers use another servlet engine/JSP engine in front
of Weblogic. Then, they rely upon EJB's that reside in WLS possibly on
another machine.
Michael Girdley
Product Manager, WebLogic Server & Express
BEA Systems Inc
"Dan McGowan" <[email protected]> wrote in message
news:[email protected]..
Folks,
I read in the instructions for installing the weblogic-apache plugin
where you can use the plug-in so apache can serve the static pages and
the servlets and ejbs are routed to the weblogic server. Can we use a
configuration where just the ejb's are mapped to the weblogic server and
the html, jsp's and servlets are served by the apache server? It seems
logical that the ejb's could be located by finding the JNDI compliant
server, and the rest served by apache. Are there any folks out there
using an architecture where weblogic is used only for ejbs and the rest
is served by apache? Or are there specific restrictions on what gets
served where using apache and weblogic? Thanks for listening,
Dan McGowan
Millennia Vision Corporation
[email protected]
509.585.1379
pager: 877.460.9073
cell: 509.544.8184 -
WebLogic Apache bridge problems on uploading large files via HTTP post
I have a problem uploading files larger than quarter a mega, the jsp
page does a POST
to a servlet which reads the input stream and writes to a file.
Configuration: Apache webserver 1.3.12 connected to the Weblogic 5.1
application server
via the bridge(mod_wl_ssl.so) from WebLogic Service pack 4.
The upload goes on for about 30 secs and throws the following error.
"Failure of WebLogic APACHE bridge:
IO error writing POST data to 100.12.1.2:7001; sys err#: [32] sys err
msg [Broken pipe]
Build date/time: Jul 10 2000 12:29:18 "
The same upload(in fact I uploaded a 8 MEG file) using the
Netscape(NSAPI) WebLogic
connector.
Any answers would be deeply appreciated.I have a problem uploading files larger than quarter a mega, the jsp
page does a POST
to a servlet which reads the input stream and writes to a file.
Configuration: Apache webserver 1.3.12 connected to the Weblogic 5.1
application server
via the bridge(mod_wl_ssl.so) from WebLogic Service pack 4.
The upload goes on for about 30 secs and throws the following error.
"Failure of WebLogic APACHE bridge:
IO error writing POST data to 100.12.1.2:7001; sys err#: [32] sys err
msg [Broken pipe]
Build date/time: Jul 10 2000 12:29:18 "
The same upload(in fact I uploaded a 8 MEG file) using the
Netscape(NSAPI) WebLogic
connector.
Any answers would be deeply appreciated. -
Weblogic.management.configuration.ConfigurationException
Dear All,
I am using Weblogic 6.1 with Service Pack 2 it was working fine.
I tried to upgrade it by installing Service Pack 7, but it was giving some exception when I tried to deploy the ejbs on server.
Now I revert back to service pack 2 by uninstalling the service pack 7, but when I tried to start the server it is giving following error.
How to solve this problem? It's very urgent. Pls help me out.
The WebLogic Server did not start up properly.
Exception raised:
weblogic.management.configuration.ConfigurationException: Unknown attribute StagedTargets for MyWebApp, type Application
at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHan
dler.parseMBeanAttributes(ConfigurationParser.java:308)
at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHan
dler.startElement(ConfigurationParser.java:188)
at weblogic.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:
1340)
at weblogic.apache.xerces.validators.common.XMLValidator.callStartElemen
t(XMLValidator.java:1183)
at weblogic.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDo
cumentScanner.java:1876)
at weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher
.dispatch(XMLDocumentScanner.java:1252)
at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocu
mentScanner.java:381)
at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:967)
at weblogic.management.internal.xml.ConfigurationParser.parse(Configurat
ionParser.java:105)
at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFile
Repository.java:261)
at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFile
Repository.java:223)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy1.loadDomain(Unknown Source)
at weblogic.management.AdminServer.configureFromRepository(AdminServer.j
ava:188)
at weblogic.management.AdminServer.configure(AdminServer.java:173)
at weblogic.management.Admin.initialize(Admin.java:239)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:362)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
at weblogic.Server.main(Server.java:35)
Reason: Fatal initialization exception
Thanks in advance
regards,
rituDear All,
I am using Weblogic 6.1 with Service Pack 2 it was
working fine.
I tried to upgrade it by installing Service Pack 7,
but it was giving some exception when I tried to
deploy the ejbs on server.
Now I revert back to service pack 2 by uninstalling
the service pack 7, but when I tried to start the
server it is giving following error.
How to solve this problem? It's very urgent. Pls help
me out.
The WebLogic Server did not start up properly.
Exception raised:
weblogic.management.configuration.ConfigurationExcepti
on: Unknown attribute StagedTargets for MyWebApp,
type Application
at
weblogic.management.internal.xml.ConfigurationParser$C
onfigurationHan
dler.parseMBeanAttributes(ConfigurationParser.java:308
at
weblogic.management.internal.xml.ConfigurationParser$C
onfigurationHan
dler.startElement(ConfigurationParser.java:188)
at
weblogic.apache.xerces.parsers.SAXParser.startElement(
SAXParser.java:
1340)
at
weblogic.apache.xerces.validators.common.XMLValidator.
callStartElemen
t(XMLValidator.java:1183)
at
weblogic.apache.xerces.framework.XMLDocumentScanner.sc
anElement(XMLDo
cumentScanner.java:1876)
at
weblogic.apache.xerces.framework.XMLDocumentScanner$Co
ntentDispatcher
.dispatch(XMLDocumentScanner.java:1252)
at
weblogic.apache.xerces.framework.XMLDocumentScanner.pa
rseSome(XMLDocu
mentScanner.java:381)
at
weblogic.apache.xerces.framework.XMLParser.parse(XMLPa
rser.java:967)
at
weblogic.management.internal.xml.ConfigurationParser.p
arse(Configurat
ionParser.java:105)
at
weblogic.management.internal.xml.XmlFileRepository.loa
dDomain(XmlFile
Repository.java:261)
at
weblogic.management.internal.xml.XmlFileRepository.loa
dDomain(XmlFile
Repository.java:223)
at java.lang.reflect.Method.invoke(Native Method)
at
weblogic.management.internal.DynamicMBeanImpl.invokeLo
cally(DynamicMB
eanImpl.java:636)
at
weblogic.management.internal.DynamicMBeanImpl.invoke(D
ynamicMBeanImpl
.java:621)
at
weblogic.management.internal.ConfigurationMBeanImpl.in
voke(Configurat
ionMBeanImpl.java:359)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSer
verImpl.java:15
55)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanSer
verImpl.java:15
23)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanPr
oxy.java:468)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanPr
oxy.java:209)
at $Proxy1.loadDomain(Unknown Source)
at
weblogic.management.AdminServer.configureFromRepositor
y(AdminServer.j
ava:188)
at
weblogic.management.AdminServer.configure(AdminServer.
java:173)
at
weblogic.management.Admin.initialize(Admin.java:239)
at
weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:362)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
at weblogic.Server.main(Server.java:35)
Reason: Fatal initialization exception
Thanks in advance
regards,
rituHi,
As mentioned in your error message ("Unknown attribute StagedTargets for MyWebApp"), the attribute StagedTargets is added to your config.xml file in domain MyWebApp when service pack 7 was installed. Un-installing service pack 7 does not remove this attribute nor restores your Weblogic6.1 service pack 2 config.xml file. Hence delete or backup the current config.xml file in domain MyWebApp, copy the config.xml file you have been using with service pack 2 and restart WebLogic. It should start successfully.
Note: Upon un-installing service pack 7 restart your system.
Regards,
HP -
Dear All,
I am using Weblogic 6.1 with Service Pack 2 it was working fine.
I tried to upgrade it by installing Service Pack 7, but it was giving some exception when I tried to deploy the ejbs on server.
Now I revert back to service pack 2 by uninstalling the service pack 7, but when I tried to start the server it is giving following error.
How to solve this problem? It's very urgent. Pls help me out.
The WebLogic Server did not start up properly.
Exception raised:
weblogic.management.configuration.ConfigurationException: Unknown attribute StagedTargets for MyWebApp, type Application
at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHan
dler.parseMBeanAttributes(ConfigurationParser.java:308)
at weblogic.management.internal.xml.ConfigurationParser$ConfigurationHan
dler.startElement(ConfigurationParser.java:188)
at weblogic.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:
1340)
at weblogic.apache.xerces.validators.common.XMLValidator.callStartElemen
t(XMLValidator.java:1183)
at weblogic.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDo
cumentScanner.java:1876)
at weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher
.dispatch(XMLDocumentScanner.java:1252)
at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocu
mentScanner.java:381)
at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:967)
at weblogic.management.internal.xml.ConfigurationParser.parse(Configurat
ionParser.java:105)
at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFile
Repository.java:261)
at weblogic.management.internal.xml.XmlFileRepository.loadDomain(XmlFile
Repository.java:223)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy1.loadDomain(Unknown Source)
at weblogic.management.AdminServer.configureFromRepository(AdminServer.j
ava:188)
at weblogic.management.AdminServer.configure(AdminServer.java:173)
at weblogic.management.Admin.initialize(Admin.java:239)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:362)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:202)
at weblogic.Server.main(Server.java:35)
Reason: Fatal initialization exception
Thanks in advance
regards,
rspi:-(looking for StagedTargets into config.xml and delete this attribute.
StagedTargets means that one application was deployed over one (or more) server in mode stage.
I think that this attribute is not allow sp2 and is not very important. -
Weblogic Apache Plugins -Put/Delete Method
Hi ,
I need to find out if the weblogic plugin Apache supports the use of http PUT and DELETE operations (instead of GET and POST) and if so I need an example plugin configuration where the clients are using the "PUT" and "DELETE" operations. And, again assuming the plugin supports PUT and DELETE, are there any known issues with there use in conjunction with the plugin.Hi ,
Here is the details about the HTTP Put/Delete Protocol :-
Supported :-
HTTP Put and Delete Protocol is supported in Weblogic and Weblogic Apache Plugin .
In Apache also these protocols are supported .
Configuration :-
If you want to configure it older version of Apache we have to use the (WebDav) of the apache .But you don't have do anything for newer version
as this module should be there and we have to do only configuration for Apache for this module .
Configuration of WebDab is here in newer version of Apache:-
http://www.serverwatch.com/tutorials/article.php/2176771/Enabling-WebDAV-on-Apache.htm
We don't have to do anything on Weblogic and Apache Weblogic Plugin side .As by default they support these protocols.
Usage :-
I tested this in my environment by sending a Put request to Weblogic Plugin using the Tool called "Fiddler".
I sent a request to Weblogic Plugin using this tool and it works . Even i checked on the Apache plugin log files also that it works.
There is good note from apache how to use the Put/Delete function in Apache .
Please follow this link for usage for Put/Delete for Apache for uploading files to server . How this make life easy .
http://www.apacheweek.com/features/put
http://stackoverflow.com/questions/1051004/how-to-send-put-delete-http-request-in-httpurlconnection
Security Risk :-
Please keep in mind that there is security risk when we use this protocol which is clearly explain in the note when we use this in the example above.
Here is a nice article also which explains the security concerns of Put :-
https://www.golemtechnologies.com/articles/http-put-security
Tested hitting localhost/console
Edited the request header GET /console/login/LoginForm.jsp HTTP/1.1 to PUT /console/login/LoginForm.jsp HTTP/1.1
Got the following in the apache log file
================New Request: [PUT /console/ HTTP/1.1] =================
Wed May 29 19:24:35 2013 <608013698698758> INFO: SSL is not configured
Wed May 29 19:24:35 2013 <608013698698758> Using Uri /console/
Wed May 29 19:24:35 2013 <608013698698758> After trimming path: '/console/'
Wed May 29 19:24:35 2013 <608013698698758> The final request string is '/console/'
Wed May 29 19:24:35 2013 <608013698698758> SEARCHING id=[10.157.153.243:7001] from current ID=[10.157.153.243:7001]
Wed May 29 19:24:35 2013 <608013698698758> The two ids matched
Wed May 29 19:24:35 2013 <608013698698758> @@@FOUND...id=[10.157.153.243:7001], server_name=[localhost], server_port=[80]
Wed May 29 19:24:35 2013 <608013698698758> attempt #0 out of a max of 5
Wed May 29 19:24:35 2013 <608013698698758> Trying a pooled connection for '10.157.153.243/7001/7001'
Wed May 29 19:24:35 2013 <608013698698758> getPooledConn: No more connections in the pool for Host[10.157.153.243] Port[7001] SecurePort[7001]
Wed May 29 19:24:35 2013 <608013698698758> general list: trying connect to '10.157.153.243'/7001/7001 at line 2716 for '/console/'
Wed May 29 19:24:35 2013 <608013698698758> INFO: New NON-SSL URL
Wed May 29 19:24:35 2013 <608013698698758> Connect returns -1, and error no set to 10035, msg 'Unknown error'
Wed May 29 19:24:35 2013 <608013698698758> EINPROGRESS in connect() - selecting
Wed May 29 19:24:35 2013 <608013698698758> Local Port of the socket is 3175
Wed May 29 19:24:35 2013 <608013698698758> Remote Host 10.157.153.243 Remote Port 7001
Wed May 29 19:24:35 2013 <608013698698758> general list: created a new connection to '10.157.153.243'/7001 for '/console/', Local port:3175
Wed May 29 19:24:35 2013 <608013698698758> Hdrs from clnt:[Host]=[localhost]
Wed May 29 19:24:35 2013 <608013698698758> Hdrs from clnt:[Connection]=[keep-alive]
Wed May 29 19:24:35 2013 <608013698698758> Hdrs from clnt:[Accept]=[text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8]
Wed May 29 19:24:35 2013 <608013698698758> Hdrs from clnt:[User-Agent]=[Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.94 Safari/537.36]
Wed May 29 19:24:35 2013 <608013698698758> Hdrs from clnt:[Accept-Encoding]=[gzip,deflate,sdch]
Wed May 29 19:24:35 2013 <608013698698758> Hdrs from clnt:[Accept-Language]=[en-US,en;q=0.8]
Wed May 29 19:24:35 2013 <608013698698758> Hdrs from clnt:[Cookie]=[ADMINCONSOLESESSION=yQ7GRmLfKBhHdJrQ55t4X2v9y0v1NZCGj5qtfQdshz6w87nPc4nW!419247034]
Wed May 29 19:24:35 2013 <608013698698758> URL::sendHeaders(): meth='PUT' file='/console/' protocol='HTTP/1.1'
Wed May 29 19:24:35 2013 <608013698698758> Hdrs to WLS:[Host]=[localhost]
Wed May 29 19:24:35 2013 <608013698698758> Hdrs to WLS:[Accept]=[text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8]
Wed May 29 19:24:35 2013 <608013698698758> Hdrs to WLS:[User-Agent]=[Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.94 Safari/537.36]
Wed May 29 19:24:35 2013 <608013698698758> Hdrs to WLS:[Accept-Encoding]=[gzip,deflate,sdch]
Wed May 29 19:24:35 2013 <608013698698758> Hdrs to WLS:[Accept-Language]=[en-US,en;q=0.8]
Wed May 29 19:24:35 2013 <608013698698758> Hdrs to WLS:[Cookie]=[ADMINCONSOLESESSION=yQ7GRmLfKBhHdJrQ55t4X2v9y0v1NZCGj5qtfQdshz6w87nPc4nW!419247034]
Wed May 29 19:24:35 2013 <608013698698758> Hdrs to WLS:[Connection]=[Keep-Alive]
Wed May 29 19:24:35 2013 <608013698698758> Hdrs to WLS:[WL-Proxy-SSL]=[false]
Wed May 29 19:24:35 2013 <608013698698758> Hdrs to WLS:[WL-Proxy-Client-IP]=[127.0.0.1]
Wed May 29 19:24:35 2013 <608013698698758> Hdrs to WLS:[Proxy-Client-IP]=[127.0.0.1]
Wed May 29 19:24:35 2013 <608013698698758> Hdrs to WLS:[X-Forwarded-For]=[127.0.0.1]
Wed May 29 19:24:35 2013 <608013698698758> Hdrs to WLS:[X-WebLogic-KeepAliveSecs]=[30]
Wed May 29 19:24:35 2013 <608013698698758> Hdrs to WLS:[X-WebLogic-Force-JVMID]=[419247034]
Wed May 29 19:24:35 2013 <608013698698758> URL::parseHeaders: CompleteStatusLine set to [HTTP/1.1 302 Moved Temporarily]
Wed May 29 19:24:35 2013 <608013698698758> URL::parseHeaders: StatusLine set to [302 Moved Temporarily]
Wed May 29 19:24:35 2013 <608013698698758> Hdrs from WLS:[Connection]=[close]
Wed May 29 19:24:35 2013 <608013698698758> Hdrs from WLS:[Date]=[Wed, 29 May 2013 23:24:35 GMT]
Wed May 29 19:24:35 2013 <608013698698758> Hdrs from WLS:[Transfer-Encoding]=[chunked]
Wed May 29 19:24:35 2013 <608013698698758> Hdrs from WLS:[Location]=[http://localhost/console/console.portal?_nfpb=true]
Wed May 29 19:24:35 2013 <608013698698758> Hdrs from WLS:[Content-Type]=[text/html; charset=UTF-8]
Wed May 29 19:24:35 2013 <608013698698758> Hdrs from WLS:[X-WebLogic-JVMID]=[419247034]
Wed May 29 19:24:35 2013 <608013698698758> Hdrs from WLS:[X-Powered-By]=[Servlet/2.5 JSP/2.1]
Wed May 29 19:24:35 2013 <608013698698758> parsed all headers OK
Wed May 29 19:24:35 2013 <608013698698758> sendResponse() : r->status = '302'
Wed May 29 19:24:35 2013 <608013698698758> Hdrs to client (add):[Date]=[Wed, 29 May 2013 23:24:35 GMT]
Wed May 29 19:24:35 2013 <608013698698758> Hdrs to client (add):[Location]=[http://localhost/console/console.portal?_nfpb=true]
Wed May 29 19:24:35 2013 <608013698698758> Hdrs to client (add):[X-Powered-By]=[Servlet/2.5 JSP/2.1]
Wed May 29 19:24:35 2013 <608013698698758> canRecycle: conn=1 status=302 isKA=0 clen=-1 isCTE=1
Wed May 29 19:24:35 2013 <608013698698758> closeConn: URL.canRecycle() returns false, deleting URL '10.157.153.243/7001'
Wed May 29 19:24:35 2013 <608013698698758> request [console/] processed successfully..................
Regards
Sahil Soni
------------------------------------------------------------------------------------------------------------------------------ -
Using WebLogic Server 6.1 SP2. Am using xslt to transform xml into html. After
repeatedly
using the same Transformer object to transform different xml documents, the Transformer
eventually becomes corrupt – sometimes after 20 or so transforms, sometimes only
after
thousands.
Once the Transformer object becomes corrupt, any additional attempt to call the
transform
method results in the following exception:
=============================
javax.xml.transform.TransformerException: -1
at weblogic.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1248)
at weblogic.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:483)
at weblogic.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1153)
at … <snip>
Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
at weblogic.apache.xml.utils.NodeVector.popQuick(NodeVector.java:247)
at weblogic.apache.xpath.XPathContext.popCurrentNode(XPathContext.java:552)
at weblogic.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2100)
at weblogic.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1225)
at … <snip>
=============================
Using cavaj to decompile weblogic.apache.xalan.transformer.TransformerImpl yields:
Method: applyTemplateToNode:
try
pushElemTemplateElement(elemtemplateelement1);
m_xcontext.pushCurrentNode(node);
<snip>
catch(SAXException saxexception)
throw new TransformerException(saxexception);
finally
m_xcontext.popCurrentNode();
<snip>
So what appears to be happening is that one of the two push calls at the beginning
of the try
block is throwing an Exception, causing the pop method to be called in the finally
block without
first having had a successful call to push. The corresponding NodeVector inside
m_xcontext
thereupon becomes corrupt, and it is only a matter of time before the above
ArrayIndexOutOfBoundsException appears.
Unfortunately, we are unable to consistently reproduce this Transformer corruption
and
currently have no idea how it happens in the first place. We figure there’s probably
some sort
of error in our xsl stylesheet which is at the root of all this, but have had
no luck in finding it.
So, two questions:
1.) Has anyone encountered this problem of having a bad xsl stylesheet which,
when applied
repeatedly on certain xml documents, can cause the Transformer to become corrupt
as a result
of calling NodeVector.pop without a corresponding call to NodeVector.push? If
so, do you have
a simple example of the type of xsl template and/or xml document which might reproduce
the
scenario.
2.) Would not the above code snippet in TransformerImpl be considered buggy in
any case,
since it should not be possible for an invalid xsl stylesheet to permanently corrupt
the
Transformer? If there’s agreement that this represents a bug in TransformerImpl,
has it been
fixed in 6.1 SP3 or higher, or in subsequent versions of the Weblogic Server?
Thanks,
Johnhi,
I've just recently started getting this error too. It's completely random as
to when it occurs. My system can process hundreds of translations with no problems
and then once and awhile I get this exact error.
I'm using WebLogic v7.0 sp2. I've noticed however that this only happens on my
Windows system - I've got it running on a solairs box with no problems.
Has anyone else seen this ?
Thanks.
Jerry
"John Lame" <[email protected]> wrote:
>
Using WebLogic Server 6.1 SP2. Am using xslt to transform xml into html.
After
repeatedly
using the same Transformer object to transform different xml documents,
the Transformer
eventually becomes corrupt – sometimes after 20 or so transforms, sometimes
only
after
thousands.
Once the Transformer object becomes corrupt, any additional attempt to
call the
transform
method results in the following exception:
=============================
javax.xml.transform.TransformerException: -1
at weblogic.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1248)
at weblogic.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:483)
at weblogic.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1153)
at … <snip>
Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
at weblogic.apache.xml.utils.NodeVector.popQuick(NodeVector.java:247)
at weblogic.apache.xpath.XPathContext.popCurrentNode(XPathContext.java:552)
at weblogic.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2100)
at weblogic.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1225)
at … <snip>
=============================
Using cavaj to decompile weblogic.apache.xalan.transformer.TransformerImpl
yields:
Method: applyTemplateToNode:
try
pushElemTemplateElement(elemtemplateelement1);
m_xcontext.pushCurrentNode(node);
<snip>
catch(SAXException saxexception)
throw new TransformerException(saxexception);
finally
m_xcontext.popCurrentNode();
<snip>
So what appears to be happening is that one of the two push calls at
the beginning
of the try
block is throwing an Exception, causing the pop method to be called in
the finally
block without
first having had a successful call to push. The corresponding NodeVector
inside
m_xcontext
thereupon becomes corrupt, and it is only a matter of time before the
above
ArrayIndexOutOfBoundsException appears.
Unfortunately, we are unable to consistently reproduce this Transformer
corruption
and
currently have no idea how it happens in the first place. We figure
there’s probably
some sort
of error in our xsl stylesheet which is at the root of all this, but
have had
no luck in finding it.
So, two questions:
1.) Has anyone encountered this problem of having a bad xsl stylesheet
which,
when applied
repeatedly on certain xml documents, can cause the Transformer to become
corrupt
as a result
of calling NodeVector.pop without a corresponding call to NodeVector.push?
If
so, do you have
a simple example of the type of xsl template and/or xml document which
might reproduce
the
scenario.
2.) Would not the above code snippet in TransformerImpl be considered
buggy in
any case,
since it should not be possible for an invalid xsl stylesheet to permanently
corrupt
the
Transformer? If there’s agreement that this represents a bug in TransformerImpl,
has it been
fixed in 6.1 SP3 or higher, or in subsequent versions of the Weblogic
Server?
Thanks,
John -
I am getting this xml parser error after migrating to weblogic7.0 from wl 6.1
I am using the sax parser. I am using the jaxp.jar and xalan.jar for compilation
as well as running the application. However I am also using the weblogic.jar for
compilation and runtime in the classpath. I am wandering if there are any changes
to the version of SAX parser which weblogic 7.0 is using. Does anybody has any
idea..
Thanks,
This is the error which I am getting on the server.
java.lang.NoSuchMethodError
at weblogic.apache.xpath.DOM2Helper.getNamespaceOfNode(DOM2Helper.java:356)
at weblogic.apache.xml.utils.TreeWalker.startNode(TreeWalker.java:366)
at weblogic.apache.xml.utils.TreeWalker.traverse(TreeWalker.java:190)
at weblogic.apache.xalan.processor.TransformerFactoryImpl.processFromNode(TransformerFactory
Impl.java:232)
at weblogic.apache.xalan.processor.TransformerFactoryImpl.processFromNode(TransformerFactory
Impl.java:331)
at weblogic.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImp
l.java:875)
at weblogic.apache.xalan.processor.TransformerFactoryImpl.newTransformer(TransformerFactoryI
mpl.java:757)
at weblogic.xml.jaxp.WebLogicTransformerFactory.newTransformer(WebLogicTransformerFactory.ja
va:195)
at weblogic.xml.jaxp.RegistryTransformerFactory.newTransformer(RegistryTransformerFactory.jaThe version of the xalan in weblogic7.0 is 2.2 transformer.
You can refer to the following upgrade guide.
Ajay
"sameer" <[email protected]> wrote in message
news:3e78d50e$[email protected]..
>
I am getting this xml parser error after migrating to weblogic7.0 from wl6.1
I am using the sax parser. I am using the jaxp.jar and xalan.jar forcompilation
as well as running the application. However I am also using theweblogic.jar for
compilation and runtime in the classpath. I am wandering if there are anychanges
to the version of SAX parser which weblogic 7.0 is using. Does anybody hasany
idea..
Thanks,
This is the error which I am getting on the server.
java.lang.NoSuchMethodError
atweblogic.apache.xpath.DOM2Helper.getNamespaceOfNode(DOM2Helper.java:356)
atweblogic.apache.xml.utils.TreeWalker.startNode(TreeWalker.java:366)
atweblogic.apache.xml.utils.TreeWalker.traverse(TreeWalker.java:190)
atweblogic.apache.xalan.processor.TransformerFactoryImpl.processFromNode(Trans
formerFactory
Impl.java:232)
atweblogic.apache.xalan.processor.TransformerFactoryImpl.processFromNode(Trans
formerFactory
Impl.java:331)
atweblogic.apache.xalan.processor.TransformerFactoryImpl.newTemplates(Transfor
merFactoryImp
l.java:875)
atweblogic.apache.xalan.processor.TransformerFactoryImpl.newTransformer(Transf
ormerFactoryI
mpl.java:757)
atweblogic.xml.jaxp.WebLogicTransformerFactory.newTransformer(WebLogicTransfor
merFactory.ja
va:195)
atweblogic.xml.jaxp.RegistryTransformerFactory.newTransformer(RegistryTransfor
merFactory.ja -
I've just read about the WebLogic Apache plug-in that's new in 5.1 :-)
Am I right to assume that this plug-in only works for Apache running on
Solaris? :-(
I'm running Apache (Stronghold actually) on Linux and I need to use this to
proxy JSP request to my Weblogic Servers running on Solaris - any thoughts?
Ken
We will be making a port of the plug-in in the future. You should contact
your account manager who can supply the full details.
Thanks,
Michael Girdley
WLS Product Manager
Ken <kenw{noSpam]@lostwax.com> wrote in message
news:8cej50$dsu$[email protected]..
> I've just read about the WebLogic Apache plug-in that's new in 5.1 :-)
>
> Am I right to assume that this plug-in only works for Apache running on
> Solaris? :-(
>
> I'm running Apache (Stronghold actually) on Linux and I need to use this
to
> proxy JSP request to my Weblogic Servers running on Solaris - any
thoughts?
>
> Ken
>
>
-
Can you specify third party JMS Provider in Weblogic appserver configuration
Can you specify third party JMS Provider in Weblogic appserver configuration ???
Only place i know of is that you can specify third party JMS Provider in MDB configuraion.
DOES Weblogic has some kind of configuration files where you specify JMS Provider
info (Like you can do that in JBOSS)
You can also specify a third-party JMS provider using the Messaging Bridge,
which transfers messages from one queue or topic to another.
And in general, inside WLS you can use any JMS provider you wish anywhere
that you can also use WLS JMS. In an upcoming release, there will also be
some support to make foreign JMS providers a little easier to configure.
But why would you want to use another JMS provider anyway? ;-)
greg
"Neeru Munjal" <[email protected]> wrote in message
news:[email protected]..
>
> Can you specify third party JMS Provider in Weblogic appserver
configuration ???
>
> Only place i know of is that you can specify third party JMS Provider in
MDB configuraion.
> DOES Weblogic has some kind of configuration files where you specify JMS
Provider
> info (Like you can do that in JBOSS)
-
ColdFusion 10 with CentOS 6.2 - Default apache configuration.
Starting ColdFusion 10 server instance named cfusion ...
The ColdFusion 10 server instance named cfusion is starting up and will be available shortly.
======================================================================
Running the ColdFusion 10 connector wizard
======================================================================
Configuring the web server connector (Launched on the first run of the ColdFusion 10 start script)
Running /etc/httpd/conf connector wizard...
=======================================
There was an error while running the connector wizard
Connector installation was not successful
=======================================
======================================================================
ColdFusion 10 server instance named cfusion has been started.
ColdFusion 10 will write logs to /opt/coldfusion10/cfusion/logs/start.log
wsconfig.log
# Created by ColdFusion on 03/10 21:42:55
03/10 21:42:55 info Tomcat Connector
03/10 21:42:55 debug command line: -ws apache -dir /etc/httpd/conf -bin /usr/sbin/httpd -script /etc/rc.d/init.d/httpd -cfide /opt/coldfusion10/cfusion/wwwroot/CFIDE -v
03/10 21:42:55 error This web server is already configured for ColdFusion.
com.adobe.coldfusion.connector.connectorinstaller.ConnectorInstallerException: This web server is already configured for ColdFusion.
at com.adobe.coldfusion.connector.connectorinstaller.ApacheInstaller.installConnector(Apache Installer.java:186)
at com.adobe.coldfusion.connector.connectorinstaller.ConnectorInstaller.installConnector(Con nectorInstaller.java:330)
at com.adobe.coldfusion.connector.connectorinstaller.ConnectorInstaller.doIt(ConnectorInstal ler.java:274)
at com.adobe.coldfusion.connector.connectorinstaller.ConnectorInstaller.main(ConnectorInstal ler.java:723)
I can´t get the default apache configuration to run with ColdFusion 10 in Linux CentOS 6.2.
There seems to be a problem when trying to start apache with the line at the end of the conf file.
Include "/etc/httpd/conf/mod_jk.conf"
I get the message in the services
This service is being refreshed right now. but it never starts.
The apache connector file has the following
../../runtime/bin/wsconfig \
-ws apache \
-dir /etc/httpd/conf \
-bin /usr/sbin/httpd \
-script /usr/sbin/apachectl \
Here is the apache log information:
[Sat Mar 10 21:23:04 2012] [notice] caught SIGTERM, shutting down
[Sat Mar 10 21:26:14 2012] [notice] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Sat Mar 10 21:26:14 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sat Mar 10 21:26:14 2012] [notice] Digest: generating secret for digest authentication ...
[Sat Mar 10 21:26:14 2012] [notice] Digest: done
[Sat Mar 10 21:26:14 2012] [notice] Apache/2.2.15 (Unix) DAV/2 configured -- resuming normal operations
[Sat Mar 10 21:26:14 2012] [warn] ./mod_dnssd.c: No services found to register
[Sat Mar 10 21:28:15 2012] [error] [client 127.0.0.1] File does not exist: /var/www/html/favicon.ico
[Sat Mar 10 21:34:35 2012] [error] [client 127.0.0.1] File does not exist: /var/www/html/CFIDE
[Sat Mar 10 21:34:44 2012] [error] [client 127.0.0.1] Directory index forbidden by Options directive: /var/www/html/
[Sat Mar 10 21:44:16 2012] [error] [client 127.0.0.1] File does not exist: /var/www/html/CFIDE
[Sat Mar 10 21:54:57 2012] [notice] caught SIGTERM, shutting down
Fairly new to linux!
Not sure where to go to from here!OK. I think I´ve found the solution. Apparently selinux needs to be in permissive mode:
Check to see if permissive or enforcing
cat /selinux/enforce
0 = Permissive
1 = enforcing
If 1 run
echo 0 > /selinux/enforce
Thanks to Aaron West
http://www.aaronwest.net/blog/index.cfm/2011/2/7/Super-Guide-Installing-ColdFusion-9-on-Ce ntOS-Linux
Perhaps the documents could be updated to help newbies like me! -
About Weblogic-Apache plugin for windows NT
Is there windows NT version of WEBLOGIC-APACHE Plugin? If so where can we get the details about the product?
Last time I checked, the NT version of Apache was still an alpha (or
beta???) release. I believe that we have plans to support this once the NT
version is no longer in alpha/beta status...
Mike Reiche wrote:
I am 93% sure there is no such plug-in available.
Mike
Sairam Krishnaswamy <[email protected]> wrote:
Is there windows NT version of WEBLOGIC-APACHE Plugin? If so where can
we get the details about the product?
Maybe you are looking for
-
After installing Mavericks my computer is suffering from constant kernel panics
Hi, I installed Mavericks when it came out. Ever since then, my computer restarts on its own at lesat 4 or 5 times per day. Normally I'm web browsing when this happens. Separately, Google Chrome goes through phases when it gives the "Oh snap!" error
-
Please HELP me with getting the right version of Adventure Works database
Hi, I have SQL SERVER 2008 R2 installed with me. And i have downloaded 'AdventureWorks2008R2_Database' from msdn links only. It is running fine. Now the practise material i have with me is where employee table have columns precisely as in this link
-
Getting these errors when trying to install elements 11 on my mac osx
WARNING: DW066: OS requirements not met for {FA19351D-E98C-48C1-B5E1-0C8C42B5E11C} WARNING: DW066: OS requirements not met for {F7FD5B5C-CE79-4657-AEB7-B0EE4626C912} WARNING: DW031: Payload:{F6F5021E-0548-43C1-82CC-C5C7A6906585} Camera Profiles Insta
-
HIya, I've got a 2.66GHz Quad intel xeon Mac Pro, with 8gb RAM, OSX 10.8.4, NVIDIA GeForce GT 120. I use it as a 'server', running a copy of Filemaker Server and Account Edge. It's set to auto shutdown at 8.30 in the evening, but randomly, when I get
-
Equivalence of library cahe subpool size
Hello ! I'm using Oracle 9.2.0.8 How to control whether size of library cahe/shared subpool size equivalent or not (_kghdsidx_count =5) ? Thanks and regards, Paul