- This topic has 3 replies, 2 voices, and was last updated 19 years, 3 months ago by Scott Anderson.
-
AuthorPosts
-
krausestMemberI have a severe problem with MyEclipse 4.0 M3, Eclipse 3.1 and Weblogic 9.0.
I’ve created a new and empty domain bvdomain (Nothing deployed – not even samples).
When I try to start the domain I see the following error. Can anyone help?
It starts fine with startWebLogic.cmd.Thanks,
StefanHere’s the complete stdout log:
<17.08.2005 15.20 Uhr CEST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 1.5.0_03-b07 from Sun Microsystems Inc.>
<17.08.2005 15.20 Uhr CEST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 9.0 Sun Jul 3 21:15:00 PDT 2005 598247 >
<17.08.2005 15.20 Uhr CEST> <Info> <WebLogicServer> <BEA-000215> <Loaded License : d:\bea9\license.bea>
<17.08.2005 15.20 Uhr CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<17.08.2005 15.20 Uhr CEST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<17.08.2005 15.20 Uhr CEST> <Notice> <Log Management> <BEA-170019> <The server log file D:\bea9\user_projects\domains\bvdomain\servers\AdminServer\logs\AdminServer.log is opened. All server side log events will be written to this file.>
<17.08.2005 15.20 Uhr CEST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<17.08.2005 15.20 Uhr CEST> <Notice> <Log Management> <BEA-170027> <The server initialized the domain log broadcaster successfully. Log messages will now be broadcasted to the domain log.>
<17.08.2005 15.20 Uhr CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
<17.08.2005 15.20 Uhr CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<17.08.2005 15.20 Uhr CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
<17.08.2005 15.20 Uhr CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
<17.08.2005 15.20 Uhr CEST> <Notice> <Server> <BEA-002613> <Channel “Default” is now listening on 10.1.1.118:7001 for protocols iiop, t3, ldap, http.>
<17.08.2005 15.20 Uhr CEST> <Notice> <Server> <BEA-002613> <Channel “Default[1]” is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, http.>
<17.08.2005 15.20 Uhr CEST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server “AdminServer” for domain “bvdomain” running in Development Mode>
<17.08.2005 15.20 Uhr CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<17.08.2005 15.20 Uhr CEST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
0 [[ACTIVE] ExecuteThread: ‘0’ for queue: ‘weblogic.kernel.Default (self-tuning)’] ERROR org.apache.beehive.netui.core.urltemplates.URLTemplateDescriptor – Exception while loading URL templates, /WEB-INF/url-template-config.xmlThrowable: javax.servlet.ServletException: error: The document is not a url-template-config: document element namespace mismatch expected “” got “http://www.bea.com/servers/weblogic/url-template-config/8.0”
Stack Trace:
javax.servlet.ServletException: error: The document is not a url-template-config: document element namespace mismatch expected “” got “http://www.bea.com/servers/weblogic/url-template-config/8.0”
at org.apache.beehive.netui.core.urltemplates.URLTemplatesFactory.getTemplates(URLTemplatesFactory.java:131)
at org.apache.beehive.netui.core.urltemplates.URLTemplateDescriptor.load(URLTemplateDescriptor.java:133)
at org.apache.beehive.netui.pageflow.PageFlowContextListener.performInitializations(PageFlowContextListener.java:102)
at org.apache.beehive.netui.pageflow.PageFlowActionServlet.init(PageFlowActionServlet.java:120)
at com.bea.console.internal.ConsoleActionServlet.init(ConsoleActionServlet.java:185)
at javax.servlet.GenericServlet.init(GenericServlet.java:256)
at weblogic.servlet.AsyncInitServlet.initDelegate(AsyncInitServlet.java:95)
at weblogic.servlet.internal.WebAppServletContext$AsyncInitRequest.run(WebAppServletContext.java:1609)
at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)
Caused by: org.apache.xmlbeans.XmlException: error: The document is not a url-template-config: document element namespace mismatch expected “” got “http://www.bea.com/servers/weblogic/url-template-config/8.0″
at org.apache.xmlbeans.impl.store.Locale.verifyDocumentType(Locale.java:449)
at org.apache.xmlbeans.impl.store.Locale.autoTypeDocument(Locale.java:354)
at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1270)
at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1254)
at org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:345)
at org.apache.beehive.netui.core.urltemplates.schema.UrlTemplateConfigDocument$Factory.parse(Unknown Source)
at org.apache.beehive.netui.core.urltemplates.DefaultURLTemplateFileParser.parse(DefaultURLTemplateFileParser.java:34)
at org.apache.beehive.netui.core.urltemplates.URLTemplatesFactory.getTemplates(URLTemplatesFactory.java:118)
… 10 more
Here’s the config.xml:
<?xml version=’1.0′ encoding=’UTF-8′?>
<domain xmlns=”http://www.bea.com/ns/weblogic/90/domain” xmlns:sec=”http://www.bea.com/ns/weblogic/90/security” xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xmlns:wls=”http://www.bea.com/ns/weblogic/90/security/wls” xsi:schemaLocation=”http://www.bea.com/ns/weblogic/90/domain.xsd”>
<name>bvdomain</name>
<security-configuration>
<name>bvdomain</name>
<realm>
<sec:authentication-provider xsi:type=”wls:default-authenticatorType”></sec:authentication-provider>
<sec:authentication-provider xsi:type=”wls:default-identity-asserterType”>
<sec:active-type>AuthenticatedUser</sec:active-type>
</sec:authentication-provider>
<sec:role-mapper xsi:type=”wls:default-role-mapperType”></sec:role-mapper>
<sec:authorizer xsi:type=”wls:default-authorizerType”></sec:authorizer>
<sec:adjudicator xsi:type=”wls:default-adjudicatorType”></sec:adjudicator>
<sec:credential-mapper xsi:type=”wls:default-credential-mapperType”></sec:credential-mapper>
<sec:cert-path-provider xsi:type=”wls:web-logic-cert-path-providerType”></sec:cert-path-provider>
<sec:cert-path-builder>WebLogicCertPathProvider</sec:cert-path-builder>
<sec:name>myrealm</sec:name>
</realm>
<default-realm>myrealm</default-realm>
<credential-encrypted>{3DES}fXarYfsNOewAv199OmiEjZkqWUAwVlA31QdT2YU6XA4pvvuQNtlv+inaaS+qut2l0wzjyTU4vZ7SA5iXWH91UcU+AOPALjLQ</credential-encrypted>
<node-manager-username>system</node-manager-username>
<node-manager-password-encrypted>{3DES}8cMmlvmuSYjmJFkHAvEqVg==</node-manager-password-encrypted>
</security-configuration>
<server>
<name>AdminServer</name>
<listen-address></listen-address>
</server>
<embedded-ldap>
<name>bvdomain</name>
<credential-encrypted>{3DES}b/8yHc8K51c8lZIEIf1iMXzLY56rDJ8JPUobS3o6t5A=</credential-encrypted>
</embedded-ldap>
<configuration-version>9.0.0.0</configuration-version>
<admin-server-name>AdminServer</admin-server-name>
</domain>
Scott AndersonParticipantCan you please change the JDK you’re using to start WebLogic to the one they ship for it? The commandline will use that one and you’re using a Sun 1.5 JDK instead. The BEA versions are in the BEA home directory.
krausestMemberThanks for helping Scott, but I am running with the JDK 1.5.0 from the weblogic directory (my eclipse runs with a 1.4.2 VM).
Even if I switch to the JRockit VM the problem stays.<17.08.2005 17.34 Uhr CEST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with BEA JRockit(R) Version dra-45238-20050523-2021-win-ia32 from BEA Systems, Inc.>
….
<17.08.2005 17.35 Uhr CEST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
0 [[ACTIVE] ExecuteThread: ‘0’ for queue: ‘weblogic.kernel.Default (self-tuning)’] ERROR org.apache.beehive.netui.core.urltemplates.URLTemplateDescriptor – Exception while loading URL templates, /WEB-INF/url-template-config.xmlThrowable: javax.servlet.ServletException: error: The document is not a url-template-config: document element namespace mismatch expected “” got “http://www.bea.com/servers/weblogic/url-template-config/8.0”
Stack Trace:
javax.servlet.ServletException: error: The document is not a url-template-config: document element namespace mismatch expected “” got “http://www.bea.com/servers/weblogic/url-template-config/8.0”
…
Scott AndersonParticipant“http://www.bea.com/servers/weblogic/url-template-config/8.0”
If you’re running WLS 9, I’m confused about the 8.0 reference. Could you have use the WLS 8.1 domain creation tool to create this domain
instead of the WLS 9 tool? Can you try creating a new domain using the WLS 9 tool (in any event), start it up one time from the commandline,
shut it down one time from the command line, and then try configuring / launching it in MyEclipse? -
AuthorPosts