Hi,

It seems like naming-*.jars are missing. You need create OSGi bundles out
of them.

Thanks,
Sameera.

On Monday, February 6, 2012, Pradeep Fernando <prad...@wso2.com> wrote:
> Hi,
>
> I moved the carbon.utils bundle to repository/component/plugin. (removed
the jar under /lib). While starting carbon server i'm getting this error.
I'm not that familiar with this code. If someone can give me, bit of
context that would be helpful.
>
> my current guess is that this supposed to get initialized within non-OSGi
env.
>
>
> thanks,
> --Pradeep
>
>
>
>
>
>
> Caused by: javax.naming.NoInitialContextException: Failed to create
InitialContext using factory specified in hash table. [Root exception is
java.lang.ClassNotFoundException: class
org.apache.naming.java.javaURLContextFactory not found]
>     at
org.wso2.carbon.utils.multitenancy.CarbonContextHolder$CarbonInitialJNDIContextFactoryBuilder.createInitialContextFactory(CarbonContextHolder.java:830)
>     at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:664)
>     at
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
>     at
javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:316)
>     at javax.naming.InitialContext.bind(InitialContext.java:400)
>     at
javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java:625)
>     at
javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:412)
>     ... 39 more
> Caused by: java.lang.ClassNotFoundException: class
org.apache.naming.java.javaURLContextFactory not found
>     at
org.wso2.carbon.utils.multitenancy.CarbonContextHolder.classForName(CarbonContextHolder.java:1527)
>     at
org.wso2.carbon.utils.multitenancy.CarbonContextHolder.access$600(CarbonContextHolder.java:83)
>     at
org.wso2.carbon.utils.multitenancy.CarbonContextHolder$CarbonInitialJNDIContextFactoryBuilder.createInitialContextFactory(CarbonContextHolder.java:826)
>     ... 45 more
>
>

-- 
Sameera Jayasoma
Technical Lead and Product Manager, WSO2 Carbon

WSO2, Inc. (http://wso2.com)
email: same...@wso2.com
blog: http://tech.jayasoma.org

Lean . Enterprise . Middleware
_______________________________________________
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to