style="display:inline-block;width:728px;height:90px"
data-ad-client="ca-pub-5164839828746352"
data-ad-slot="7563230308">

WebSphere

Hola Amigos

Estoy tratando de montar una aplicación Java Web en WebSphere 8.5
Y mi aplicación ni siquiera puede conectarse a la base de datos
Estoy usando como Base de datos Oracle 11G, WebSphere 8.5, mi aplicación utiliza Hibernate, pero utilizo una conexión JDBC, el error que me despliega es lo siguiente

SRVE0293E: [Error de servlet]-[action]: java.lang.NoClassDefFoundError: com.visiongc.commons.persistence.hibernate.VgcHibernateSessionFactory (initialization failure)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:168)
at com.visiongc.framework.persistence.hibernate.FrameworkHibernateSessionFactory.openPersistenceSession(FrameworkHibernateSessionFactory.java:28)
at com.visiongc.framework.impl.FrameworkServiceFactory.openFrameworkService(FrameworkServiceFactory.java:99)
at com.visiongc.framework.impl.FrameworkServiceFactory.openFrameworkService(FrameworkServiceFactory.java:62)
at com.visiongc.commons.struts.action.VgcActionServlet.init(VgcActionServlet.java:37)
at javax.servlet.GenericServlet.init(GenericServlet.java:161)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:336)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.init(ServletWrapperImpl.java:168)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:456)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1027)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:895)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:195)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:522)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:311)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:87)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1783)

No tengo idea porque me esta dando este error, si alguien pudiera ayudarme se lo agradecería

Saludos y Gracias

Opciones de visualización de comentarios

Seleccione la forma que prefiera para mostrar los comentarios y haga clic en «Guardar las opciones» para activar los cambios.
Imagen de neko069

RTFS


java.lang.NoClassDefFoundError: com.visiongc.commons.persistence.hibernate.VgcHibernateSessionFactory

Checa con tu equipo de trabajo que alguien tenga ésa clase disponible.

Imagen de Kerwin

Struts

Hola Amigos

El problema anterior ya lo resolví, eran unas librerías de hibernate que había que actualizar, pero ahora tengo otro problema, y los errores que se me presentan son los siguientes

[12/6/12 9:10:36:219 BOT] 000000a6 FileRepositor A ADMR0016I: User defaultWIMFileBasedRealm/kerwin modified document cells/pc-websphereNode01Cell/applications/Administracion_war.ear/deployments/Administracion_war/Administracion.war/WEB-INF/web.xml.
[12/6/12 9:10:36:219 BOT] 000000a6 FileRepositor A ADMR0016I: User defaultWIMFileBasedRealm/kerwin modified document cells/pc-websphereNode01Cell/applications/Administracion_war.ear/deployments/Administracion_war/META-INF/ibm-application-runtime.props.
[12/6/12 9:11:14:784 BOT] 000000a6 servlet I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [Administracion_war] [/Admin] [/index.jsp]: Initialization successful.
[12/6/12 9:11:14:794 BOT] 000000a6 SystemOut O Hibernate: select this_.clave as clave14_0_, this_.valor as valor14_0_ from afw_message_resource this_ order by this_.clave asc
[12/6/12 9:11:15:005 BOT] 000000a6 TilesRequestP I org.apache.struts.tiles.TilesRequestProcessor initDefinitionsMapping Tiles definition factory found for request processor ''.
[12/6/12 9:11:15:025 BOT] 000000a6 VgcPropertyMe W com.visiongc.commons.struts.util.VgcPropertyMessageResources loadFrameworkResourcesWeb Resource MessageResourcesFrameworkWeb_en_US.properties Not Found.
[12/6/12 9:11:15:025 BOT] 000000a6 PropertyMessa W org.apache.struts.util.PropertyMessageResources loadLocale Resource MessageResourcesAppWeb_en_US.properties Not Found.
[12/6/12 9:11:15:035 BOT] 000000a6 VgcPropertyMe W com.visiongc.commons.struts.util.VgcPropertyMessageResources loadFrameworkResourcesWeb Resource MessageResourcesFrameworkWeb_en.properties Not Found.
[12/6/12 9:11:15:035 BOT] 000000a6 PropertyMessa W org.apache.struts.util.PropertyMessageResources loadLocale Resource MessageResourcesAppWeb_en.properties Not Found.
[12/6/12 9:11:15:035 BOT] 000000a6 SystemOut O Hibernate: delete from afw_lock where instancia=?
[12/6/12 9:11:15:045 BOT] 000000a6 SystemOut O Hibernate: delete from afw_lock_read where instancia=?
[12/6/12 9:11:15:045 BOT] 000000a6 SystemOut O Hibernate: select usersessio0_.session_id as session1_8_0_, usersessio0_.usuario_id as usuario2_8_0_, usersessio0_.persona_id as persona3_8_0_, usersessio0_.login_ts as login4_8_0_, usersessio0_.remote_address as remote5_8_0_, usersessio0_.remote_host as remote6_8_0_, usersessio0_.remote_user as remote7_8_0_, usersessio0_.url as url8_0_ from afw_user_session usersessio0_ where usersessio0_.session_id=?
[12/6/12 9:11:15:055 BOT] 000000a6 SystemOut O Hibernate: select this_.parametro as parametro10_0_, this_.valor as valor10_0_ from afw_configuracion this_ order by this_.parametro asc
[12/6/12 9:11:15:055 BOT] 000000a6 servlet E com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0068E: An exception was thrown by one of the service methods of the servlet [action] in application [Administracion_war]. Exception created : [java.lang.NullPointerException
at com.sun.faces.application.ViewHandlerImpl.findMatch(ViewHandlerImpl.java:409)
at com.sun.faces.application.ViewHandlerImpl.calculateLocale(ViewHandlerImpl.java:335)
at org.apache.struts.faces.application.ViewHandlerImpl.calculateLocale(ViewHandlerImpl.java:142)
at com.sun.faces.application.ViewHandlerImpl.createView(ViewHandlerImpl.java:283)
at org.apache.struts.faces.application.ViewHandlerImpl.createView(ViewHandlerImpl.java:152)
at org.apache.struts.faces.application.FacesTilesRequestProcessor.doForward(FacesTilesRequestProcessor.java:141)
at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:384)
at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:344)
at org.apache.struts.faces.application.FacesTilesRequestProcessor.processForwardConfig(FacesTilesRequestProcessor.java:287)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1858)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:446)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:575)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1214)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:774)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:456)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1027)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3703)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:962)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:195)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:522)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:311)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:87)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1783)
]
[12/6/12 9:11:15:075 BOT] 000000a6 FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on C:\Archivos de programa\IBM\WebSphere\AppServer\profiles\AppSrv01\logs\ffdc\server1_2a6e582d_12.12.06_09.11.15.065414886804230484081.txt com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch 448
[12/6/12 9:11:15:075 BOT] 000000a6 LocalTranCoor E WLTC0017E: Resources rolled back due to setRollbackOnly() being called.
[12/6/12 9:11:15:075 BOT] 000000a6 webapp E com.ibm.ws.webcontainer.webapp.WebApp logServletError SRVE0293E: [Servlet Error]-[action]: java.lang.NullPointerException
at com.sun.faces.application.ViewHandlerImpl.findMatch(ViewHandlerImpl.java:409)
at com.sun.faces.application.ViewHandlerImpl.calculateLocale(ViewHandlerImpl.java:335)
at org.apache.struts.faces.application.ViewHandlerImpl.calculateLocale(ViewHandlerImpl.java:142)
at com.sun.faces.application.ViewHandlerImpl.createView(ViewHandlerImpl.java:283)
at org.apache.struts.faces.application.ViewHandlerImpl.createView(ViewHandlerImpl.java:152)
at org.apache.struts.faces.application.FacesTilesRequestProcessor.doForward(FacesTilesRequestProcessor.java:141)
at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:384)
at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:344)
at org.apache.struts.faces.application.FacesTilesRequestProcessor.processForwardConfig(FacesTilesRequestProcessor.java:287)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1858)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:446)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:575)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1214)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:774)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:456)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1027)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3703)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:962)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:195)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:522)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:311)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:87)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1783)

[12/6/12 9:11:23:577 BOT] 000000a2 servlet I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [isclite] [/ibm/console] [/com.ibm.ws.console.servermanagement/collectionTableLayout.jsp]: Initialization successful.
[12/6/12 9:11:27:403 BOT] 000000a2 servlet I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [isclite] [/ibm/console] [/com.ibm.ws.console.servermanagement/tabsLayout.jsp]: Initialization successful.
[12/6/12 9:11:27:603 BOT] 000000a2 servlet I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [isclite] [/ibm/console] [/com.ibm.ws.console.servermanagement/AppServerConfigGenPropLayout.jsp]: Initialization successful.
[12/6/12 9:11:27:683 BOT] 000000a2 servlet I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [isclite] [/ibm/console] [/secure/layouts/checkBoxLayout.jsp]: Initialization successful.
[12/6/12 9:11:27:713 BOT] 000000a2 servlet I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [isclite] [/ibm/console] [/secure/layouts/customLayout.jsp]: Initialization successful.
[12/6/12 9:11:27:723 BOT] 000000a2 servlet I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [isclite] [/ibm/console] [/com.ibm.ws.console.servermanagement/ClassLoadingPolicyLayout.jsp]: Initialization successful.
[12/6/12 9:11:27:753 BOT] 000000a2 servlet I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [isclite] [/ibm/console] [/com.ibm.ws.console.servermanagement/addPropLayout.jsp]: Initialization successful.
[12/6/12 9:11:27:923 BOT] 000000a2 servlet I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [isclite] [/ibm/console] [/com.ibm.ws.console.servermanagement/serverindex/NamedEndPointSummary.jsp]: Initialization successful.
[12/6/12 9:11:32:380 BOT] 000000a2 servlet I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [isclite] [/ibm/console] [/com.ibm.ws.console.probdetermination/switchToHPEL.jsp]: Initialization successful.
[12/6/12 9:11:32:420 BOT] 000000a2 servlet I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [isclite] [/ibm/console] [/secure/layouts/addPropLayout.jsp]: Initialization successful.
[12/6/12 9:11:34:122 BOT] 000000a2 servlet I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [isclite] [/ibm/console] [/secure/layouts/configGenGenericPropLayout.jsp]: Initialization successful.
[12/6/12 9:11:34:192 BOT] 000000a2 servlet I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [isclite] [/ibm/console] [/secure/layouts/headingLayout.jsp]: Initialization successful.
[12/6/12 9:11:34:222 BOT] 000000a2 servlet I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [isclite] [/ibm/console] [/com.ibm.ws.console.probdetermination/submitLayout.jsp]: Initialization successful.
[12/6/12 9:11:34:242 BOT] 000000a2 servlet I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [isclite] [/ibm/console] [/com.ibm.ws.console.probdetermination/systemOutRotation.jsp]: Initialization successful.
[12/6/12 9:11:34:262 BOT] 000000a2 servlet I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [isclite] [/ibm/console] [/com.ibm.ws.console.probdetermination/systemOutPrint.jsp]: Initialization successful.
[12/6/12 9:11:34:282 BOT] 000000a2 servlet I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [isclite] [/ibm/console] [/com.ibm.ws.console.probdetermination/systemErrRotation.jsp]: Initialization successful.
[12/6/12 9:11:34:302 BOT] 000000a2 servlet I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [isclite] [/ibm/console] [/com.ibm.ws.console.probdetermination/systemErrPrint.jsp]: Initialization successful.
[12/6/12 9:11:35:785 BOT] 000000a2 servlet I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [isclite] [/ibm/console] [/secure/layouts/runtimeGenGenericPropLayout.jsp]: Initialization successful.
[12/6/12 9:11:35:865 BOT] 000000a2 servlet I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [isclite] [/ibm/console] [/com.ibm.ws.console.probdetermination/traceCustom.jsp]: Initialization successful.
[12/6/12 9:11:35:885 BOT] 000000a2 servlet I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [isclite] [/ibm/console] [/com.ibm.ws.console.probdetermination/customSelectDropLayout.jsp]: Initialization successful.
[12/6/12 9:11:37:928 BOT] 000000a2 servlet I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [isclite] [/ibm/console] [/com.ibm.ws.console.probdetermination/logfileViewLayout.jsp]: Initialization successful.

He estado investigando y al parecer tengo que configurar algo en WebSphere para que funcione el Structs, alguien puede ayudarme

style="display:inline-block;width:728px;height:90px"
data-ad-client="ca-pub-5164839828746352"
data-ad-slot="7563230308">