俄ejb和struts部署时出错:
D:\JBuilder9\jdk1.4\bin\javaw  -classpath E:\bea\weblogic700\server\lib\weblogic.jar;E:\bea\weblogic700\server\lib\webservices.jar;E:\bea\weblogic700\server\lib\weblogic_sp.jar; weblogic.Deployer  -user liuqiang  -adminurl http://lq:7001  -password md110yanwen  -deploy  -name DhcxEntMod -upload  -source E:/jbproject/dhcxproject/DhcxEntMod.jar -targets lqserver
WebLogic Application Deployment UtilityUsage: java weblogic.Deployer [options] [-activate|-deactivate|-remove|-unprepare|-cancel|-list] [files]where options include:    -help             Print this help message.                         -version          Print version information.                       -adminurl <https://<server>:<port>> The URL of the administration server: default                      http://localhost:7001                            -user <user>      A user other than the default of                                   "installadministrator"                           -password <password> Specifies the password on the command line.                        If this option is absent the user is                               prompted.                                        -verbose          Displays additional status during the                              deployment process, including notifications                        when the application is prepared and                               activated on each target.                        -debug            Displays debug level messages to the standard                      output.                                          -examples         Display example usage of this tool.              -upload           Causes the specified source file(s) to be                          transferred to the adminstration server. This                      is used when the Deployer tools is not being                       used on the same machine as the adminstration                      server and the user does not otherwise have                        access to place the targeted files on the                          adminstration server.                            -delete_files     Causes the server to remove the files that                         are specified in the file list and leave the                       application activated. This option is valid                        only for unarchived web applications.            -remote           Signals that the tools is not runnning on the                      same machine as the adminstration server and                       that the source path should be made passed                         through unchanged as it represents the path                        on the remote server.                            -nostage          Sets the stagingMethod attribute on the                            application mbean when it is created so that                       the application will not be staged and the                         original source is be used.                      -external_stage   Sets the stagingMethod attribute on the                            application mbean when it is created so that                       the application will not be staged but the                         value of the staging path will be used when                        preparing the application.                       -stage            Sets the stagingMethod staging attribute on                        the application when it is created so that                         the application will always be staged. This                        value will override the stagingMethod                              attribute on any targeted servers.               -nowait           Once the action is initiated the tool will                         print the task id and exit. This is used to                        initiate multiple tasks and then monitor them                      later using the -list action.                    -timeout <seconds> The maximum time in seconds to wait for the                        completion of the deployment task. When the                        time expires the current status is printed                         and the program exits.                           -source <archive file or directory> Location of the file or directory that                             represents the enterprise component or                             application tha is being (re)activated. If                         the source file is relative it is relative to                      the current directory, unless the -remote                          option is used. To specify individual files                        within an application for reployment or                            addition list them at the end of the command                       line.                                            -name <application name> The name of the application being deployed.      -targets <<server 1>,...<component>@<server N>> A comma separated list of the server and/or                        cluster names. Each target may be qualified                        with a J2EE component name. This enables                           different components of the archive to                             deployed on different servers.                   -id <task identifier> Optional client supplied unique identifier                         for the deployment task. The id is first                           specified to -activate, -deactivate,                               -unprepare or -remove. It is then used later                       as an argument to -cancel or -list.              -activate         (Re)activates the <source> application on the                      <targets> with the <name>.                       -deactivate       Deactivates the application <name> on the                          <targets> leaving an staged application files                      in a state where the may be quickly                                reactivated.                                     -unprepare        Deactivates and unloads classes for the                            application <name> on the <targets> leaving                        an staged application files in a state where                       the may be quickly reloaded.                     -remove           Deactivates the application <name> on the                          <target> and removes any files that were                           staged for this application. If there are no                       longer any targets for the application, the                        associated configuration is completely                             removed.                                         -cancel           Atempts to cancel the task <id> if it is has                       not yet completed.                               -list             Lists the target status of each task <id>        -deploy           a convenient alias for activate.                 -undeploy         a convenient alias for unprepare.            
Optionally a list of the specific files in the archive that are to be 
 redeployed may be specified. If a directory is specified the entire subtree is
 redeployed. Full documentation on this tool is available at:
 http://edocs.beasys.com/wls/docs70/adminguide/utils.html#1138475No actions was specified. Please specify one and only one of:
-activate, -deactivate, -cancel, -remove, -unprepare, or -list.Type java weblogic.Deployer -examples for example usage.什么原因?分不够我在加

解决方案 »

  1.   

    部署struts时出错:D:\JBuilder9\jdk1.4\bin\javaw -classpath "E:\bea\weblogic700\server\lib\weblogic.jar;E:\bea\weblogic700\server\lib\webservices.jar;D:\Sql2000forJdbc\lib\mssqlserver.jar"   -ms64m -mx64m -Djava.library.path="E:E:/bea/weblogic700/server/bin" -Dbea.home="E:/bea" -Dweblogic.Name=lqserver -Djava.security.policy=="E:E:/bea/weblogic700/server/lib/weblogic.policy" -Dweblogic.management.discover=false -Dweblogic.ProductionModeEnabled=false -Dweblogic.management.username=liuqiang -Dweblogic.management.password=md110yanwen weblogic.Server  
    Starting WebLogic Server...<2003-12-25 下午11时25分06秒> <Notice> <Management> <140005> <Loading configuration E:\bea\lq_projects\lqdomain\.\config.xml> <2003-12-25 下午11时25分15秒> <Notice> <Security> <090082> <Security initializing using realm myrealm.> <2003-12-25 下午11时25分16秒> <Notice> <WebLogicServer> <000327> <Starting WebLogic Admin Server "lqserver" for domain "lqdomain"> <2003-12-25 下午11时25分28秒> <Emergency> <WebLogicServer> <000342> <Unable to initialize the server: Fatal initialization exception
    Throwable: java.lang.NoClassDefFoundError: com/microsoft/jdbc/base/BaseDriver
    java.lang.NoClassDefFoundError: com/microsoft/jdbc/base/BaseDriver at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:502) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at java.net.URLClassLoader.defineClass(URLClassLoader.java:250) at java.net.URLClassLoader.access$100(URLClassLoader.java:54) at java.net.URLClassLoader$1.run(URLClassLoader.java:193) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:186) at java.lang.ClassLoader.loadClass(ClassLoader.java:299) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265) at java.lang.ClassLoader.loadClass(ClassLoader.java:255) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:140) at weblogic.jdbc.common.internal.DataSourceUtil.isXADataSource(DataSourceUtil.java:79) at weblogic.jdbc.common.internal.ConnectionPool.getResourceFactory(ConnectionPool.java:343) at weblogic.jdbc.common.internal.ConnectionPool.startup(ConnectionPool.java:283) at weblogic.jdbc.common.internal.JDBCService.addDeploymentx(JDBCService.java:283) at weblogic.jdbc.common.internal.JDBCService.addDeployment(JDBCService.java:271) at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:396) at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:302) at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:256) at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:207) 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:324) at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:717) at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:699) at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:405) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555) at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:920) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:470) at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:198) at $Proxy34.updateDeployments(Unknown Source) at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:3957) at weblogic.management.deploy.slave.SlaveDeployer.updateServerDeployments(SlaveDeployer.java:2207) at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:364) at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:235) at weblogic.t3.srvr.ServerLifeCycleList.resume(ServerLifeCycleList.java:61) at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:812) at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:294) at weblogic.Server.main(Server.java:31)>