- This topic has 5 replies, 3 voices, and was last updated 19 years, 2 months ago by
coolflytow.
-
AuthorPosts
-
coolflytowMemberThank for your help!
I install the weblogic 9.1
Install Directory: E:\bea
My domain in Directory: G:\weblogic work\test_weblogic_ServerMyEclipse configuration is:
bean home directory e:\bea
Weblogic installation directory E:\bea\weblogic91
adminusername: admin
password: ******
Execution domain root G:\weblogic work\test_weblogic_Server
Execution server name: AdminServer
Security policy file E:\bea\weblogic91\server\lib\weblogic.policy
JAAS login configuration file : <not input>jdk is the Weblogic9.1 default jdk E:\bea\jdk150_04
Optional java vm arguments is {
-ms64m -mx64m -Djava.library.path=”E:/BEA/weblogic91/server/bin” -Dweblogic.management.discover=false -Dweblogic.ProductionModeEnabled=false
}Paths –>>> Prepend to classpath is {
webservices.jar – e:/bea/weblogic91/server/lib/webservices.jar
weblogic.jar – e:/bea/weblogic91/server/lib/weblogic.jar}
my start the weblogic with myeclipse
the ModuleType.class throws Exception ———>>>>>>>>help me!java.lang.IllegalArgumentException: Unmatched braces in the pattern.
at java.text.MessageFormat.applyPattern(Unknown Source)
at java.text.MessageFormat.<init>(Unknown Source)
at java.text.MessageFormat.format(Unknown Source)
at org.eclipse.jdt.internal.core.util.Messages.bind(Messages.java:361)
at org.eclipse.jdt.internal.core.util.Messages.bind(Messages.java:327)
at org.eclipse.jdt.internal.core.util.Disassembler.disassemble(Disassembler.java:600)
at org.eclipse.jdt.internal.core.util.Disassembler.disassemble(Disassembler.java:462)
at org.eclipse.jdt.internal.ui.javaeditor.ClassFileEditor$SourceAttachmentForm.updateCodeView(ClassFileEditor.java:400)
at org.eclipse.jdt.internal.ui.javaeditor.ClassFileEditor$SourceAttachmentForm.createControl(ClassFileEditor.java:212)
at org.eclipse.jdt.internal.ui.javaeditor.ClassFileEditor.verifyInput(ClassFileEditor.java:715)
at org.eclipse.jdt.internal.ui.javaeditor.ClassFileEditor.createPartControl(ClassFileEditor.java:672)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:609)
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:384)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:552)
at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:223)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2362)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2295)
at org.eclipse.ui.internal.WorkbenchPage.access$9(WorkbenchPage.java:2287)
at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2273)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2268)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2249)
at org.eclipse.debug.internal.ui.sourcelookup.SourceLookupFacility$1.run(SourceLookupFacility.java:353)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.debug.internal.ui.sourcelookup.SourceLookupFacility.openEditor(SourceLookupFacility.java:362)
at org.eclipse.debug.internal.ui.sourcelookup.SourceLookupFacility.openEditor(SourceLookupFacility.java:289)
at org.eclipse.debug.internal.ui.sourcelookup.SourceLookupFacility.display(SourceLookupFacility.java:209)
at org.eclipse.debug.ui.DebugUITools.displaySource(DebugUITools.java:673)
at org.eclipse.debug.internal.ui.views.launch.LaunchView$SourceDisplayJob.runInUIThread(LaunchView.java:209)
at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:93)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3057)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2716)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)thanks ,I hope your helper!
and What is success configuration!
my e-mail: coolflytow@gmail.comMay 19, 2006 at 9:42 pm #252263
Riyad KallaMemberUnmatched braces in pattern… any idea what the exception is referring to? If you run WebLogic from the command line does it work fine? Also did you try to not use any optional VM args or adjust the Paths settings at all and see if it started up without any errors?
(You gave bracesw in your example output above, but I was just assuming you were using those to outline examples, you didn’t actually type these into the vm args or anything like that did you?)
May 20, 2006 at 8:56 am #252278
coolflytowMemberThanks for your help!
I’m a Chinese student! My English is poor!
Thanks !
I will try run with command line !I should weblogic work fine in the command style!
HeiHei!
Go to try….May 20, 2006 at 10:47 am #252289
coolflytowMemberThanks! friendly!
I change the Weblogic Lauch style from MyEclipse default Debug to Runn,now I can
run Weblogic 9 !
I hope best Method to run Weblogic 9!
I notice the Configuration :
JAAS login configuration ????
What to du ,the configuration point??May 20, 2006 at 11:03 am #252291
Scott AndersonParticipantYou don’t need anything for JAAS login configuration.
You should also remove:
Paths –>>> Prepend to classpath is {
webservices.jar – e:/bea/weblogic91/server/lib/webservices.jar
weblogic.jar – e:/bea/weblogic91/server/lib/weblogic.jar
}
since they are not needed and this is done automatically by the Weblogic connectorYou should also remove:
Optional java vm arguments is {
-ms64m -mx64m -Djava.library.path=”E:/BEA/weblogic91/server/bin” -Dweblogic.management.discover=false -Dweblogic.ProductionModeEnabled=false
}
These are not needed and are done automatically by the Weblogic connector.These two settings are probably the braces it’s complaining about as well.
I change the Weblogic Lauch style from MyEclipse default Debug to Run
Removing the Path and JVM arguments should allow you to go back to running in Debug, which you will need to debug your applications.
May 21, 2006 at 2:03 pm #252313
coolflytowMemberThanks, Scott!
I do all things with your help idea!But I can’t running Weblogic 9.1 In the Debug Lauch!
下面是错误信息!———〉〉〉〉〉〉look dawn the errors!<2006-5-22 上午02时56分20秒 CST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 1.5.0_04-b05 from Sun Microsystems Inc.>
<2006-5-22 上午02时56分28秒 CST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 9.1 Mon Dec 12 19:26:33 EST 2005 689178 >
<2006-5-22 上午02时56分41秒 CST> <Info> <WebLogicServer> <BEA-000215> <Loaded License : e:\bea\license.bea>
<2006-5-22 上午02时56分41秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<2006-5-22 上午02时56分41秒 CST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<2006-5-22 上午02时56分42秒 CST> <Notice> <Log Management> <BEA-170019> <The server log file G:\weblogic work\test_weblogic_Server\servers\AdminServer\logs\AdminServer.log is opened. All server side log events will be written to this file.>
<2006-5-22 上午02时56分50秒 CST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.> ———<<<<<<<<<<<<<<<In the here, MyElipse tracing, and the线程 [[ACTIVE] ExecuteThread: ‘0’ for queue: ‘weblogic.kernel.Default (self-tuning)’](已暂挂(异常 ArrayIndexOutOfBoundsException))
ModuleType.getModuleType(int) 行: 112
WebLogicModuleType.findNextSlot() 行: 216
WebLogicModuleType.<clinit>() 行: 69
WebAppModule.getType() 行: 227
ModuleListenerInvoker.getType() 行: 57
ModuleListenerInvoker.init(ApplicationContext, GenericClassLoader, UpdateListener$Registration) 行: 72
InitModulesFlow.initModule(Module) 行: 241
InitModulesFlow.initModules(Module[]) 行: 254
InitModulesFlow.prepare() 行: 286
BaseDeployment$1.next(Object) 行: 620
StateMachineDriver.nextState(StateChange, Object[]) 行: 26
WarDeployment(BaseDeployment).prepare(DeploymentContext) 行: 231
DeploymentStateChecker.prepare(DeploymentContext) 行: 147
AppContainerInvoker.prepare(DeploymentContext) 行: 61
AppDeployment.prepare() 行: 126
ConfiguredDeployments.deployPreStandbyInternalApps() 行: 83
DeploymentServerService.deployPreStandbyInternalApps() 行: 161
DeploymentPreStandbyServerService.start() 行: 36
SubsystemRequest.run() 行: 64
ServerWorkManagerImpl$WorkAdapterImpl.run() 行: 518
ExecuteThread.execute(Runnable) 行: 207
ExecuteThread.run() 行: 179why???????????
Help me!
Your MyEclipse 4.1 + Weblogic 9.1 All running is good!!!???
what is Your Configurations in the MyEclipse!!!
Thanks ! -
AuthorPosts