Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
kellybaz
Post subject: Having problems with ANT build and local deployment  PostPosted: May 06, 2010 - 06:12 PM
Registered Member
Registered Member


Joined: Mar 22, 2010
Posts: 2

I am trying to deploy to local using the ant task. The build is successful, however when I start the server (weblogic 9.2) I get errors. The server seems to start, but when I try to open the project in development mode (localhost:7001) I get 404 errors.


<May 6, 2010 11:03:41 AM MDT> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
C:\bea92\weblogic92\platform\lib\p13n\p13n-schemas.jar;C:\bea92\weblogic92\platform\lib\p13n\p13n_common.jar;C:\bea92\weblogic92\platform\lib\p13n\p13n_system.jar;C:\bea92\weblogic92\platform\lib\wlp\commerce_system.jar;C:\bea92\weblogic92\platform\lib\wlp\content_system.jar;C:\bea92\weblogic92\platform\lib\wlp\groupspace_system.jar;C:\bea92\weblogic92\platform\lib\wlp\netuix_common.jar;C:\bea92\weblogic92\platform\lib\wlp\netuix_schemas.jar;C:\bea92\weblogic92\platform\lib\wlp\netuix_system-full.jar;C:\bea92\weblogic92\platform\lib\wlp\netuix_system.jar;C:\bea92\weblogic92\platform\lib\wlp\nf-jspcmods.jar;C:\bea92\weblogic92\platform\lib\wlp\nf-system.jar;C:\bea92\weblogic92\platform\lib\wlp\wlp-schemas.jar;C:\bea92\weblogic92\platform\lib\wlp\wps_system.jar;C:\bea92\weblogic92\platform\lib\wlp\wsrp-client.jar;C:\bea92\weblogic92\platform\lib\wlp\wsrp-common.jar>
<May 6, 2010 11:03:41 AM MDT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 1.5.0_10-b03 from Sun Microsystems Inc.>
<May 6, 2010 11:03:42 AM MDT> <Info> <Management> <BEA-141107> <Version: WebLogic Server 9.2 MP2 Mon Jun 25 01:32:01 EDT 2007 952826 >
<May 6, 2010 11:03:46 AM MDT> <Info> <WebLogicServer> <BEA-000215> <Loaded License : C:\bea92\license.bea>
<May 6, 2010 11:03:46 AM MDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<May 6, 2010 11:03:46 AM MDT> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<May 6, 2010 11:03:46 AM MDT> <Notice> <Log Management> <BEA-170019> <The server log file C:\bea92\user_projects\domains\base_domain\servers\AdminServer\logs\AdminServer.log is opened. All server side log events will be written to this file.>
<May 6, 2010 11:03:48 AM MDT> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<May 6, 2010 11:03:54 AM MDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
<May 6, 2010 11:03:54 AM MDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: .\applications\DefaultWebApp\sandia\IWP\logs\IWP.log (The system cannot find the path specified)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:272)
at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:156)
at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:151)
at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:247)
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:123)
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:87)
at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:645)
at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:603)
at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:500)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:406)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:432)
at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:460)
at org.apache.log4j.LogManager.<clinit>(LogManager.java:113)
at org.apache.log4j.Logger.getLogger(Logger.java:85)
at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:229)
at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:65)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
at org.springframework.web.context.ContextLoader.<init>(ContextLoader.java:139)
at org.springframework.web.context.ContextLoaderListener.createContextLoader(ContextLoaderListener.java:57)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:48)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:376)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:82)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1608)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2750)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:889)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:333)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:26)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:181)
at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:358)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:52)
at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:186)
at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
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.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
<May 6, 2010 11:04:44 AM MDT> <Warning> <HTTP> <BEA-101162> <User defined listener org.springframework.web.context.ContextLoaderListener failed: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [gov.sandia.iwp.iwp.web.SandiaAuthenticationController] for bean with name 'HTTPLoginController' defined in ServletContext resource [/WEB-INF/IWP-servlet.xml]; nested exception is java.lang.ClassNotFoundException: gov.sandia.iwp.iwp.web.SandiaAuthenticationController.
org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [gov.sandia.iwp.iwp.web.SandiaAuthenticationController] for bean with name 'HTTPLoginController' defined in ServletContext resource [/WEB-INF/IWP-servlet.xml]; nested exception is java.lang.ClassNotFoundException: gov.sandia.iwp.iwp.web.SandiaAuthenticationController
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:915)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:165)
at org.springframework.context.support.AbstractApplicationContext.getBeanNamesForType(AbstractApplicationContext.java:687)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:397)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:330)
Truncated. see log file for complete stacktrace
java.lang.ClassNotFoundException: gov.sandia.iwp.iwp.web.SandiaAuthenticationController
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:289)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:262)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
Truncated. see log file for complete stacktrace
>
<May 6, 2010 11:04:44 AM MDT> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application 'IWP'.
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:891)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:333)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)
Truncated. see log file for complete stacktrace
java.lang.ClassNotFoundException: gov.sandia.iwp.iwp.web.SandiaAuthenticationController
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:289)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:262)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
Truncated. see log file for complete stacktrace
>
<May 6, 2010 11:04:44 AM MDT> <Notice> <Log Management> <BEA-170027> <The server initialized the domain log broadcaster successfully. Log messages will now be broadcasted to the domain log.>
<May 6, 2010 11:04:46 AM MDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
<May 6, 2010 11:04:46 AM MDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
<May 6, 2010 11:04:50 AM MDT> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, http.>
<May 6, 2010 11:04:50 AM MDT> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 10.12.0.158:7001 for protocols iiop, t3, ldap, http.>
<May 6, 2010 11:04:50 AM MDT> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "AdminServer" for domain "base_domain" running in Development Mode>
<May 6, 2010 11:04:50 AM MDT> <Warning> <Server> <BEA-002611> <Hostname "k090216a.ktech.com", maps to multiple IP addresses: 10.12.0.158, 127.0.0.1>
<May 6, 2010 11:04:50 AM MDT> <Warning> <Server> <BEA-002611> <Hostname "localhost", maps to multiple IP addresses: 10.12.0.158, 127.0.0.1>
<May 6, 2010 11:04:50 AM MDT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<May 6, 2010 11:04:50 AM MDT> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>


ALSO- I am having network issues tying to do updates. I keep getting this error:

Network connection problems encountered during search.
Unable to access "http://update.eclipse.org/updates/3.3".
Unable to access site: "http://update.eclipse.org/updates/3.3" [Server returned HTTP response code: "403 Forbidden" for URL: http://update.eclipse.org/updates/3.3.]
Server returned HTTP response code: "403 Forbidden" for URL: http://update.eclipse.org/updates/3.3.
Unable to access site: "http://update.eclipse.org/updates/3.3" [Server returned HTTP response code: "403 Forbidden" for URL: http://update.eclipse.org/updates/3.3.]
Server returned HTTP response code: "403 Forbidden" for URL: http://update.eclipse.org/updates/3.3.
 
 View user's profile Send private message  
Reply with quote Back to top
kellybaz
Post subject: RE: Having problems with ANT build and local deployment  PostPosted: May 06, 2010 - 06:16 PM
Registered Member
Registered Member


Joined: Mar 22, 2010
Posts: 2

Here are my installation details:

*** Date:
Thursday, May 6, 2010 11:16:08 AM MDT

** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.5.0_11


*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 6.6.0
Build id: 6.6.0-20081015


*** Eclipse details:
MyEclipse Enterprise Workbench

Version: 6.6.0
Build id: 6.6.0-20081015




Eclipse Platform

Version: 3.3.3.r33x_r20080129-_19UEl7Ezk_gXF1kouft
Build id: M20080221-1800


Eclipse Java Development Tools

Version: 3.3.2.r33x_r20080129-7o7jE7_EDhYDiyVEnjb1pFd7ZGD7
Build id: M20080221-1800


Eclipse Project SDK

Version: 3.3.3.r33x_r20080129-7M7J7LB-u3aphGW6o3_VmiVfGXWO
Build id: M20080221-1800


Eclipse RCP

Version: 3.3.3.r33x_r20080129-8y8eE9UEUWI6qujeED0xT7bc
Build id: M20080221-1800


Eclipse Plug-in Development Environment

Version: 3.3.3.r33x_r20080129-7N7M5DQVIA_6oJsEFkEL
Build id: M20080221-1800


Eclipse Graphical Editing Framework

Version: 3.3.2.v20080129
Build id: 20080221-1602




Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\MyEclipse 6.6\eclipse\eclipse.exe
-name
Eclipse
--launcher.library
C:\MyEclipse 6.6\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.3.R33x_v20080118\eclipse_1023.dll
-startup
C:\MyEclipse 6.6\eclipse\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar
-exitdata
1228_80
-clean
-vm
C:\MyEclipse 6.6\jre\bin\javaw.exe
 
 View user's profile Send private message  
Reply with quote Back to top
support-shalini
Post subject: RE: Having problems with ANT build and local deployment  PostPosted: May 07, 2010 - 10:13 AM
Registered Member
Registered Member


Joined: May 18, 2009
Posts: 1532

kellybaz,
Can you give us some more information?
1. Can you send us a screen shot showing your configuration from Window > Preferences > MyEclipse > Servers > Weblogic?
2. Do you get the weblogic home page when you browse to http://localhost:7001/index.jsp?

For the second issue,
Are you trying to upgrade to the latest version of MyEclipse? The current version MyEclipse8.5 is based on Eclipse 3.5.2, you cannot upgrade to it from ME6.6 as the base eclipse
has changed. You can download the latest version from http://www.myeclipseide.com/module-htmlpages-display-pid-4.html.

_________________
Shalini
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits