BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

JBuilder 2006 & BAS 6.6

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Enterprise
View previous topic :: View next topic  
Author Message
Giordano Vicoli
Guest





PostPosted: Mon May 08, 2006 10:15 am    Post subject: JBuilder 2006 & BAS 6.6 Reply with quote



Dear All,

First of all I have to say that I am not new to EJB and more in general
to J2EE development. I used BES since 4.0 release. In the last time I
preferred JBoss because it implements J2EE 1.4 from a lot of time but
today I tried the new BAS 6.6.

I just downloaded BAS 6.6 and the plugin for JBuilder 2006.
I immediately tried a Session Bean development. I developed a simple
Stateless Session Bean with a simple hello method. I deployed
it and all was working. Then I created the TestClient using the Wizard
and when I run it I received and error messages.

Then I tried to expose the Session Bean as WebService but I had an error
during compilation.

Then I tried to create a new Simple WebApplication using JSF, I had some
errors during compilation but I avoided them unchecking a property on
JSP errors. I deployed it but nothing is working.

Where is the problem????

Many thanks and bye,
Back to top
Tomohiro Takahashi
Guest





PostPosted: Tue May 09, 2006 3:15 am    Post subject: Re: JBuilder 2006 & BAS 6.6 Reply with quote



Hi,

I get same error when 'new IniticalContext()' is called as follows.
My environment is JBuilder2006 Enterprise and Borland AppServer6.6.

--------------------------------------------------------------------------------
C:\BAS66\jdk\jdk1.5.0\bin\javaw -classpath "...;C:\BAS66\lib\xercesImpl.jar;C:\BAS66\lib\asrt.jar;C:\BAS66\lib\mail.jar;C:\BAS66\lib\vbjorb.jar;..." -Dvbroker.agent.port=16600 bas66test.Enterprise1TestClient1
Exception in thread "main" java.lang.Error: org.omg.CORBA.ORBPackage.InvalidName: org.omg.CORBA.NO_IMPLEMENT: This is a locally constrained object. vmcid: 0x0 minor code: 0 completed: No
at com.inprise.j2ee.utils.POAUtils.getRootPoa(POAUtils.java:57)
at com.inprise.ejb.Init.resolve(Init.java:60)
at com.inprise.vbroker.interceptor.InterceptorManagerImpl$ServiceManager.resolve(Unknown Source)
at com.inprise.vbroker.orb.ORB.resolve_initial_references(Unknown Source)
at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:340)
at com.sun.jndi.cosnaming.CNCtx.initOrbAndRootContext(CNCtx.java:237)
at com.sun.jndi.cosnaming.CNCtx.<init>(CNCtx.java:69)
at com.sun.jndi.cosnaming.CNCtxFactory.getInitialContext(CNCtxFactory.java:32)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:197)
at com.inprise.j2ee.jndi.CtxFactory.getInitialContext(CtxFactory.java:59)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:175)
at bas66test.Enterprise1TestClient1.initialize(Enterprise1TestClient1.java:24)
at bas66test.Enterprise1TestClient1.<init>(Enterprise1TestClient1.java:16)
at bas66test.Enterprise1TestClient1.main(Enterprise1TestClient1.java:82)
--------------------------------------------------------------------------------

Giordano Vicoli wrote:
Quote:

Dear All,

First of all I have to say that I am not new to EJB and more in general
to J2EE development. I used BES since 4.0 release. In the last time I
preferred JBoss because it implements J2EE 1.4 from a lot of time but
today I tried the new BAS 6.6.

I just downloaded BAS 6.6 and the plugin for JBuilder 2006.
I immediately tried a Session Bean development. I developed a simple
Stateless Session Bean with a simple hello method. I deployed
it and all was working. Then I created the TestClient using the Wizard
and when I run it I received and error messages.

--
KEN <TAKAHASHI, Tomohiro>
Training & Consulting / Professional Service Division
Borland Software Corporation
ttakahashi (AT) borland (DOT) com
http://www.borland.co.jp/

Borland Software is a global leader in Software Delivery Optimization,
helping customers maximize the business value of their software.
Back to top
Tomohiro Takahashi
Guest





PostPosted: Tue May 09, 2006 9:15 am    Post subject: Re: JBuilder 2006 & BAS 6.6 Reply with quote



Hi,

I tried 'vbj.exe' instead of 'java.exe'. It works fine!
I think that some properties and .jar files are required when using java.exe.

Tomohiro Takahashi wrote:
Quote:

Hi,

I get same error when 'new IniticalContext()' is called as follows.
My environment is JBuilder2006 Enterprise and Borland AppServer6.6.

--------------------------------------------------------------------------------
C:\BAS66\jdk\jdk1.5.0\bin\javaw -classpath "...;C:\BAS66\lib\xercesImpl.jar;C:\BAS66\lib\asrt.jar;C:\BAS66\lib\mail.jar;C:\BAS66\lib\vbjorb.jar;..." -Dvbroker.agent.port=16600 bas66test.Enterprise1TestClient1
Exception in thread "main" java.lang.Error: org.omg.CORBA.ORBPackage.InvalidName: org.omg.CORBA.NO_IMPLEMENT: This is a locally constrained object. vmcid: 0x0 minor code: 0 completed: No
at com.inprise.j2ee.utils.POAUtils.getRootPoa(POAUtils.java:57)
at com.inprise.ejb.Init.resolve(Init.java:60)
at com.inprise.vbroker.interceptor.InterceptorManagerImpl$ServiceManager.resolve(Unknown Source)
at com.inprise.vbroker.orb.ORB.resolve_initial_references(Unknown Source)
at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:340)
at com.sun.jndi.cosnaming.CNCtx.initOrbAndRootContext(CNCtx.java:237)
at com.sun.jndi.cosnaming.CNCtx.<init>(CNCtx.java:69)
at com.sun.jndi.cosnaming.CNCtxFactory.getInitialContext(CNCtxFactory.java:32)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:197)
at com.inprise.j2ee.jndi.CtxFactory.getInitialContext(CtxFactory.java:59)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:175)
at bas66test.Enterprise1TestClient1.initialize(Enterprise1TestClient1.java:24)
at bas66test.Enterprise1TestClient1.<init>(Enterprise1TestClient1.java:16)
at bas66test.Enterprise1TestClient1.main(Enterprise1TestClient1.java:82)
--------------------------------------------------------------------------------

Giordano Vicoli wrote:

Dear All,

First of all I have to say that I am not new to EJB and more in general
to J2EE development. I used BES since 4.0 release. In the last time I
preferred JBoss because it implements J2EE 1.4 from a lot of time but
today I tried the new BAS 6.6.

I just downloaded BAS 6.6 and the plugin for JBuilder 2006.
I immediately tried a Session Bean development. I developed a simple
Stateless Session Bean with a simple hello method. I deployed
it and all was working. Then I created the TestClient using the Wizard
and when I run it I received and error messages.

--
KEN <TAKAHASHI, Tomohiro
Training & Consulting / Professional Service Division
Borland Software Corporation
ttakahashi (AT) borland (DOT) com
http://www.borland.co.jp/

Borland Software is a global leader in Software Delivery Optimization,
helping customers maximize the business value of their software.

--
KEN <TAKAHASHI, Tomohiro>
Training & Consulting / Professional Service Division
Borland Software Corporation
ttakahashi (AT) borland (DOT) com
http://www.borland.co.jp/

Borland Software is a global leader in Software Delivery Optimization,
helping customers maximize the business value of their software.
Back to top
Tomohiro Takahashi
Guest





PostPosted: Tue May 09, 2006 9:15 am    Post subject: Re: JBuilder 2006 & BAS 6.6 Reply with quote

Hi,

I added '-Djava.endorsed.dirs=C:\BAS66\lib\endorsed' to java.exe.
It works fine, too.
So, I guess the property is required for Standalone EJB Client.

Tomohiro Takahashi wrote:
Quote:

Hi,

I tried 'vbj.exe' instead of 'java.exe'. It works fine!
I think that some properties and .jar files are required when using java.exe.

Tomohiro Takahashi wrote:

Hi,

I get same error when 'new IniticalContext()' is called as follows.
My environment is JBuilder2006 Enterprise and Borland AppServer6.6.

--------------------------------------------------------------------------------
C:\BAS66\jdk\jdk1.5.0\bin\javaw -classpath "...;C:\BAS66\lib\xercesImpl.jar;C:\BAS66\lib\asrt.jar;C:\BAS66\lib\mail.jar;C:\BAS66\lib\vbjorb.jar;..." -Dvbroker.agent.port=16600 bas66test.Enterprise1TestClient1
snip


--
KEN <TAKAHASHI, Tomohiro>
Training & Consulting / Professional Service Division
Borland Software Corporation
ttakahashi (AT) borland (DOT) com
http://www.borland.co.jp/

Borland Software is a global leader in Software Delivery Optimization,
helping customers maximize the business value of their software.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Enterprise All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.