Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Jasper Exception when using Visibroker 5.2.1

Posted on 2004-04-30
6
Medium Priority
?
244 Views
Last Modified: 2010-03-31
We are upgrading visibroker 4.5 to 5.2.1 (BES 5.2.1). Along with migration we are also convertion BOA to POA.

With the new version of visibroker am getting the following error
org.apache.jasper.JasperException: com/inprise/vbroker/orb/ORB
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)

The code  is perfectly fine with visibroker 4.5 (on a different machine). Pls do help
0
Comment
Question by:Radhalakshmi
  • 3
  • 3
6 Comments
 
LVL 30

Expert Comment

by:Mayank S
ID: 10958071
Perhaps the entire stack-trace would be more helpful.
0
 

Author Comment

by:Radhalakshmi
ID: 10958738
here is the entire stack trace.

org.apache.jasper.JasperException: com/inprise/vbroker/orb/ORB
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
      at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2416)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
      at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
      at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
      at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:601)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
      at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
      at java.lang.Thread.run(Thread.java:513)
0
 
LVL 30

Expert Comment

by:Mayank S
ID: 10958895
Unfortunately, it didn't give a very friendly stack-trace. Are you using the class com.inprise.vbroker.orb.ORB? Where is this class? Its containing JAR (if it is JARed) or directory needs to be in the classpath.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

Author Comment

by:Radhalakshmi
ID: 10974943
Yes we are using com.inprise.vbroker.orb.ORB and it is in vbjorb.jar that comes with Visibroker installation and the classpath  has it. The earlier version of visibroker gives no errors, but the same code throws this exception with the new version of visibroker. i think am missing out something that is needed for the new version.
0
 

Author Comment

by:Radhalakshmi
ID: 11048592
Visibroker 5.2.1 requires two additional jars namely lm.jar and vbsec.jar. On including these in the common/lib of the webserver and adding it to the CLASSPATH in setclasspath.sh solves the problem!!
0
 
LVL 30

Accepted Solution

by:
Mayank S earned 150 total points
ID: 11049002
Ah, so then you would've been getting some ClassNotFoundException for some other classes instead. I said:

>> Its containing JAR (if it is JARed) or directory needs to be in the classpath.

Of course, all *needed* JARs need to be in the classpath ;-)
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
Suggested Courses

886 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question