portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "hongkunan (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Updated: (JS2-1048) jetspeed2.2 Deployments weblogic92 ERROR:datasource JetspeedDS Bean create is Error
Date Thu, 30 Jul 2009 10:11:14 GMT

     [ https://issues.apache.org/jira/browse/JS2-1048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

hongkunan updated JS2-1048:
---------------------------

    Comment: was deleted

(was: when i deploy it in weblogic92,
start error Message: 

java.io.FileNotFoundException: ServletContext resource [/E:/Apache/Jetspeed-2.2/webapps/jetspeed/WEB-INF/templates/]
cannot be resolved to absolute file path - web application archive not expanded?

why servlet resouce path is [/E:/Apache/Jetspeed-2.2/webapps/jetspeed/WEB-INF/templates/ ],
not [E:/Apache/Jetspeed-2.2/webapps/jetspeed/WEB-INF/templates/] ???
this is bug????


2009-07-30 15:25:49,015 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)']
DEBUG org.springframework.ui.velocity.VelocityEngineFactoryBean - Cannot resolve resource
loader path [E:/Apache/Jetspeed-2.2/webapps/jetspeed/WEB-INF/templates/] to [java.io.File]:
using SpringResourceLoader
java.io.FileNotFoundException: ServletContext resource [/E:/Apache/Jetspeed-2.2/webapps/jetspeed/WEB-INF/templates/]
cannot be resolved to absolute file path - web application archive not expanded?
	at org.springframework.web.util.WebUtils.getRealPath(WebUtils.java:234)
	at org.springframework.web.context.support.ServletContextResource.getFile(ServletContextResource.java:142)
	at org.springframework.ui.velocity.VelocityEngineFactory.initVelocityResourceLoader(VelocityEngineFactory.java:309)
	at org.springframework.ui.velocity.VelocityEngineFactory.createVelocityEngine(VelocityEngineFactory.java:234)
	at org.springframework.ui.velocity.VelocityEngineFactoryBean.afterPropertiesSet(VelocityEngineFactoryBean.java:57)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
	at org.apache.jetspeed.components.SpringComponentManager.start(SpringComponentManager.java:308)
	at org.apache.jetspeed.engine.JetspeedEngine.start(JetspeedEngine.java:121)
	at org.apache.jetspeed.engine.JetspeedServlet.init(JetspeedServlet.java:217)
	at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:278)

)

> jetspeed2.2 Deployments weblogic92 ERROR:datasource JetspeedDS Bean create is Error
> -----------------------------------------------------------------------------------
>
>                 Key: JS2-1048
>                 URL: https://issues.apache.org/jira/browse/JS2-1048
>             Project: Jetspeed 2
>          Issue Type: Bug
>    Affects Versions: 2.2.0
>         Environment: Web Server:Weblogic92
> Database:  Oracle92
>            Reporter: hongkunan
>
> jetspeed2.2 Deployments weblogic92 ERROR:datasource JetspeedDS Bean create is Error
> This is a bug,I already fix it;
> need modify:jetspeed\WEB-INF\weblogic.xml
>   <reference-descriptor>
>     <resource-description>
>       <res-ref-name>jdbc/jetspeed</res-ref-name>
>       <jndi-name>jdbc/jetspeed</jndi-name> <!-- org is JetspeedDB -->
>     </resource-description>
>   </reference-descriptor>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message