• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Upgrading our app from JDK1.4 to JDK1.5

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am trying to make our application JDK 1.5 compatible. Currently we are using JDK1.4 which is working fine.
While building the ear file I am getting symbol not found error.
I am getting this error for the enterprise method. I am trying to invoke the stateless session beans using remote interface.

My project structure looks like

Project
+ProjectEjb
+ProjectWeb

I am trying to invoke the ejb object in projectEjb from projectWeb using remoteinterface




[error]
[javac] C:\Inventory_Wrkspc\Project\ProjectWeb\JavaSource\com\bank\Web\SendStatusServlet.java:161: cannotfind symbol
[javac] symbol : method sendStatus(java.util.Calendar,java.util.Calendar)
[javac] location: interface com.bank.facade.ejb.Facade
[javac] status = facade.sendStatus(startDate, endDate);
[javac]
[/error]

Im using the same script file for both JDK1.4 & 1.5. Able to build the ear using 1.4 were as not with help of 1.5

Kindly help me in fixing this issue.

Thanks,
Karthik
 
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In your remote interface, your method call is

whereas in your log, its saying

Is this typo or what? This may not be related to your actual issue but thought to point it out
 
karthikeyan ramya
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Manoj, i updated my thread.. If you hav any clue on my issue it will be great helpful for me..
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you post the code for com.bank.facade.ejb.Facade? There are differences in Date handling between the two versions but nothing I can think of that would explain this.
 
karthikeyan ramya
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

 
manoj r patil
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think you have tailored the exception in the log. Can you please put the detailed stack trace of the exception which might give some hint?
 
Paul Sturrock
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is that the code? Your message says [b]interface[/i] com.bank.facade.ejb.Facade is wrong.
 
This is my favorite show. And this is my favorite tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic