This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 185077 - IDE becomes unresponsive while deploying to WebLogic
Summary: IDE becomes unresponsive while deploying to WebLogic
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: WebLogic (show other bugs)
Version: 6.x
Hardware: PC Mac OS X
: P2 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-27 11:05 UTC by Petr Jiricka
Modified: 2010-05-05 09:55 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log + thread dumps (90.18 KB, application/octet-stream)
2010-04-27 11:05 UTC, Petr Jiricka
Details
IDE log + thread dumps (sorry, this is the correct one) (694.48 KB, text/plain)
2010-04-27 11:07 UTC, Petr Jiricka
Details
The project (60.21 KB, application/zip)
2010-04-27 11:07 UTC, Petr Jiricka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2010-04-27 11:05:48 UTC
Created attachment 98116 [details]
IDE log + thread dumps

I tried to deploy the attached Maven-JavaEE5 webapp to WebLogic 10.3.2.0. However, the IDE became unresponsive and the deployment progress bar was running forever. I am attaching the IDE console output including a couple thread dumps, and the project I was trying to deploy.

The deployment involved the Derby driver deployment, which only works on the 2nd start of the server - I believe this happened on the second deployment when the driver was already present on the server.
Comment 1 Petr Jiricka 2010-04-27 11:07:00 UTC
Created attachment 98117 [details]
IDE log + thread dumps (sorry, this is the correct one)
Comment 2 Petr Jiricka 2010-04-27 11:07:22 UTC
Created attachment 98118 [details]
The project
Comment 3 Petr Hejl 2010-04-27 12:38:37 UTC
I get many exceptions in server log. Can you confirm that?

####<Apr 27, 2010 2:34:07 PM CEST> <Error> <HTTP> <sickboy-pc> <examplesServer> <[ACTIVE] ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1272371647447> <BEA-101020> <[ServletContext@23996886[app:mavenprojectWL.war module:mavenprojectWL.war path:/mavenprojectWL spec-version:2.5]] Servlet failed with Exception
java.lang.IllegalArgumentException: An exception occurred while creating a query in EntityManager: 
Exception Description: Error compiling the query [select object(o) from Customer as o]. Unknown entity type [Customer].
	at org.eclipse.persistence.internal.jpa.EntityManagerImpl.createQuery(EntityManagerImpl.java:1241)
	at com.mycompany.mavenprojectwl.CustomerJpaController.findCustomerEntities(CustomerJpaController.java:135)
	at com.mycompany.mavenprojectwl.CustomerJpaController.findCustomerEntities(CustomerJpaController.java:125)
	at jsp_servlet.__index._jspService(__index.java:92)
	at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
	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:292)
	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3594)
	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
	at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
	at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
	at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
	at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
	at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

Caused By: Exception [EclipseLink-8034] (Eclipse Persistence Services - 1.2.0.v20091016-r5565): org.eclipse.persistence.exceptions.JPQLException
Exception Description: Error compiling the query [select object(o) from Customer as o]. Unknown entity type [Customer].
	at org.eclipse.persistence.exceptions.JPQLException.entityTypeNotFound(JPQLException.java:483)
	at org.eclipse.persistence.internal.jpa.parsing.ParseTreeContext.classForSchemaName(ParseTreeContext.java:138)
	at org.eclipse.persistence.internal.jpa.parsing.SelectNode.getClassOfFirstVariable(SelectNode.java:327)
	at org.eclipse.persistence.internal.jpa.parsing.SelectNode.getReferenceClass(SelectNode.java:316)
	at org.eclipse.persistence.internal.jpa.parsing.ParseTree.getReferenceClass(ParseTree.java:439)
	at org.eclipse.persistence.internal.jpa.parsing.ParseTree.adjustReferenceClassForQuery(ParseTree.java:79)
	at org.eclipse.persistence.internal.jpa.parsing.JPQLParseTree.populateReadQueryInternal(JPQLParseTree.java:103)
	at org.eclipse.persistence.internal.jpa.parsing.JPQLParseTree.populateQuery(JPQLParseTree.java:84)
	at org.eclipse.persistence.internal.jpa.EJBQueryImpl.buildEJBQLDatabaseQuery(EJBQueryImpl.java:170)
	at org.eclipse.persistence.internal.jpa.EJBQueryImpl.buildEJBQLDatabaseQuery(EJBQueryImpl.java:141)
	at org.eclipse.persistence.internal.jpa.EJBQueryImpl.<init>(EJBQueryImpl.java:93)
	at org.eclipse.persistence.internal.jpa.EJBQueryImpl.<init>(EJBQueryImpl.java:77)
	at org.eclipse.persistence.internal.jpa.EntityManagerImpl.createQuery(EntityManagerImpl.java:1239)
	at com.mycompany.mavenprojectwl.CustomerJpaController.findCustomerEntities(CustomerJpaController.java:135)
	at com.mycompany.mavenprojectwl.CustomerJpaController.findCustomerEntities(CustomerJpaController.java:125)
	at jsp_servlet.__index._jspService(__index.java:92)
	at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
	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:292)
	at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
	at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3594)
	at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
	at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
	at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
	at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
	at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
	at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Comment 4 Petr Jiricka 2010-04-27 18:51:51 UTC
I was getting this exception when I tried with WL 10.3.3.0dev, but not with 10.3.2.0. But yes it's possible that these exceptions could appear.
Comment 5 Petr Hejl 2010-05-05 09:55:52 UTC
Should be fixed in web-main c4c477d32221. Feel free to reopen.