Sandip Chatterjee

Greenhorn
+ Follow
since Apr 30, 2013
Merit badge: grant badges
For More
Mumbai, India
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Sandip Chatterjee

Welcome, Simon!

I've been a Java guy for some years now.

Currently working with ExtJS and also trying to pick up AngularJS.

Looking forward to getting 'MEAN' in the coming days!

Cheers.
It's more of a random suggestion than a remedy to your problem.

Try deleting the managed server or servers from your web console.

Now, check whether starting or stopping the WebLogic Admin Server is generating any error or exceptions(Refer to the cmd prompt or the log file).

If there is no error or exceptions, try creating a new Managed Server.

If error or exceptions or both exists, try sorting it out and then go for the creation of a new Managed Server.

Run the WebLogic Managed Server.

Note: Running the Managed Server from the console or from the command prompt, would require an 'Active' Node Manager.
10 years ago
The command to check the status of a Managed Server or even the Admin Server is -

nmServerStatus('ServerName')
10 years ago
The zip file is actually not empty. It has a folder inside it that contains a .txt file.
11 years ago
Dear folks, encountered a 'ZipException' in my App while trying to click on a download link which should instead prompt a window and ask to save the file.

Please suggest.
11 years ago
Hey folks, can you suggest me some tool for WebLogic 10.3.6?

I have used BEA Workshop for WebLogic 10g and currently working in Oracle Enterprise Pack for Eclipse(OEPE) for WebLogic 10.3.6.
11 years ago

I would like to know what are the changes I will have to make in the application running in weblogic 9.2 to make it run in weblogic 12c. Any link will be of great help



Firstly, look for a suitable IDE that supports WebLogic 12c. Import your code into the IDE. Build and check for the Warnings and errors. Solve the corresponding errors and warnings, build and keep checking for Errors and Warnings simultaneously.

Try solving any particular module of your application first to check whether the above methodology is working in your case or not.
11 years ago
I'm facing few hiccups while Migrating my app from Oracle Application Server 11g to WebLogic Server 10g. The radio buttons are not working properly post Migration.

Any thoughts on this.
11 years ago
Publishing failed
Error with publish task 'SplitSourceArtifactTask'.
ICCOMSAppAhm:

The web project build path contains classes or jars which are not inside the standard <WebAppRoot>/WEB-INF/classes or <WebAppRoot>/WEB-INF/lib directories.

E:/Additional_Jars/cos.jar
E:/Additional_Jars/fileupload.jar
E:/Additional_Jars/javazoom.jar
E:/Additional_Jars/struts.jar
E:/Additional_Jars/uploadbean.jar

Error(s) occurred during publish assembly. No modules will be published.


How to solve the above problem? Please Help.
11 years ago
The problem was resolved when I tried a WAR file with a different name.
For Eg: From TestwebApp to TestApp

Maybe it's due to name clash.

More info pertaining this situation are welcome.
11 years ago
Now, I tested by creating a WAR file in the BEA WorkShop itself and then deploying it to WebLogic App Server 10.3.6.

But the result is the same.
11 years ago
I have prepared a web-app using BEA WorkShop. Imported the app in OEPE, and created a WAR file.

Now, I'm trying to deploy the WAR in WebLogic App Server 10.3.6 and this is when I'm facing these errors.


Messages:

Unable to access the selected application.

Exception in AppMerge flows' progression

Exception in AppMerge flows' progression

java.io.IOException: error in opening zip file with : D:\TestwebApp.war at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(ZipFile.java:127) at java.util.jar.JarFile.<init>(JarFile.java:135) at java.util.jar.JarFile.<init>(JarFile.java:99) at weblogic.utils.jars.JarFileDelegate.<init>(JarFileDelegate.java:32) at weblogic.utils.jars.VirtualJarFactory.createVirtualJar(VirtualJarFactory.java:24) at weblogic.application.compiler.SCACompilerFactory.createMerger(SCACompilerFactory.java:37) at weblogic.application.compiler.flow.AppMergerFlow.createMerger(AppMergerFlow.java:68) at weblogic.application.compiler.flow.AppMergerFlow.mergeInput(AppMergerFlow.java:85) at weblogic.application.compiler.flow.AppMergerFlow.compile(AppMergerFlow.java:41) at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36) at weblogic.application.compiler.FlowDriver$CompilerFlowDriver.compile(FlowDriver.java:96) at weblogic.application.compiler.AppMerge.runBody(AppMerge.java:157) at weblogic.utils.compiler.Tool.run(Tool.java:158) at weblogic.utils.compiler.Tool.run(Tool.java:115) at weblogic.application.compiler.AppMerge.merge(AppMerge.java:169) at weblogic.deploy.api.internal.utils.AppMerger.merge(AppMerger.java:88) at weblogic.deploy.api.internal.utils.AppMerger.getMergedApp(AppMerger.java:63) at weblogic.deploy.api.model.internal.WebLogicDeployableObjectFactoryImpl.createDeployableObject(WebLogicDeployableObjectFactoryImpl.java:181) at weblogic.deploy.api.model.internal.WebLogicDeployableObjectFactoryImpl.createLazyDeployableObject(WebLogicDeployableObjectFactoryImpl.java:156) at weblogic.deploy.api.tools.SessionHelper.inspect(SessionHelper.java:661) at com.bea.console.actions.app.install.Flow$2.execute(Flow.java:469) at com.bea.console.utils.DeploymentUtils.runDeploymentAction(DeploymentUtils.java:5023) at com.bea.console.actions.app.install.Flow.appSelected(Flow.java:467) 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:597) at org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:870) at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809) at org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478) at org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:306) at org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336) at org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execute(FlowControllerAction.java:52) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(PageFlowRequestProcessor.java:97) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute(PageFlowRequestProcessor.java:2044) at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:64) at org.apache.beehive.netui.pageflow.interceptor.action.ActionInterceptor.wrapAction(ActionInterceptor.java:184) at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.invoke(ActionInterceptors.java:50) at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:58) at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors.wrapAction(ActionInterceptors.java:87) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:2116) at com.bea.console.internal.ConsolePageFlowRequestProcessor.processActionPerform(ConsolePageFlowRequestProcessor.java:261) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:556) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:853) at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:631) at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:158) at com.bea.console.internal.ConsoleActionServlet.process(ConsoleActionServlet.java:262) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at com.bea.console.internal.ConsoleActionServlet.doGet(ConsoleActionServlet.java:134) at org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:1199) at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:686) at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.processActionInternal(ScopedContentCommonSupport.java:142) at com.bea.portlet.adapter.scopedcontent.PageFlowStubImpl.processAction(PageFlowStubImpl.java:106) at com.bea.portlet.adapter.NetuiActionHandler.raiseScopedAction(NetuiActionHandler.java:111) at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:181) at com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:167) at com.bea.netuix.servlets.controls.content.NetuiContent.handlePostbackData(NetuiContent.java:225) at com.bea.netuix.nf.ControlLifecycle$2.visit(ControlLifecycle.java:180) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:324) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:130) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352) at com.bea.netuix.nf.Lifecycle.runInbound(Lifecycle.java:184) at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:159) at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:388) at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:258) at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:199) at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:251) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at com.bea.console.utils.MBeanUtilsInitSingleFileServlet.service(MBeanUtilsInitSingleFileServlet.java:64) at weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:130) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256) at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)


What went wrong in the process? Help!
11 years ago
The log for the error is as follows:

<May 28, 2013 3:07:47 PM IST> <Error> <HTTP> <BEA-101020> <[weblogic.servlet.internal.WebAppServletContext@a8d6b3 - appName: '_workshop_auto_generated_ear_', name: '####', context-path: '/####'] Servlet failed with Exception
java.lang.NullPointerException
at jsp_servlet._jsp._xyz.__xxx._jspService(__xxx.java:268)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
Truncated. see log file for complete stacktrace
11 years ago
Oh yeah! _xxx.java is my JSP file.

Ok fine. But was that stack trace truncated due to the null reference in the JSP?
11 years ago
#1. Dog dog = (Dog) getServletContext().getAttribute("dog");

Okay, so the above piece of code has nothing to do with listener. All it is trying to do is access the application scope variable(set by the listener).

#2. Dog dog = (Dog) getServletContext.getAttribute("dog");

A typo mistake; missed out the '()'; Sorry!

#3. 3 Scopes to Servlet. So, to access an application scope variable, we are using ServletContext instance. That's great.

#4. Dog dog = (Dog) getAttribute("dog");

In the above line, we are just trying to access the variable "dog" in request scope. // not "doing". typo mistake on your part.

Thanks for the reply, friend. Take Care.



11 years ago