views:

267

answers:

1

I have a web application running on tomcat. I want to deploy it on a weblogic server but i get some problems.

Error(s) found in module 'BatchMonitoring'. Publish was cancelled. See "Problems" view for details.
  Target runtime SpringSource dm Server (Runtime) v1.0 is not defined. at BatchMonitoring
  Java compiler level does not match the version of the installed Java project facet. at BatchMonitoring




java.lang.IllegalArgumentException: Cannot find state with id 'displayError' in flow 'admin_main' -- Known state ids are 'array<String>['queryAll', 'mainForm', 'register']'
    at org.springframework.webflow.engine.Flow.getStateInstance(Flow.java:348)
    at org.springframework.webflow.engine.support.DefaultTargetStateResolver.resolveTargetState(DefaultTargetStateResolver.java:60)
    at org.springframework.webflow.engine.Transition.execute(Transition.java:217)
    at org.springframework.webflow.engine.impl.FlowExecutionImpl.execute(FlowExecutionImpl.java:391)
    at org.springframework.webflow.engine.impl.RequestControlContextImpl.execute(RequestControlContextImpl.java:214)
    at org.springframework.webflow.engine.support.TransitionExecutingFlowExecutionExceptionHandler.handle(TransitionExecutingFlowExecutionExceptionHandler.java:110)
    at org.springframework.webflow.engine.FlowExecutionExceptionHandlerSet.handleException
A: 

Seems like you had problems with Java versions of what Tomcat is using(points to JAVA_HOME) at environmental variable and JDK of Weblogic. Also it would be good if you send some logs and exception messages.

GustlyWind
there are no logs or exceptionswhen i try to run it using eclipse, an error dialogue will op-up stating that deploying was stopped bec of the reasons i have stated above
cedric
Check in WebLogic user_projects directory for logsD:\bea\user_projects\domains\{$UserDomain}\servers\AdminServer\logs
GustlyWind
I added a portion of the log above. This exception occurs only n the weblogic server. My projects works well in tomcat. I saw a sample project running in weblogic. It has a weblogic.xml. So that means I have to saetup first the project to run in weblogic and not just simply run it in the weblogic server. I guess the problem is I need to set it up first. I have no idea how
cedric
Assuming you had successfully installed Weblogic ,create a domain with your project,then deploy the application and then test it.(Assume this is a ear or war type).Which version are you using
GustlyWind
I just deploy the application through eclipse. I add a new server then browse for the domain instance of the web logic server. The I just build the application and choose run on server
cedric
I looked at the logs and found thisweblogic.management.DeploymentException: [Deployer:149003]can't paste the rest. it's in nihongo
cedric