Java – Migrating To Weblogic From Tomcat

javatomcatweblogic

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

Best Answer

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.