关于tomcat5.5换weblogic10.3的问题,各位高手帮看看

chaoloveyou 2009-10-22 02:12:39
以前我们用的是My Eclipse5.5+tomcat5.5 开发struts2+hibernate的项目
现在客户想把tomcat换成weblogic10.3,当我将项目换到weblogic上的时候怎么提示空指针呢?这个项目在tomcat上是好使的。麻烦给位帮新人看看,谢谢了!
错误代码

]] Root cause of ServletException.
java.lang.NullPointerException
at com.economy.service.VisceraTitleServImp.getVisceraTitle(VisceraTitleServImp.java:176)
at publics.Forward.changchun(Forward.java:89)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
Truncated. see log file for complete stacktrace
>



是不是在weblogic上要对hibernate进行配置呀
...全文
22 点赞 收藏 1
写回复
1 条回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
chaoloveyou 2009-10-22
难道没人遇到这种情况吗

Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@1dbe7d [ connectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@17ace4a [ acquireIncrement -> 2, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, idleConnectionTestPeriod -> 3000, initialPoolSize -> 1, maxIdleTime -> 5000, maxPoolSize -> 25, maxStatements -> 100, maxStatementsPerConnection -> 0, minPoolSize -> 1, nestedDataSource -> com.mchange.v2.c3p0.DriverManagerDataSource@1087aa9 [ description -> null, driverClass -> null, factoryClassLocation -> null, jdbcUrl -> jdbc:oracle:thin:@10.177.2.172:1521:houseDB, properties -> {user=******, password=******} ] , preferredTestQuery -> null, propertyCycle -> 300, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, usesTraditionalReflectiveProxies -> false ] , factoryClassLocation -> null, numHelperThreads -> 3, poolOwnerIdentityToken -> 1dbe7d ]
<2009-10-22 下午04时04分04秒 CST> <Error> <HTTP> <BEA-101017> <[weblogic.servlet.internal.WebAppServletContext@578f77 - appName: '_appsdir_houseWeb_dir', name: 'houseWeb', context-path: '/houseWeb', spec-version: '2.5', request: weblogic.servlet.internal.ServletRequestImpl@1c8ba88[
POST /houseWeb/manage/login.do HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
Referer: http://localhost:7001/houseWeb/manage/
Accept-Language: zh-cn
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Content-Length: 44
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: JSESSIONID=q5zvKgRZ8WgBJDvwySqJHzkL2RXHvG0QxhQRj2k241yLdDVQFTNp!-1477128718
回复
相关推荐
发帖
Web开发应用服务器
创建于2007-09-28

5581

社区成员

Web开发应用服务器相关讨论专区
申请成为版主
帖子事件
创建了帖子
2009-10-22 02:12
社区公告
暂无公告