WebLogic Server 6.1 SP 3 DocumentBuilder throws IOException: Stream closed
Hi,
I have a question about XML processing and error handling, and how the
WebLogic container affects things.
Here's what happens to us. We have a servlet parsing XML using DOM.
The servlet has an InputStream with the content. It gets the default
DocumentBuilderFactory
(weblogic.xml.jaxp.RegistryDocumentBuilderFactory) and makes it
validating. It asks for a DocumentBuilder. It gives the builder our
own custom error handler to collect up all the SAX parse errors. It
then tells the builder to parse the input stream. We would expect
that any problems with the content would be reported as an error to
our error handler, so that we can then report the errors to the user
as part of the servlet response.
However, certain malformed XML content causes the WebLogic parser to
issue several error messages to System.out and throw an IOException
with the message "Stream closed". No errors are recorded in our error
handler. This happens on a variety of inputs, which all revolve
around the root element start tag being malformed or entirely missing.
We get this behavior with a totally empty stream, with a stream that
has the <?xml> and <!DOCTYPE> headers but nothing else, with a stream
that has the headers and then a malformed start tag like
"<Submit_Contracts a="1"b="2"/>". I think the programmer would expect
any of these inputs to cause the parser to simply report a fatal error
and stop. Throwing an IOException makes it look like it's an error in
the underlying stream, and clearly it's not. (Most of the test code I
used actually pulled the XML from a ByteArrayInputStream.)
Shouldn't WebLogic's parser handle these inputs differently? Throwing
an IOException can't be correct, can it? Should the application
instead be responsible for checking that the input has a well-formed
start tag? In that case the application is doing the parsing that we
want to rely on the parser to do! Should the application instead
catch IOExceptions from the parser and report them to the user as
input errors? In that case the application can potentially swallow
and ignore harmful system errors.
The messages on System.out are all along the lines of:
"<Oct 17, 2002 5:38:03 PM EDT> <Error> <XML> <Failed to open XML
document. Failed to retrieve PUBLIC id or SYSTEM id from the document.
Decrease the number of char between the beginning of the document and
its root element.>
<Oct 17, 2002 5:38:03 PM EDT> <Error> <XML> <Failed to open XML
document. Failed to retrieve PUBLIC id. Stream closed>
<Oct 17, 2002 5:38:03 PM EDT> <Error> <XML> <Failed to parse given XML
document. Failed to retrieve PUBLIC id. The root element is required
in a well-formed document.>
<Oct 17, 2002 5:38:03 PM EDT> <Error> <XML> <Failed to parse given XML
document. Failed to retrieve SYSTEM id. The root element is required
in a well-formed document.>
<Oct 17, 2002 5:38:03 PM EDT> <Error> <XML> <Failed to open XML
document. Failed to retrieve root tag. Stream closed>
<Oct 17, 2002 5:38:03 PM EDT> <Error> <XML> <Could not instantiate
factory class specified in the Server console. Invalid parameters: at
least one of publicId,systemId, rootTag must be non-null>
The IOException looks like:
"java.io.IOException: Stream closed
at java.io.BufferedInputStream.ensureOpen(BufferedInputStream.java:118)
at java.io.BufferedInputStream.read(BufferedInputStream.java:268)
at weblogic.apache.xerces.utils.ChunkyByteArray.fill(ChunkyByteArray.java:230)
at weblogic.apache.xerces.utils.ChunkyByteArray.<init>(ChunkyByteArray.java:106)
at weblogic.apache.xerces.readers.DefaultReaderFactory.createReader(DefaultReaderFactory.java:153)
at weblogic.apache.xerces.readers.DefaultEntityHandler.startReadingFromDocument(DefaultEntityHandler.java:499)
at weblogic.apache.xerces.framework.XMLParser.parseSomeSetup(XMLParser.java:318)
at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:974)
at weblogic.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:183)
at weblogic.xml.jaxp.RegistryDocumentBuilder.parse(RegistryDocumentBuilder.java:140)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:86)
at com.isone.sms.participant.contracts.web.WebLogicParserContainerTest.testWebLogicParserTanksOnEmptyStream(WebLogicParserContainerTest.java:448)
at java.lang.reflect.Method.invoke(Native Method)
at junit.framework.TestCase.runTest(TestCase.java:166)
at junit.framework.TestCase.runBare(TestCase.java:140)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:131)
at junit.framework.TestSuite.runTest(TestSuite.java:173)
at junit.framework.TestSuite.run(TestSuite.java:168)
at com.isone.sms.participant.contracts.web.ContractTestServlet.doPost(ContractTestServlet.java:23)
at com.isone.sms.participant.contracts.web.ContractTestServlet.doGet(ContractTestServlet.java:16)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2546)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2260)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)"
Judging from the IOException, it looks as though WebLogic's wrapper
parser, RegistryDocumentBuilder, successfully picked a real parser to
do its work and is passing off the input to be parsed there, even
though the input's already closed. Perhaps the
RegistryDocumentBuilder silently screwed up the stream while trying to
figure out what parser to use, but didn't take that into account
before attempting to pass it off for parsing. Perhaps the error
messages on System.out account for when RegistryDocumentBuilder is
screwing up the stream.
But if RegistryDocumentBuilder discovers that the stream can't be
parsed, why can't it simply report a fatal error and stop before
starting the real parser?
Mainly I wanted to put this experience up here on a newsgroup because
I was so surprised that nobody else had reported similar problems. It
makes me doubt whether our applications are handling the XML parsing
correctly. But I can't see any other way that makes sense. Please
let me know what you think!
Thanks,
Jim
Hi,
I got this error when i used JRUN as plugin server through
Ineternet Information Server. but it was working fine when used it
as standalone server.
The reason was beacuase, the inputstream was getting closed . when i removed it, it started working.
(To be frank , the Inputstream was closed by XML DOM PARSER , which is third party component.)
and believe that your case is also the same ....
If you have doubt on that then see that configuration for proxies under your webservers config files
best of luck
LOkesh T.C
Similar Messages
-
I Can't stop weblogic server in bea workspace studio
Hi,
I can't stop weblogic server with eclipse stop button (just throw me a timeout), only can I do is killing the java.exe process or run stopWeblogic.exe.
How can i solve this bug??
Thanks a lot.
Edited by: user3023949 on 27-mar-2009 5:59Hi,
I can't stop weblogic server with eclipse stop button (just throw me a timeout), only can I do is killing the java.exe process or run stopWeblogic.exe.
How can i solve this bug??
Thanks a lot.
Edited by: user3023949 on 27-mar-2009 5:59 -
Why the weblogic server 8.1.4 throws NullPoniterException?
Recently my weblogic server 8.1.4 throws the exception as follows:
java.lang.NullPointerException
at org.apache.struts.action.RequestProcessor.getServletContext(RequestPr
ocessor.java:1136)
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.
java:1062)
at org.apache.struts.action.RequestProcessor.processForwardConfig(Reques
tProcessor.java:455)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
va:279)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:148
2)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
(ServletStubImpl.java:1053)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:387)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:27)
at com.whir.common.util.SetCharacterEncodingFilter.doFilter(SetCharacter
EncodingFilter.java:93)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:27)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:6316)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:317)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
After the exception is thrown, the weblogic server 8.1.1 can't work normally. How can I deal with this problem?Alright Now I have only a copy of Weblogic 8.1.4.
So now what I am doing now is, I'm currently download 10.3.3 Server and installed it onto my pc.
Which means to say I will have 2 different version of server on one PC.
Is it possible for my to run these 2 different version server on one PC? -
Application Migration from JBOSS to Weblogic Server
Hi,
I am facing lots of issues while deploying an .ear file on Weblogic server. In the JBOSS server the application is working properly but whenever I am trying to deploy it on Weblogic server its throwing me an error stating :
"ERROR: No j2ee modules detected in EAR archive. Deployment aborted. "
I tried to convert the things to .war file and tried to deploy the application, the application got deployed but its throwing 'exception'.
Please revert me back with some solution.
Thanks
TrishulIs this forum about Jboss?
Is it about Weblogic?
If so, why do you put a question about a non-Oracle non-database product in a forum on Oracle Database?
Sybrand Bakker
Senior Oracle DBA -
EXCEPTION in deploying ear file on weblogic server 11g
Hi, I am trying to deploy an ear file on the weblogic server 11g(10.3.5) application installed successfully but when i tried to start application to listen service requests its throws exceptions and application state changed from prepared to failed
I have unchecked the check box Auto generate and synchronize weblogic JDBC descriptors during deployment in application properties under the deployment node. I also have created same jdbc datasource with name Connection1 and JINDI name jdbc/Connection1 on my weblogic server.
Exceptions that application throwing are.
Message icon - Error weblogic.common.ResourceException: java.security.PrivilegedActionException: weblogic.common.ResourceException: java.security.PrivilegedActionException: weblogic.common.ResourceException: No credential mapper entry found for password indirection user=hr for data source Connection1
But when I tried to deploy this from jdeveloper deployment console directly on the server it deployed successfully and starts listening requests.
please give me solution of this problem.
Thanks in advance
Edited by: Rao on Nov 29, 2012 10:22 AM
Edited by: Rao on Nov 29, 2012 10:23 AMI have resolved this exception. Exception occur due wrong settings in weblogig_Application.xml file remove Data source information from this file and provide datasource on weblogic server.
-
How to deploy a war file on Weblogic Server 7.0??
Hello Everyone
I am trying to deploy a servlet on Weblogic Server 7.0 as a WAR file. Can anyone of u plz tell me the steps required to do that. I am posting this question on EJb forum and not on servlets coz this is not a servlet problem, rather this is something which is related to J2EE, ie how to deploy a war file on J2EE Server.
This is how i have done it, but this is not working---
(1) First i created a directory structure for the web application according to J2EE Specification.
C:\Work\
myServletWAR\
META-INF\
WEB-INF\
classes\
HelloServlet.class
web.xml
i.e within work directory, there is a dic called myServletWAR which is my application directory which contains 2 sub directories viz META-INF which contains the mainifest file being generated by the jar utility. the second directory in the myServletWAR application dir is WEB-INF, which contains one file called web.xml for servlet mapping and one directory classes which contains HelloServlet.class
(2) I used following command for creating war file from myServletWAR director(i.e from my web application's directory).
jar -cvf TestServletWAR.war .
This creates the TestServletWAR.war file in myServletWAR dir.
Here is how my Servlet and web.xml looks like...
Servlet code
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class HelloServlet extends HttpServlet
public void doPost ( HttpServletRequest req, HttpServletResponse res )
throws IOException, ServletException
doGet( req, res );
public void doGet ( HttpServletRequest req, HttpServletResponse res )
throws IOException, ServletException
res.setContentType( "text/html" ); // Can also use "text/plain" or others.
PrintWriter out = res.getWriter();
// Get the requestor's IP address (See JavaDocs to see how to get other info):
String addr = req.getRemoteAddr();
// Create output (the response):
out.println( "<HTML><HEAD><TITLE>HelloServlet in myServletWAR</TITLE></HEAD>" );
out.println( "<BODY><H1 ALIGN=\"CENTER\">" );
out.println( "Hello " + addr + ", from HelloServlet in myServletWAR!" );
out.println( "</H1></BODY></HTML>" );
out.close();
************************Servlet Ends Here **************************
web.xml
---------------------------------------------------------- <!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<web-app>
<display-name>myServletWAR, a first Web Application</display-name>
<description>
This is a simple web application containing a single servlet
of the "Hello, World" variety.
</description>
<servlet>
<servlet-name>myHello</servlet-name>
<servlet-class>HelloServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>myHello</servlet-name>
<url-pattern>/myHello</url-pattern>
</servlet-mapping>
</web-app>
****************************web.xml file ends here********************
After deploying the TestServletWAR.war file on the weblogic 7.0, i tried to execute the servlet from the browser by the following URL
http://localhost:7001/myServletWAR/myHello
I am getting the HTTP 404 Error, which is an indication that weblogic was unable to find the resourse, which it was requested for. Can anybody plz tell me what i m doing worng?? do i need to use weblogic related xml file (i.e weblogic.xml) also along with web.xml. If yes, then what all i need to include that. I m not very sure. A sample weblogic.xml file for this HelloWorld example will help me a lot.
Looking forward for your help
Thanx in advance
Nishahi i have read ur answer regarding deploing a servlet in weblogic 7.0
i am facing another problem
when i try to access the servlet inside my classes directory it throwa an error stating this :
IT DOES NOT FOUND THE CLASSES ON WHICH MY SERVLET DEPENDS.WHAT DOEES ATHIS MEAN
KINDLY TELL ME
PUNEET JAIN
<May 28, 2003 1:46:25 PM IST> <Error> <HTTP> <101250> <[ServletContext(id=6057728,name=WebApp,context-path=/WebApp)]: Se
rvlet class myclasses.Wservlet for servlet welcome could not be loaded because a class on which it depends was not found
in the classpath D:\bea\user_projects\PuneetDomain\applications\WebApp;D:\bea\user_projects\PuneetDomain\applications\W
ebApp\WEB-INF\classes.
java.lang.NoClassDefFoundError: myclasses/Wservlet (wrong name: Wservlet)>
<May 28, 2003 1:46:26 PM IST> <Error> <HTTP> <101018> <[ServletContext(id=6057728,name=WebApp,context-path=/WebApp)] Ser
vlet failed with ServletException
javax.servlet.ServletException: [ServletContext(id=6057728,name=WebApp,context-path=/WebApp)]: Servlet class myclasses.W
servlet for servlet welcome could not be loaded because a class on which it depends was not found in the classpath D:\be
a\user_projects\PuneetDomain\applications\WebApp;D:\bea\user_projects\PuneetDomain\applications\WebApp\WEB-INF\classes.
java.lang.NoClassDefFoundError: myclasses/Wservlet (wrong name: Wservlet)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:791)
at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:517)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:351)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5412)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:744)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3086)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2544)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
> -
Error while starting Integrated Weblogic Server - Jdeveloper 11.1.1.4
I installed Jdevloper 11.1.1.4, and getting the below error while starting Integrated Weblogic Server:
[Waiting for the domain to finish building...]
[05:13:34 PM] Creating Integrated Weblogic domain...
The Server Instance cannot be started because the Integrated Weblogic domain was not built successfully.
[05:14:53 PM] Error processing Integrated Weblogic domain:
I've checked for log files under my "C:\Documents and Settings\pramod.gujjeti\Application Data\JDeveloper\system11.1.1.4.37.59.23" directory but no error/exception is traced.
Then I tried the below:
Run from command line:
F:\Oracle\Middleware\oracle_common\common\bin\wlst.cmd "C:\Documents and Settings\pramod.gujjeti\Application Data\JDeveloper\system11.1.1.4.37.59.23\o.j2ee.adrs\CreateDefaultDomain.py"
" from DOS prompt I got "Error: ADRS_DOMAIN_PASSWORD environment variable not set."
After I set ADRS_DOMAIN_PASSWORD environment variable (value is weblogic1) the command line is throwing:
C:\Documents and Settings\pramod.gujjeti>F:\Oracle\Middleware\oracle_common\common\bin\wlst.cmd "C:\Documents and Settings\pramod.gujjeti\Application Data\JDeveloper\sy
stem11.1.1.4.37.59.23\o.j2ee.adrs\CreateDefaultDomain.py"
CLASSPATH=F:\Oracle\Middleware\patch_wls1034\profiles\default\sys_manifest_classpath\weblogic_patch.jar;F:\Oracle\Middleware\patch_jdev1111\profiles\default\sys_manifes
t_classpath\weblogic_patch.jar;F:\Oracle\Middleware\jdk160_21\lib\tools.jar;F:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic_sp.jar;F:\Oracle\Middleware\wlserver_
10.3\server\lib\weblogic.jar;F:\Oracle\Middleware\modules\features\weblogic.server.modules_10.3.4.0.jar;F:\Oracle\Middleware\wlserver_10.3\server\lib\webservices.jar;F:
\Oracle\Middleware\modules\org.apache.ant_1.7.1/lib/ant-all.jar;F:\Oracle\Middleware\modules\net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar;;F:\Oracle\Middleware\o
racle_common/modules/oracle.jrf_11.1.1/jrf-wlstman.jar;F:\Oracle\Middleware\oracle_common\common\wlst\lib\adf-share-mbeans-wlst.jar;F:\Oracle\Middleware\oracle_common\c
ommon\wlst\lib\adfscripting.jar;F:\Oracle\Middleware\oracle_common\common\wlst\lib\mdswlst.jar;F:\Oracle\Middleware\oracle_common\common\wlst\resources\auditwlst.jar;F:
\Oracle\Middleware\oracle_common\common\wlst\resources\igfwlsthelp.jar;F:\Oracle\Middleware\oracle_common\common\wlst\resources\jps-wlst.jar;F:\Oracle\Middleware\oracle
_common\common\wlst\resources\jrf-wlst.jar;F:\Oracle\Middleware\oracle_common\common\wlst\resources\oamap_help.jar;F:\Oracle\Middleware\oracle_common\common\wlst\resour
ces\oamAuthnProvider.jar;F:\Oracle\Middleware\oracle_common\common\wlst\resources\ossoiap.jar;F:\Oracle\Middleware\oracle_common\common\wlst\resources\ossoiap_help.jar;
F:\Oracle\Middleware\oracle_common\common\wlst\resources\ovdwlsthelp.jar;F:\Oracle\Middleware\oracle_common\common\wlst\resources\sslconfigwlst.jar;F:\Oracle\Middleware
\oracle_common\common\wlst\resources\wsm-wlst.jar
PATH=F:\Oracle\Middleware\patch_wls1034\profiles\default\native;F:\Oracle\Middleware\patch_jdev1111\profiles\default\native;F:\Oracle\Middleware\wlserver_10.3\server\na
tive\win\32;F:\Oracle\Middleware\wlserver_10.3\server\bin;F:\Oracle\Middleware\modules\org.apache.ant_1.7.1\bin;F:\Oracle\Middleware\jdk160_21\jre\bin;F:\Oracle\Middlew
are\jdk160_21\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;F:\Oracle\Middleware\wlserver_10.3\server\native\win\32\oci920_8
Your environment has been set.
CLASSPATH=F:\Oracle\Middleware\patch_wls1034\profiles\default\sys_manifest_classpath\weblogic_patch.jar;F:\Oracle\Middleware\patch_jdev1111\profiles\default\sys_manifes
t_classpath\weblogic_patch.jar;F:\Oracle\Middleware\jdk160_21\lib\tools.jar;F:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic_sp.jar;F:\Oracle\Middleware\wlserver_
10.3\server\lib\weblogic.jar;F:\Oracle\Middleware\modules\features\weblogic.server.modules_10.3.4.0.jar;F:\Oracle\Middleware\wlserver_10.3\server\lib\webservices.jar;F:
\Oracle\Middleware\modules\org.apache.ant_1.7.1/lib/ant-all.jar;F:\Oracle\Middleware\modules\net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar;;F:\Oracle\Middleware\o
racle_common/modules/oracle.jrf_11.1.1/jrf-wlstman.jar;F:\Oracle\Middleware\oracle_common\common\wlst\lib\adf-share-mbeans-wlst.jar;F:\Oracle\Middleware\oracle_common\c
ommon\wlst\lib\adfscripting.jar;F:\Oracle\Middleware\oracle_common\common\wlst\lib\mdswlst.jar;F:\Oracle\Middleware\oracle_common\common\wlst\resources\auditwlst.jar;F:
\Oracle\Middleware\oracle_common\common\wlst\resources\igfwlsthelp.jar;F:\Oracle\Middleware\oracle_common\common\wlst\resources\jps-wlst.jar;F:\Oracle\Middleware\oracle
_common\common\wlst\resources\jrf-wlst.jar;F:\Oracle\Middleware\oracle_common\common\wlst\resources\oamap_help.jar;F:\Oracle\Middleware\oracle_common\common\wlst\resour
ces\oamAuthnProvider.jar;F:\Oracle\Middleware\oracle_common\common\wlst\resources\ossoiap.jar;F:\Oracle\Middleware\oracle_common\common\wlst\resources\ossoiap_help.jar;
F:\Oracle\Middleware\oracle_common\common\wlst\resources\ovdwlsthelp.jar;F:\Oracle\Middleware\oracle_common\common\wlst\resources\sslconfigwlst.jar;F:\Oracle\Middleware
\oracle_common\common\wlst\resources\wsm-wlst.jar;F:\Oracle\Middleware\utils\config\10.3\config-launch.jar;F:\Oracle\Middleware\wlserver_10.3\common\derby\lib\derbynet.
jar;F:\Oracle\Middleware\wlserver_10.3\common\derby\lib\derbyclient.jar;F:\Oracle\Middleware\wlserver_10.3\common\derby\lib\derbytools.jar;;
Initializing WebLogic Scripting Tool (WLST) ...
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
Creating Default Domain
Reading template: /F:/Oracle/Middleware/wlserver_10.3/common/templates/domains/wls.jar
Setting Name to 'DefaultServer'
Setting ListenAddress to ''
Setting ListenPort to 7101
Setting domain administrator to 'weblogic'
Setting domain password.
Writing domain: /C:/Documents and Settings/pramod.gujjeti/Application Data/JDeveloper/system11.1.1.4.37.59.23/DefaultDomain/
Closing template.
Reading domain: /C:/Documents and Settings/pramod.gujjeti/Application Data/JDeveloper/system11.1.1.4.37.59.23/DefaultDomain/
Adding domain extension template: /F:/Oracle/Middleware/jdeveloper/common/templates/jdeveloper/adrs_template.jar
Adding domain extension template: /F:/Oracle/Middleware/jdeveloper/common/templates/domains/jsf_template_1.2.9.0.jar
Adding domain extension template: /F:/Oracle/Middleware/oracle_common/common/templates/applications/jrf_template_11.1.1.jar
Error: addTemplate() failed. Do dumpStack() to see details.
Problem invoking WLST - Traceback (innermost last):
File "C:\Documents and Settings\pramod.gujjeti\Application Data\JDeveloper\system11.1.1.4.37.59.23\o.j2ee.adrs\CreateDefaultDomain.py", line 100, in ?
File "C:\Documents and Settings\pramod.gujjeti\Local Settings\Temp\WLSTOfflineIni5328235009276840957.py", line 89, in addTemplate
at com.oracle.cie.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:51)
at com.oracle.cie.domain.script.jython.WLScriptContext.handleException(WLScriptContext.java:1538)
at com.oracle.cie.domain.script.jython.WLScriptContext.addTemplate(WLScriptContext.java:420)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.ScriptException: com.oracle.cie.domai
n.ConfigGroupsException: Multiple definitions of server-group JRF-ADMIN-SVR are not allowed
C:\Documents and Settings\pramod.gujjeti>
Appreciate your help in advance!
Thanks,
Pramod GujjetiI could see no helpful resolution of the issue in the mentioned thread. Please let me know if I'm missing anything!
-
Weblogic Server 9.2 - JMS File Store not working as expected.
Hi,
I am facing a problem at the server startup possibly due to huge size of the JMS File Store created.
My question is that our application receives messages via MDB (container managed),
Even after successfully processing the message, the message which is logged in the File Store is not deleted.
How can i make sure that a message which is successfully processed is not logged in the file store?
(considering container managed transactions do not require acknowledgement-mode set in the descriptor, altough i have it specified)
Find the the stack trace on the server log below:
####<Dec 10, 2008 11:45:30 AM CST> <Error> <JMS> <xlqwls01> <ACSServer1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tu
ning)'> <<WLS Kernel>> <> <> <1228931130485> <BEA-040123> <Failed to start JMS Server "SDBJMSServer1" due to weblogic.jms.common.JMSException: web
logic.messaging.kernel.KernelException: Unexpected store exception in messaging kernel recovery.
weblogic.jms.common.JMSException: weblogic.messaging.kernel.KernelException: Unexpected store exception in messaging kernel recovery
at weblogic.jms.backend.BackEnd.open(BackEnd.java:963)
at weblogic.jms.deployer.BEAdminHandler.activate(BEAdminHandler.java:180)
at weblogic.management.utils.GenericManagedService.activateDeployment(GenericManagedService.java:237)
at weblogic.management.utils.GenericServiceManager.activateDeployment(GenericServiceManager.java:131)
at weblogic.management.internal.DeploymentHandlerHome.invokeHandlers(DeploymentHandlerHome.java:589)
at weblogic.management.internal.DeploymentHandlerHome.activateInitialDeployments(DeploymentHandlerHome.java:450)
at weblogic.management.internal.DeploymentHandlerHome.activateInitialDeployments(DeploymentHandlerHome.java:430)
at weblogic.management.deploy.internal.DeploymentAdapter$2.doPrepare(DeploymentAdapter.java:100)
at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:177)
at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
weblogic.messaging.kernel.KernelException: Unexpected store exception in messaging kernel recovery
at weblogic.messaging.kernel.internal.PersistenceImpl.recover(PersistenceImpl.java:839)
at weblogic.messaging.kernel.internal.KernelImpl.open(KernelImpl.java:235)
at weblogic.jms.backend.BackEnd.open(BackEnd.java:961)
at weblogic.jms.deployer.BEAdminHandler.activate(BEAdminHandler.java:180)
at weblogic.management.utils.GenericManagedService.activateDeployment(GenericManagedService.java:237)
at weblogic.management.utils.GenericServiceManager.activateDeployment(GenericServiceManager.java:131)
at weblogic.management.internal.DeploymentHandlerHome.invokeHandlers(DeploymentHandlerHome.java:589)
at weblogic.management.internal.DeploymentHandlerHome.activateInitialDeployments(DeploymentHandlerHome.java:450)
at weblogic.management.internal.DeploymentHandlerHome.activateInitialDeployments(DeploymentHandlerHome.java:430)
at weblogic.management.deploy.internal.DeploymentAdapter$2.doPrepare(DeploymentAdapter.java:100)
at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:177)
at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
weblogic.store.PersistentStoreException: [Store:280020]There was an error while reading from the log file
at weblogic.store.io.file.Heap.read(Heap.java:648)
at weblogic.store.io.file.FileStoreIO.readInternal(FileStoreIO.java:224)
at weblogic.store.io.file.FileStoreIO.access$000(FileStoreIO.java:31)
at weblogic.store.io.file.FileStoreIO$Cursor.nextInternal(FileStoreIO.java:573)
at weblogic.store.io.file.FileStoreIO$Cursor.next(FileStoreIO.java:547)
at weblogic.store.internal.PersistentStoreConnectionImpl$CursorImpl.next(PersistentStoreConnectionImpl.java:266)
at weblogic.messaging.kernel.internal.PersistenceImpl.recoverHeaders(PersistenceImpl.java:1148)
at weblogic.messaging.kernel.internal.PersistenceImpl.recover(PersistenceImpl.java:814)
at weblogic.messaging.kernel.internal.KernelImpl.open(KernelImpl.java:235)
at weblogic.jms.backend.BackEnd.open(BackEnd.java:961)
at weblogic.jms.deployer.BEAdminHandler.activate(BEAdminHandler.java:180)
at weblogic.management.utils.GenericManagedService.activateDeployment(GenericManagedService.java:237)
at weblogic.management.utils.GenericServiceManager.activateDeployment(GenericServiceManager.java:131)
at weblogic.management.internal.DeploymentHandlerHome.invokeHandlers(DeploymentHandlerHome.java:589)
at weblogic.management.internal.DeploymentHandlerHome.activateInitialDeployments(DeploymentHandlerHome.java:450)
at weblogic.management.internal.DeploymentHandlerHome.activateInitialDeployments(DeploymentHandlerHome.java:430)
at weblogic.management.deploy.internal.DeploymentAdapter$2.doPrepare(DeploymentAdapter.java:100)
at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:177)
at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
java.io.IOException: Error reading from file, No such file or directory, errno=2
at weblogic.store.io.file.direct.DirectIONative.read(Native Method)
at weblogic.store.io.file.direct.DirectFileChannel.read(DirectFileChannel.java:133)
at weblogic.store.io.file.StoreFile.read(StoreFile.java:281)
at weblogic.store.io.file.Heap.read(Heap.java:646)
at weblogic.store.io.file.FileStoreIO.readInternal(FileStoreIO.java:224)
at weblogic.store.io.file.FileStoreIO.access$000(FileStoreIO.java:31)
at weblogic.store.io.file.FileStoreIO$Cursor.nextInternal(FileStoreIO.java:573)
at weblogic.store.io.file.FileStoreIO$Cursor.next(FileStoreIO.java:547)
at weblogic.store.internal.PersistentStoreConnectionImpl$CursorImpl.next(PersistentStoreConnectionImpl.java:266)
at weblogic.messaging.kernel.internal.PersistenceImpl.recoverHeaders(PersistenceImpl.java:1148)
at weblogic.messaging.kernel.internal.PersistenceImpl.recover(PersistenceImpl.java:814)
at weblogic.messaging.kernel.internal.KernelImpl.open(KernelImpl.java:235)
at weblogic.jms.backend.BackEnd.open(BackEnd.java:961)
at weblogic.jms.deployer.BEAdminHandler.activate(BEAdminHandler.java:180)
at weblogic.management.utils.GenericManagedService.activateDeployment(GenericManagedService.java:237)
at weblogic.management.utils.GenericServiceManager.activateDeployment(GenericServiceManager.java:131)
at weblogic.management.internal.DeploymentHandlerHome.invokeHandlers(DeploymentHandlerHome.java:589)
at weblogic.management.internal.DeploymentHandlerHome.activateInitialDeployments(DeploymentHandlerHome.java:450)
at weblogic.management.internal.DeploymentHandlerHome.activateInitialDeployments(DeploymentHandlerHome.java:430)
at weblogic.management.deploy.internal.DeploymentAdapter$2.doPrepare(DeploymentAdapter.java:100)
at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:177)
at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
Edited by: user5823244 on Dec 14, 2008 2:59 AMHi,
It seems there are two problems going on here:
(1) Forceful shutdowns should not (must not) normally corrupt the file store. There may be a bug in WL, or it may be the admin is arbitrarily deleting some file store files while leaving others in place (not supported).
(2) "Even after successfully processing the message, the message which is logged in the File Store is not deleted."
This is a strong indicator that there's an application error and the message is not actually getting deleted. The file store size is proportional to the number of current messages (successfully processing/acknowledging/committing a received message frees space for new messages), and is not proportional to the number of successfully processed messages.
I think it's likely that the application isn't actually successfully processing the message but is instead receiving a message somehow and is either:
(A) throwing an exception from within an XA-or-non-XA-MDB or auto-ack-onMessage() and somehow forcing the message into a state where its not being redelivered for reprocessing
(B) specifying a transacted session and failing to call session.commit()
(C) specifying an XA transaction capable receive and failing to call commit
(D) specifying a "client acknowledge" mode and failing to call acknowledge .
For evidence, check the console statistics for the destination after "successfully processing" all sent messages: the value of "current" + "pending" should be zero once all processing completes, the value of "received (aka total)" should match the sent message count. If the "current" + "pending" value is non-zero, then this is an indication there are messages that were not successfully processed.
Tom Barnes
WebLogic Server Messaging Developer Team -
Configuring file realm in weblogic server 9.2
Hi,
I am trying to upgrade my application from weblogic 6.1 to weblogic 9.2 and I am using compatibility security.
I have configured a RDBMS realm and then configured the caching realm giving that RDBMS realm as its Base realm.
Now since caching realm works with file realm. I have to configure this also. Now on click of file realm tab in weblogic 9.2 throws the following error.
java.lang.RuntimeException: The requested operation is not exposed through JMX in this context: equals
Caused by: java.lang.NoSuchMethodException: equals(java.lang.Object,) for com.bea:Name=CachingRealm-0,Type=CachingRealm
at weblogic.management.jmx.modelmbean.WLSModelMBean.invoke(WLSModelMBean.java:369)
at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:149)
at weblogic.management.mbeanservers.internal.SecurityMBeanMgmtOpsInterceptor.invoke(SecurityMBeanMgmtOpsInterceptor.java:63)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:149)
at weblogic.management.mbeanservers.edit.internal.EditLockInterceptor.invoke(EditLockInterceptor.java:141)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:149)
at weblogic.management.mbeanservers.internal.SecurityInterceptor.invoke(SecurityInterceptor.java:426)
at weblogic.management.mbeanservers.internal.AuthenticatedSubjectInterceptor$10.run(AuthenticatedSubjectInterceptor.java:377)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.management.mbeanservers.internal.AuthenticatedSubjectInterceptor.invoke(AuthenticatedSubjectInterceptor.java:375)
at weblogic.management.jmx.mbeanserver.WLSMBeanServer.invoke(WLSMBeanServer.java:310)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1408)
at javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java:81)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1245)
at java.security.AccessController.doPrivileged(Native Method)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1348)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:782)
at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
... 91 more
Can anyone help me out?
Thank you
Njoy
:-)You may still need to define the role in the weblogic.xml file in order for deployment descriptor-based role definition to work (alternatively you could use the WebLogic Server console to define the role and policy).
You can specify your role "testrole" as "externally-defined" as opposed to mapping it to specific principals.
See http://e-docs.bea.com/wls/docs92/webapp/weblogic_xml.html#wp1040908
Jeff -
Error while deploying application on weblogic server
Hi,
I have created webservice and deployed on weblogic server.
Earlier it was working fine. I added some logger and trying to redeploy it.
But it gives following error.
Weblogic Server Exception: java.lang.NoSuchMethodException: deploy(java.lang.String,java.lang.String,java.lang.String,weblogic.management.deploy.DeploymentData,java.lang.String,java.lang.Boolean,) for com.bea:Name=DeployerRuntime,Type=DeployerRuntime
[12:46:48 AM] See server logs or server console for more details.
[12:46:48 AM] java.lang.NoSuchMethodException: deploy(java.lang.String,java.lang.String,java.lang.String,weblogic.management.deploy.DeploymentData,java.lang.String,java.lang.Boolean,) for com.bea:Name=DeployerRuntime,Type=DeployerRuntime
[12:46:49 AM] #### Deployment incomplete. ####
[12:46:49 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
Can anybody help me out..
Thanks in advance.Hi,
I am newbie for web service Need your help.
I am having well developed webservice project with apache cxf 2.2.3 and working fine on Weblogic server 10.3
But After migration from 10.3 to 10.3.4 Facing below problem.
While calling call back service of third party it is giving warning messages like
12 Apr, 2011 5:42:36 PM weblogic.wsee.jaxws.framework.policy.advertisementimpl.AdvertisementHelperImpl registerExtension
WARNING: Registering oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry extension failed; java.lang.NoSuchMethodException: oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry*.registerSerializersAndTypes()*12 Apr, 2011 5:42:36 PM weblogic.wsee.jaxws.spi.WLSServiceDelegate addWsdlDefinitionFeature
SEVERE: Failed to create WsdlDefinitionFeature for wsdl location: http://serverName:port/WSDLURL, error: com.sun.xml.ws.wsdl.parser.InaccessibleWSDLException, message: 2 counts of InaccessibleWSDLException.
I tried Below solutions
1. I added com.oracle.ws.orawsdl_1.3.0.0.jar file in web service application provided the required clssess to resolve the issue. Now getting below exceptions
But getting Exception related org.apache.cxf.wsdl.WSDLManager as it is referenced from my beans.xml import some xml file from cxf 2.2.3.jar and due to
above jar, the WSDL4J.jar is not getting deployed and throwing getElementType() menthod not found exception while creating bean class for Webservice.
2. Now I just rename this jar file so that I can expose WSDL, But getting below exception after calling call back servic
12 Apr, 2011 5:42:36 PM weblogic.wsee.jaxws.framework.policy.advertisementimpl.AdvertisementHelperImpl registerExtension
WARNING: Registering oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry extension failed; java.lang.NoSuchMethodException: oracle.j2ee.ws.wsdl.extensions.addressing.AddressingExtensionRegistry.registerSerializersAndTypes*(com.ibm.wsdl.extensions.PopulatedExtensionRegistry)*12 Apr, 2011 5:42:36 PM weblogic.wsee.jaxws.spi.WLSServiceDelegate addWsdlDefinitionFeature
SEVERE: Failed to create WsdlDefinitionFeature for wsdl location: http://serverName:port/WSDLURL, error: com.sun.xml.ws.wsdl.parser.InaccessibleWSDLException, message: 2 counts of InaccessibleWSDLException.
After investingation I found that in cxf 2.2.3.jar there are some classes which are also present in com.oracle.ws.orawsdl_1.3.0.0.jar.
now in this case deployer is able to find out the call but signature is getting mismatch, because com.ibm.wsdl.extensions.PopulatedExtensionRegistry is referred from cxf2.2.3.jar file.
Looking for your response.
Thanks In Advance. -
Issue in starting Integrated Weblogic server
Hi All,
I created an ADF project in Jdevloper and configured JSF page in my project. When i try to run the project , it tries to start Integrated Weblogic server. And Intgrated weblogic server is not starting throwing following Error Message :
*** Using port 7101 ***
C:\Users\249103\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\bin\startWebLogic.cmd
+[waiting for the server to complete its initialization...]+
The system cannot find the path specified.
+.+
+.+
JAVA Memory arguments: -Xms256m -Xmx512m
+.+
WLS Start Mode=Development
+.+
CLASSPATH=D:\OracleOSB\Middleware\wlserver_10.3\server\ext\jdbc\oracle\11g\ojdbc6dms.jar;D:\OracleOSB\Middleware\oracle_common\modules\oracle.jrf_11.1.1\jrf.jar;D:\OracleOSB\Middleware\wlserver_10.3\server\lib\xqrl.jar
+.+
PATH=D:\OracleXE\app\oracle\product\10.2.0\server\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\
+.+
+* To start WebLogic Server, use a username and *+
+* password assigned to an admin-level user. For *+
+* server administration, use the WebLogic Server *+
+* console at http:\\hostname:port\console *+
starting weblogic with Java version:
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Oracle JRockit(R) (build R28.0.0-679-130297-1.6.0_17-20100312-2123-windows-ia32, compiled mode)
Starting WLS with line:
D:\Oracle\MIDDLE~1\JROCKI~1.0-6\bin\java -Xms256m -Xmx512m -Dweblogic.Name=DefaultServer -Djava.security.policy=D:\OracleOSB\Middleware\wlserver_10.3\server\lib\weblogic.policy -Djavax.net.ssl.trustStore=C:\Oracle\Middleware\wlserver_10.3\server\lib\DemoTrust.jks -Dweblogic.nodemanager.ServiceEnabled=true -da -Dplatform.home=D:\OracleOSB\Middleware\wlserver_10.3 -Dwls.home=D:\OracleOSB\Middleware\wlserver_10.3\server -Dweblogic.home=D:\OracleOSB\Middleware\wlserver_10.3\server -Djps.app.credential.overwrite.allowed=true -Ddomain.home=C:\Users\249103\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1 -Dcommon.components.home=D:\OracleOSB\Middleware\oracle_common -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=D:\OracleOSB\Middleware\oracle_common\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.domain.config.dir=C:\Users\249103\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1 -Doracle.server.config.dir=C:\Users\249103\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\servers\DefaultServer -Doracle.security.jps.config=C:\Users\249103\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\fmwconfig\jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Digf.arisidbeans.carmlloc=C:\Users\249103\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\carml -Digf.arisidstack.home=C:\Users\249103\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\arisidprovider -Dweblogic.alternateTypesDirectory=D:\OracleOSB\Middleware\oracle_common\modules\oracle.ossoiap_11.1.1,D:\OracleOSB\Middleware\oracle_common\modules\oracle.oamprovider_11.1.1 -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=C:\Users\249103\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\oracle\store\gmds -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= weblogic.Server
+[WARN ] Use of -Djrockit.optfile is deprecated and discouraged.+
+[ERROR][cgdir ] Could not read old style optfile from D:\OracleOSB\Middleware\oracle_common\modules\oracle.jrf_11.1.1\jrocket_optfile.txt: Could not open D:\OracleOSB\Middleware\oracle_common\modules\oracle.jrf_11.1.1\jrocket_optfile.txt+
Exception in thread "Main Thread" java.lang.NoClassDefFoundError: weblogic/Server
Caused by: java.lang.ClassNotFoundException: weblogic.Server
+ at java.net.URLClassLoader$1.run(URLClassLoader.java:200)+
+ at java.net.URLClassLoader.findClass(URLClassLoader.java:188)+
+ at java.lang.ClassLoader.loadClass(ClassLoader.java:303)+
+ at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)+
+ at java.lang.ClassLoader.loadClass(ClassLoader.java:248)+
Could not find the main class: weblogic.Server. Program will exit.
Process exited.
In the Message the CLASSPATH is D:\OracleOSB\Middleware\wlserver_10.3\server\ext\jdbc\oracle\11g\ojdbc6dms.jar;D:\OracleOSB\Middleware\oracle_common\modules\oracle.jrf_11.1.1\jrf.jar . But i dont have OracleOSB folder in my D:\ drive. I have installed Jdev in D:\Oracle\Middleware path. Can anyone suggest me how to change the CLASSPATH in my system?
Any help appreciated.Thanks in advance.
Thanks & Regards,
Ayyadurai.M
Edited by: 857005 on Feb 1, 2012 4:03 AM
Edited by: 857005 on Feb 1, 2012 4:04 AMcheck these references
http://docs.oracle.com/javase/1.3/docs/tooldocs/win32/classpath.html
http://ac-support.europe.umuc.edu/~arnoldyl/NetBeansTutorials/Setting-Classpath.html
hth,
Peter Paul -
Not able to start Integrated Weblogic server
Hi All,
I have installed Jdeveloper & Weblogic server in my system. I am able to deploy my SOA peojects in em console. But when i try to run a JSF project , it is throwing an error message like not able to start Integrated Weblogic Server. And Could not read old style optfile from D:\OracleOSB\Middleware\oracle_common\modules\oracle.jrf_11.1.1\jrocket_optfile.txt. I dont have my middleware in D:\OracleOSB\Middleware, But i have created the Middleware home in D:\Oracle\Middleware.
I reinstalled SOA sutie, Jdeveloper & Weblogic server but stilll then i am getting the same error when i try to start Integrated Weblogic server. Please find below the error message:
*** Using port 7101 ***
C:\Users\249103\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\bin\startWebLogic.cmd
[waiting for the server to complete its initialization...]
The system cannot find the path specified.
JAVA Memory arguments: -Xms256m -Xmx512m
WLS Start Mode=Development
CLASSPATH=D:\OracleOSB\Middleware\wlserver_10.3\server\ext\jdbc\oracle\11g\ojdbc6dms.jar;D:\OracleOSB\Middleware\oracle_common\modules\oracle.jrf_11.1.1\jrf.jar;D:\OracleOSB\Middleware\wlserver_10.3\server\lib\xqrl.jar
PATH=D:\OracleXE\app\oracle\product\10.2.0\server\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http:\\hostname:port\console *
starting weblogic with Java version:
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Oracle JRockit(R) (build R28.0.0-679-130297-1.6.0_17-20100312-2123-windows-ia32, compiled mode)
Starting WLS with line:
D:\Oracle\MIDDLE~1\JROCKI~1.0-6\bin\java -Xms256m -Xmx512m -Dweblogic.Name=DefaultServer -Djava.security.policy=D:\OracleOSB\Middleware\wlserver_10.3\server\lib\weblogic.policy -Djavax.net.ssl.trustStore=C:\Oracle\Middleware\wlserver_10.3\server\lib\DemoTrust.jks -Dweblogic.nodemanager.ServiceEnabled=true -da -Dplatform.home=D:\OracleOSB\Middleware\wlserver_10.3 -Dwls.home=D:\OracleOSB\Middleware\wlserver_10.3\server -Dweblogic.home=D:\OracleOSB\Middleware\wlserver_10.3\server -Djps.app.credential.overwrite.allowed=true -Ddomain.home=C:\Users\249103\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1 -Dcommon.components.home=D:\OracleOSB\Middleware\oracle_common -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=D:\OracleOSB\Middleware\oracle_common\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.domain.config.dir=C:\Users\249103\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1 -Doracle.server.config.dir=C:\Users\249103\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\servers\DefaultServer -Doracle.security.jps.config=C:\Users\249103\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\fmwconfig\jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Digf.arisidbeans.carmlloc=C:\Users\249103\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\carml -Digf.arisidstack.home=C:\Users\249103\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\arisidprovider -Dweblogic.alternateTypesDirectory=D:\OracleOSB\Middleware\oracle_common\modules\oracle.ossoiap_11.1.1,D:\OracleOSB\Middleware\oracle_common\modules\oracle.oamprovider_11.1.1 -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=C:\Users\249103\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\oracle\store\gmds -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= weblogic.Server
[WARN ] Use of -Djrockit.optfile is deprecated and discouraged.
[ERROR][cgdir ] Could not read old style optfile from D:\OracleOSB\Middleware\oracle_common\modules\oracle.jrf_11.1.1\jrocket_optfile.txt: Could not open D:\OracleOSB\Middleware\oracle_common\modules\oracle.jrf_11.1.1\jrocket_optfile.txt
Exception in thread "Main Thread" java.lang.NoClassDefFoundError: weblogic/Server
Caused by: java.lang.ClassNotFoundException: weblogic.Server
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: weblogic.Server. Program will exit.
Process exited.
Can anyone help me to overcome this issue.
thanks in advance.Try checking the "C:\Users\249103\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\bin\startWebLogic.cmd" startup file. It seems containing old references to D:\OracleOSB instead of D:\Oracle ...
-
Unable to uninstall Weblogic server from windows 7 64 bit machine
I am trying to uninstall weblogic server 10.3.6 from my local windows 7 machine and i am getting a crash when I click on uninstall button or from command prompt.
Error:
# A fatal error has been detected by the Java Runtime Environment:
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000007714ec75, pid=6384, tid=7004
# JRE version: 7.0_01-b08
# Java VM: Java HotSpot(TM) 64-Bit Server VM (21.1-b02 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C [ntdll.dll+0x4ec75]
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
--------------- T H R E A D ---------------
Current thread (0x0000000007af1800): JavaThread "AWT-EventQueue-0" [_thread_in_Java, id=7004, stack(0x000000000a800000,0x000000000a900000)]
siginfo: ExceptionCode=0xc0000005, reading address 0xffffffffffffffff
Registers:
RAX=0x000000000a8fd548, RBX=0x0000000000000002, RCX=0x000000000a8fd618, RDX=0x000000000a8fd588
RSP=0x000000000a8fd538, RBP=0x000007fee8881bf0, RSI=0x0000000000000020, RDI=0x0000000000000000
R8 =0x000000000a8f5000, R9 =0x0000000000000003, R10=0x0000000000000000, R11=0x000000000000a2d6
R12=0x0000000000000000, R13=0x0000000000000050, R14=0x0000000000000003, R15=0x0000000007af1800
RIP=0x000000007714ec75, EFLAGS=0x0000000000010202
Top of Stack: (sp=0x000000000a8fd538)
0x000000000a8fd538: 0000000000000202 0000000077107549
0x000000000a8fd548: 000007fffff92000 0000000000000000
0x000000000a8fd558: 0000000007af1801 000000000804ade0
0x000000000a8fd568: 00000000593bac48 000000000b92f340
0x000000000a8fd578: 00000000eb6c2c58 0000000000000051
0x000000000a8fd588: 000000000a900000 000000000a8f5000
0x000000000a8fd598: 0000000000000000 000000000a8fd750
0x000000000a8fd5a8: 00000000029b26fa 0000000000000008
0x000000000a8fd5b8: 000000000b902270 000000000a8fddb0
0x000000000a8fd5c8: 00000000029d743a 00000000029d73d0
0x000000000a8fd5d8: 0000000000000000 0000000000000000
0x000000000a8fd5e8: 000000000a8fddb0 00000001eaf0b258
0x000000000a8fd5f8: 000000000b9022c0 000000000a8fde20
0x000000000a8fd608: 00000000029a6330 00000000029a5350
0x000000000a8fd618: 0000000000000000 00000000fb03fe30
0x000000000a8fd628: 000000000a8fde20 000000000a8fde20
Instructions: (pc=0x000000007714ec75)
0x000000007714ec55: d0 00 00 00 4c 89 a1 d8 00 00 00 4c 89 a9 e0 00
0x000000007714ec65: 00 00 4c 89 b1 e8 00 00 00 4c 89 b9 f0 00 00 00
0x000000007714ec75: 0f ae 81 00 01 00 00 0f 29 81 a0 01 00 00 0f 29
0x000000007714ec85: 89 b0 01 00 00 0f 29 91 c0 01 00 00 0f 29 99 d0
Register to memory mapping:
RAX=0x000000000a8fd548 is pointing into the stack for thread: 0x0000000007af1800
RBX=0x0000000000000002 is an unknown value
RCX=0x000000000a8fd618 is pointing into the stack for thread: 0x0000000007af1800
RDX=0x000000000a8fd588 is pointing into the stack for thread: 0x0000000007af1800
RSP=0x000000000a8fd538 is pointing into the stack for thread: 0x0000000007af1800
RBP=0x000007fee8881bf0 is an unknown value
RSI=0x0000000000000020 is an unknown value
RDI=0x0000000000000000 is an unknown value
R8 =0x000000000a8f5000 is pointing into the stack for thread: 0x0000000007af1800
R9 =0x0000000000000003 is an unknown value
R10=0x0000000000000000 is an unknown value
R11=0x000000000000a2d6 is an unknown value
R12=0x0000000000000000 is an unknown value
R13=0x0000000000000050 is an unknown value
R14=0x0000000000000003 is an unknown value
R15=0x0000000007af1800 is a thread
Stack: [0x000000000a800000,0x000000000a900000], sp=0x000000000a8fd538, free space=1013k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [ntdll.dll+0x4ec75] RtlCaptureContext+0x85
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
v blob 0x00000000029d74ff
j java.lang.String.equals(Ljava/lang/Object;)Z+8
j javax.swing.ArrayTable.get(Ljava/lang/Object;)Ljava/lang/Object;+44
j javax.swing.JComponent.getClientProperty(Ljava/lang/Object;)Ljava/lang/Object;+45
j sun.swing.SwingUtilities2.stringWidth(Ljavax/swing/JComponent;Ljava/awt/FontMetrics;Ljava/lang/String;)I+23
j javax.swing.SwingUtilities.layoutCompoundLabelImpl(Ljavax/swing/JComponent;Ljava/awt/FontMetrics;Ljava/lang/String;Ljavax/swing/Icon;IIIILjava/awt/Rectangle;Ljava/awt/Rectangle;Ljava/awt/Rectangle;I)Ljava/lang/String;+197
j javax.swing.SwingUtilities.layoutCompoundLabel(Ljavax/swing/JComponent;Ljava/awt/FontMetrics;Ljava/lang/String;Ljavax/swing/Icon;IIIILjava/awt/Rectangle;Ljava/awt/Rectangle;Ljava/awt/Rectangle;I)Ljava/lang/String;+159
j javax.swing.plaf.basic.BasicGraphicsUtils.getPreferredButtonSize(Ljavax/swing/AbstractButton;I)Ljava/awt/Dimension;+102
j javax.swing.plaf.basic.BasicButtonUI.getPreferredSize(Ljavax/swing/JComponent;)Ljava/awt/Dimension;+10
j workshop.core.plaf.JbButtonUI.getPreferredSize(Ljavax/swing/JComponent;)Ljava/awt/Dimension;+21
j javax.swing.JComponent.getPreferredSize()Ljava/awt/Dimension;+26
j com.bea.plateng.common.ui.gui.GUIUtilities.sameSizeButtons([Ljavax/swing/JButton;)V+42
j com.bea.plateng.wizard.GUIContext$UpdateGUI.run()V+324
j java.awt.event.InvocationEvent.dispatch()V+47
j java.awt.EventQueue.dispatchEventImpl(Ljava/awt/AWTEvent;Ljava/lang/Object;)V+21
j java.awt.EventQueue.access$000(Ljava/awt/EventQueue;Ljava/awt/AWTEvent;Ljava/lang/Object;)V+3
j java.awt.EventQueue$3.run()Ljava/lang/Void;+12
j java.awt.EventQueue$3.run()Ljava/lang/Object;+1
v ~StubRoutines::call_stub
j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0
j java.security.ProtectionDomain$1.doIntersectionPrivilege(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/security/AccessControlContext;)Ljava/lang/Object;+28
j java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+46
j java.awt.EventDispatchThread.pumpOneEventForFilters(I)Z+245
j java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+35
j java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+11
j java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
j java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
j java.awt.EventDispatchThread.run()V+9
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x0000000007c19800 JavaThread "D3D Screen Updater" daemon [_thread_blocked, id=5980, stack(0x000000000b050000,0x000000000b150000)]
=>0x0000000007af1800 JavaThread "AWT-EventQueue-0" [_thread_in_Java, id=7004, stack(0x000000000a800000,0x000000000a900000)]
0x0000000007aef800 JavaThread "Image Fetcher 0" daemon [_thread_blocked, id=412, stack(0x000000000a620000,0x000000000a720000)]
0x0000000007a8b000 JavaThread "AWT-Windows" daemon [_thread_in_native, id=5012, stack(0x00000000084a0000,0x00000000085a0000)]
0x0000000007a8a800 JavaThread "AWT-Shutdown" [_thread_blocked, id=6776, stack(0x00000000083a0000,0x00000000084a0000)]
0x0000000007a89800 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=6912, stack(0x0000000008240000,0x0000000008340000)]
0x0000000006350800 JavaThread "Service Thread" daemon [_thread_blocked, id=5756, stack(0x0000000007230000,0x0000000007330000)]
0x000000000634f800 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=6696, stack(0x0000000006fb0000,0x00000000070b0000)]
0x0000000006346800 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=3956, stack(0x0000000007100000,0x0000000007200000)]
0x0000000006346000 JavaThread "Attach Listener" daemon [_thread_blocked, id=3888, stack(0x0000000006e60000,0x0000000006f60000)]
0x0000000006336800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=6204, stack(0x0000000006c80000,0x0000000006d80000)]
0x0000000006254000 JavaThread "Finalizer" daemon [_thread_blocked, id=5544, stack(0x0000000006920000,0x0000000006a20000)]
0x0000000006247000 JavaThread "Reference Handler" daemon [_thread_blocked, id=5128, stack(0x0000000006a50000,0x0000000006b50000)]
0x00000000026db000 JavaThread "main" [_thread_in_Java, id=4076, stack(0x00000000028a0000,0x00000000029a0000)]
Other Threads:
0x000000000623a800 VMThread [stack: 0x00000000067e0000,0x00000000068e0000] [id=4104]
0x0000000006363800 WatcherThread [stack: 0x0000000007420000,0x0000000007520000] [id=5560]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
PSYoungGen total 18496K, used 9847K [0x00000000faab0000, 0x00000000fbf50000, 0x0000000100000000)
eden space 15872K, 62% used [0x00000000faab0000,0x00000000fb44df08,0x00000000fba30000)
from space 2624K, 0% used [0x00000000fbcc0000,0x00000000fbcc0000,0x00000000fbf50000)
to space 2624K, 0% used [0x00000000fba30000,0x00000000fba30000,0x00000000fbcc0000)
PSOldGen total 42240K, used 0K [0x00000000f0000000, 0x00000000f2940000, 0x00000000faab0000)
object space 42240K, 0% used [0x00000000f0000000,0x00000000f0000000,0x00000000f2940000)
PSPermGen total 21248K, used 11043K [0x00000000eae00000, 0x00000000ec2c0000, 0x00000000f0000000)
object space 21248K, 51% used [0x00000000eae00000,0x00000000eb8c8c68,0x00000000ec2c0000)
Code Cache [0x00000000029a0000, 0x0000000002c10000, 0x00000000059a0000)
total_blobs=460 nmethods=56 adapters=356 free_code_cache=48538Kb largest_free_block=49679808
Dynamic libraries:
0x000000013fdf0000 - 0x000000013fe23000 C:\PROGRA~1\Java\JDK17~1.0_0\bin\javaw.exe
0x0000000077100000 - 0x00000000772ac000 C:\Windows\SYSTEM32\ntdll.dll
0x0000000076fe0000 - 0x00000000770ff000 C:\Windows\system32\kernel32.dll
0x000007fefd3c0000 - 0x000007fefd42c000 C:\Windows\system32\KERNELBASE.dll
0x000007feff0e0000 - 0x000007feff1bb000 C:\Windows\system32\ADVAPI32.dll
0x000007fefee80000 - 0x000007fefef1f000 C:\Windows\system32\msvcrt.dll
0x000007fefe810000 - 0x000007fefe82f000 C:\Windows\SYSTEM32\sechost.dll
0x000007fefef20000 - 0x000007feff04e000 C:\Windows\system32\RPCRT4.dll
0x0000000076ee0000 - 0x0000000076fda000 C:\Windows\system32\USER32.dll
0x000007fefebe0000 - 0x000007fefec47000 C:\Windows\system32\GDI32.dll
0x000007feff050000 - 0x000007feff05e000 C:\Windows\system32\LPK.dll
0x000007feff1c0000 - 0x000007feff28a000 C:\Windows\system32\USP10.dll
0x000007fefb9d0000 - 0x000007fefbbc4000 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7600.16661_none_fa62ad231704eab7\COMCTL32.dll
0x000007feff060000 - 0x000007feff0d1000 C:\Windows\system32\SHLWAPI.dll
0x000007fefcf30000 - 0x000007fefcf87000 C:\Windows\system32\apphelp.dll
0x000007fef0500000 - 0x000007fef055a000 C:\Windows\AppPatch\AppPatch64\AcLayers.DLL
0x000007fef7880000 - 0x000007fef78f0000 C:\Windows\system32\WINSPOOL.DRV
0x000007fef7860000 - 0x000007fef7878000 C:\Windows\system32\MPR.dll
0x000007fee8610000 - 0x000007fee8a77000 C:\Windows\AppPatch\AppPatch64\AcXtrnal.DLL
0x000007feebda0000 - 0x000007feebdf1000 C:\Windows\AppPatch\AppPatch64\AcGenral.DLL
0x000007fefcf00000 - 0x000007fefcf25000 C:\Windows\system32\SspiCli.dll
0x000007fefe480000 - 0x000007fefe682000 C:\Windows\system32\ole32.dll
0x000007fefd480000 - 0x000007fefe206000 C:\Windows\system32\SHELL32.dll
0x0000000071820000 - 0x0000000071823000 C:\Windows\system32\sfc.dll
0x000007fef8eb0000 - 0x000007fef8ec0000 C:\Windows\system32\sfc_os.DLL
0x000007fefc390000 - 0x000007fefc3ae000 C:\Windows\system32\USERENV.dll
0x000007fefd060000 - 0x000007fefd06f000 C:\Windows\system32\profapi.dll
0x000007fefb3d0000 - 0x000007fefb3e8000 C:\Windows\system32\dwmapi.dll
0x000007feff2b0000 - 0x000007feff2de000 C:\Windows\system32\IMM32.DLL
0x000007fefe210000 - 0x000007fefe319000 C:\Windows\system32\MSCTF.dll
0x000000006aa60000 - 0x000000006ab31000 C:\PROGRA~1\Java\JDK17~1.0_0\jre\bin\msvcr100.dll
0x0000000059220000 - 0x00000000598ed000 C:\PROGRA~1\Java\JDK17~1.0_0\jre\bin\server\jvm.dll
0x000007fef85b0000 - 0x000007fef85b9000 C:\Windows\system32\WSOCK32.dll
0x000007fefee30000 - 0x000007fefee7d000 C:\Windows\system32\WS2_32.dll
0x000007fefe970000 - 0x000007fefe978000 C:\Windows\system32\NSI.dll
0x000007fefad30000 - 0x000007fefad6b000 C:\Windows\system32\WINMM.dll
0x00000000772c0000 - 0x00000000772c7000 C:\Windows\system32\PSAPI.DLL
0x00000000706e0000 - 0x00000000706ef000 C:\PROGRA~1\Java\JDK17~1.0_0\jre\bin\verify.dll
0x000000006d100000 - 0x000000006d128000 C:\PROGRA~1\Java\JDK17~1.0_0\jre\bin\java.dll
0x000000006fb10000 - 0x000000006fb25000 C:\PROGRA~1\Java\JDK17~1.0_0\jre\bin\zip.dll
0x0000000060020000 - 0x00000000601b3000 C:\Program Files\Java\jdk1.7.0_01\jre\bin\awt.dll
0x000007fefe320000 - 0x000007fefe3f7000 C:\Windows\system32\OLEAUT32.dll
0x000007fefcf90000 - 0x000007fefcf9f000 C:\Windows\system32\CRYPTBASE.dll
0x000007feea6b0000 - 0x000007feea8af000 C:\Windows\system32\d3d9.dll
0x000007fefc570000 - 0x000007fefc57c000 C:\Windows\system32\VERSION.dll
0x000007fefbbe0000 - 0x000007fefbbe7000 C:\Windows\system32\d3d8thk.dll
0x000007fee7a10000 - 0x000007fee8604000 C:\Windows\system32\nvd3dumx.dll
0x000007fefbc00000 - 0x000007fefbc2c000 C:\Windows\system32\powrprof.dll
0x000007fefec50000 - 0x000007fefee27000 C:\Windows\system32\SETUPAPI.dll
0x000007fefd110000 - 0x000007fefd146000 C:\Windows\system32\CFGMGR32.dll
0x000007fefd230000 - 0x000007fefd24a000 C:\Windows\system32\DEVOBJ.dll
0x000000006f130000 - 0x000000006f164000 C:\Program Files\Java\jdk1.7.0_01\jre\bin\fontmanager.dll
0x000000006d0c0000 - 0x000000006d0f9000 C:\Program Files\Java\jdk1.7.0_01\jre\bin\kcms.dll
0x000000006ec10000 - 0x000000006ec29000 C:\Program Files\Java\jdk1.7.0_01\jre\bin\net.dll
0x000007fefc8d0000 - 0x000007fefc924000 C:\Windows\system32\mswsock.dll
0x000007fefc8c0000 - 0x000007fefc8c7000 C:\Windows\System32\wship6.dll
0x000000006aff0000 - 0x000000006b001000 C:\Program Files\Java\jdk1.7.0_01\jre\bin\nio.dll
0x000000006ac10000 - 0x000000006ac51000 C:\Program Files\Java\jdk1.7.0_01\jre\bin\t2k.dll
VM Arguments:
jvm_args: -Xmx256m -Djava.library.path=C:\Oracle\Middleware\utils\uninstall -Dhome.dir=C:\Oracle\Middleware -Dinstall.dir=
java_command: C:\Oracle\Middleware\utils\uninstall\uninstall.jar
Launcher Type: SUN_STANDARD
Environment Variables:
JAVA_HOME=C:\PROGRA~1\Java\JDK17~1.0_0
CLASSPATH=C:\Program Files (x86)\QuickTime\QTSystem\QTJava.zip;
PATH=C:\Oracle\oraclexe\app\oracle\product\11.2.0\server\bin;;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\QuickTime\QTSystem\
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 37 Stepping 5, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows Vista , 64 bit Build 6000
CPU:total 4 (2 cores per cpu, 2 threads per core) family 6 model 37 stepping 5, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, ht
Memory: 4k page, physical 4052816k(1182472k free), swap 8103732k(4659796k free)
vm_info: Java HotSpot(TM) 64-Bit Server VM (21.1-b02) for windows-amd64 JRE (1.7.0_01-b08), built on Oct 3 2011 01:39:25 by "java_re" with unknown MS VC++:1600
time: Thu Jul 26 18:28:23 2012
elapsed time: 0 seconds
Two issues now
1) How do I get rid of weblogic from my machine manually so that I can do fresh install of 10.3.5?
2) How do I confirm if it is completely removed because after doing the complete SOA suite installation process, JDeveloper throws me errors that it is not compatible with 10.3.6
Appreciate your help in this regardHi
I am glad your original issue is resolved. For this new SOA installation, you can post a new thread and preferably in SOA Forums and not here in WLS Forums for quicker response: SOA Suite
1. To begin with, looks like you have a 64 bit machine, so I would recommend first to install 64 bit JDK. Then install Weblogic using weblogic generic installer (.jar). This means if you already have WLS installed using .exe, you may have to delete that and start over.
2. Worst case even if you want to continue as it is (32 bit), the location of java is kind of not ok having a space in one of the folder names like "Program Files". And is this java installed by you or did it came with machine and if so. If came with machine it will be older version.
I would recommend, uninstall existing JDK and install fresh latest JDK in a path something like shown below that do not have any spaces:
1. C:\Oracle\Java\jdk1.6.0_24_64Bit = Will have JDK 64 bit
2. C:\Oracle\Middleware116BPM = Will have WLS 10.3.6. Here you install SOA later on
3. C:\Oracle\Middleware\Jdeveloper116 = Will have JDeveloper 11.6 installed here.
Now, coming to your actual installation error, do NOT use this command "setup -jreLoc %JAVA_HOME%". Instead just double click on Setup.exe or open a dos window, navigate to that folder and just type setup.exe. The point is do not give -jreLoc. NOW it will prompt to enter full JDK Path. Here you carefuly type full jdk path something like this "C:\Oracle\Java\jdk1.6.0_24_32Bit" (this is on my side...). It should work now.
Caution. While installing any oracle software do not use folder names with spaces. Like c:\Program Files\ etc. Spaces in folder names may be an issue. So avoid that.
Since you are starting all this fresh, I would recommend doing it in the right and correct way to avoid any future issues. It may take few hours of extra time that is totally worth.
Re: Weblogic 10.3.5 install on Windows
Thanks
Ravi Jegga -
Help ! weblogic server 5.0.1 license file parse error
I just get a weblogic server 5.0.1 evaluation version CD .After I install it on my machine(MY OS is win2000 ),I get the license key from the bea web site and copy it to "d:\weblogic\licenses" derectory ,but when I use
"java utils.showLicenses -Dweblogic.system.home=d:\weblogic
-classpath=d:\weblogic\classes ;d:\weblogic\licenses
-Dweblogic.class.path=d:\weblogic\classes"
to look the license ,it throw a exception ,like this:
weblogic.common.LicenseException:weblogic.common.CorruptException: Error parsing XML license file
this is my license key file :
<!-- Keys for version 4.0 and later -->
<WEBLOGIC-LICENSES>
<LICENSE PRODUCT="WebLogic"
IP="any" UNITS="3" EXPIRATION="07-Nov-2000"
KEY="60f3b77d6036b44cc968f1b0db87593b"
/>
<LICENSE PRODUCT="WebLogic/SSL"
IP="any" UNITS="3" EXPIRATION="07-Nov-2000"
KEY="a86b320c95ecd8d73108ac537288fa53"
/>
<LICENSE PRODUCT="jdbcKona/MSSQLServer4"
IP="any" UNITS="3" EXPIRATION="07-Nov-2000"
KEY="e658f24242058b9c72937929459e4e75"
/>
<LICENSE PRODUCT="jdbcKona/Informix4"
IP="any" UNITS="3" EXPIRATION="07-Nov-2000"
KEY="f90045487fd2c26bd5720e53599ab28a"
/>
<LICENSE PRODUCT="jdbcKona/Oracle"
IP="any" UNITS="3" EXPIRATION="07-Nov-2000"
KEY="d95225c8561ed63484bc561e0d864698"
/>
<LICENSE PRODUCT="jdbcKona/Sybase"
IP="any" UNITS="3" EXPIRATION="07-Nov-2000"
KEY="a47e9718bad8e2bf97ba6e58bb0810d4"
/>
<LICENSE PRODUCT="jdbcKona/MSSQLServer"
IP="any" UNITS="3" EXPIRATION="07-Nov-2000"
KEY="2f1664480679796de7a005a8fcc3089b"
/>
</WEBLOGIC-LICENSES>
can anyone tell me the cause ? thanks a lot !The license must be in your classpath.
Thanks,
Michael
Michael Girdley
BEA Systems Inc
"fengyanb" <[email protected]> wrote in message
news:39e3da22$[email protected]..
>
I just get a weblogic server 5.0.1 evaluation version CD .After I installit on my machine(MY OS is win2000 ),I get the license key from the bea web
site and copy it to "d:\weblogic\licenses" derectory ,but when I use
"java utils.showLicenses -Dweblogic.system.home=d:\weblogic
-classpath=d:\weblogic\classes ;d:\weblogic\licenses
-Dweblogic.class.path=d:\weblogic\classes"
to look the license ,it throw a exception ,like this:
weblogic.common.LicenseException:weblogic.common.CorruptException:Error parsing XML license file
>
this is my license key file :
<!-- Keys for version 4.0 and later -->
<WEBLOGIC-LICENSES>
<LICENSE PRODUCT="WebLogic"
IP="any" UNITS="3" EXPIRATION="07-Nov-2000"
KEY="60f3b77d6036b44cc968f1b0db87593b"
/>
<LICENSE PRODUCT="WebLogic/SSL"
IP="any" UNITS="3" EXPIRATION="07-Nov-2000"
KEY="a86b320c95ecd8d73108ac537288fa53"
/>
<LICENSE PRODUCT="jdbcKona/MSSQLServer4"
IP="any" UNITS="3" EXPIRATION="07-Nov-2000"
KEY="e658f24242058b9c72937929459e4e75"
/>
<LICENSE PRODUCT="jdbcKona/Informix4"
IP="any" UNITS="3" EXPIRATION="07-Nov-2000"
KEY="f90045487fd2c26bd5720e53599ab28a"
/>
<LICENSE PRODUCT="jdbcKona/Oracle"
IP="any" UNITS="3" EXPIRATION="07-Nov-2000"
KEY="d95225c8561ed63484bc561e0d864698"
/>
<LICENSE PRODUCT="jdbcKona/Sybase"
IP="any" UNITS="3" EXPIRATION="07-Nov-2000"
KEY="a47e9718bad8e2bf97ba6e58bb0810d4"
/>
<LICENSE PRODUCT="jdbcKona/MSSQLServer"
IP="any" UNITS="3" EXPIRATION="07-Nov-2000"
KEY="2f1664480679796de7a005a8fcc3089b"
/>
</WEBLOGIC-LICENSES>
can anyone tell me the cause ? thanks a lot ! -
How to get application's state on weblogic server using jmx.
I want to get application state using JMX, I am able to get application list, name but not able to find its state. Some code snippet mentioned below. Please let me know if I can use some other MBean
Thanks in advance..
static {
try {
service = new ObjectName("com.bea:Name=DomainRuntimeService,Type=weblogic.management.mbeanservers.domainruntime.DomainRuntimeServiceMBean");
}catch (MalformedObjectNameException e) {
throw new AssertionError(e.getMessage());
* Initialize connection to the Domain Runtime MBean Server
public static void initConnection(String hostname, String portString, String username, String password) throws IOException, MalformedURLException
String protocol = "t3";
int port = Integer.parseInt(portString);
String jndiroot = "/jndi/";
String mserver = "weblogic.management.mbeanservers.domainruntime";
JMXServiceURL serviceURL= new JMXServiceURL(protocol,hostname, port, jndiroot+mserver);
// JMXServiceURL serviceURL = new JMXServiceURL(protocol, hostname, portString, jndiroot , mserver);
Hashtable h = new Hashtable();
h.put(Context.SECURITY_PRINCIPAL, username);
h.put(Context.SECURITY_CREDENTIALS, password);
h.put(JMXConnectorFactory.PROTOCOL_PROVIDER_PACKAGES,
"weblogic.management.remote");
connector = JMXConnectorFactory.connect(serviceURL, h);
connection = connector.getMBeanServerConnection();
* Get an array of ServerRuntimeMBeans
public static ObjectName[] getServerRuntimes() throws Exception {
return (ObjectName[]) connection.getAttribute(service,
"ServerRuntimes");
* Get an array of WebAppComponentRuntimeMBeans
public void getApplicationData() throws Exception {
ObjectName[] serverRT = getServerRuntimes();
int length = (int) serverRT.length;
for (int i = 0; i < length; i++) {
ObjectName[] appRT =
(ObjectName[]) connection.getAttribute(serverRT,
"ApplicationRuntimes");
int appLength = (int) appRT.length;
for (int x = 0; x < appLength; x++) {
System.out.println("Application name: " +
(String)connection.getAttribute(appRT[x], "Name")+"Application Status"+(String)connection.getAttribute(appRT[x], "State"));
public static void main(String[] args) throws Exception {
String hostname = "*****.us.oracle.com";
String portString = "*****";
String username = "***";
String password = "****";
JMXUtil s = new JMXUtil();
initConnection(hostname, portString, username, password);
s.getApplicationData();
connector.close();register at elicense.bea.com and ask there.
but, a license is a license, as long as the ipaddr is not restricted.
Wayne
Bora wrote:
I downloaded an Evaluation copy from BEA but it expires in 30 days. The place I
work has licenses for HPUX but I need to have a copy on my laptop for development
& test.
Thanks for help!
Sincerely
Bora
Maybe you are looking for
-
Returning error messages to shell with TERMOUT OFF
Hi all, I did a search in this forum and I couldn't find the answer. I am unloading (spooling) a table using SQLPLUS. Since I don't want to display these records on screen I am using set termout off. But I want to see error messages on the screen. I
-
GR slip print-out & automatic default for the print tick
Hi, I have followed the steps as outlined below for the solution and unfortunately the GRN document do not print as anticipated. I was wondering if the non-assignment of the MM or FI Program might be the cause? Please advice if I had missed something
-
Residual items are created with the current exchange rate
Hello, When a residual item is created due to a short payment for an invoice, the residual item is created with the exchange rate that is in effect on that day. Is it possible to assign the exchange rate equal to the rate that existed on the origina
-
"I'm {oleave nline) or attempting to sign on, the screen shows a symbol of sorts and the screen changes in size or shape. Not like a magnifying glass, but similar; other times when I'm viewing a page, it's as thought someone is controlling the moveme
-
When I save a project plan to my local computer from Project Online and open it up in an offline mode and access Resource Usage view I get prompted with Date Range dialog boxes with the first one saying "Show resources/assignments that start or finis