×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Hi, I am getting a new problem. I

Hi, I am getting a new problem. I

Hi, I am getting a new problem. I

(OP)
Hi,
I am getting a new problem. I just declared two event types in SysA and SysB in SysApackage and SysBpackage and collaboration rules [cr_FileIn, cr_FileOut and cr_JavaA2B].
Compilation of cr_FileIn and cr_FileOut were simple as they were java-passthroughs. But during compilation of cr_JavaA2B , I  got the error as below


Compiler errors.
C:\EGATE\Client\etd\SysA.jar(SysApackage/SysA.java):20: class SysA is public, should be declared in a file named SysA.java
(source unavailable)
C:\EGATE\Client\etd\SysB.jar(SysBpackage/SysB.java):20: class SysB is public, should be declared in a file named SysB.java
(source unavailable)
2 errors

Compile Failed.

Can anybody help me in resolving this problem.
Thanks in advance
Ifxtechie

RE: Hi, I am getting a new problem. I

Did you save the two classes with the names SysA.java and SysB.java before making a jar-File?

If yes, how did you generate the jar-Files (in command line with "jar" and any options)?

nocomm

RE: Hi, I am getting a new problem. I

(OP)
Hi,
Thanks for the reply. Yes, I saved them in the respective names. But I don't know why it complains me about this at the time of encompassing business rules.
Thanks
I

RE: Hi, I am getting a new problem. I

I'm getting same problem when trying to compile Collaboration Rule inside Collaboration Editor.
Strange thing is that whenever I'm reboot PC right after I got this message and try to complile same rule (no modification was done) it compiles. Unfortunatly this doesn't work every time.

My platform Windows XP Pro, eInsight 4.5.3 and eGate 4.5.? (don't know version)

Any ideas?

RE: Hi, I am getting a new problem. I

Some solution:

- After compiling your SysA event using ETD Editor, close ETD Editor.
- Open C:\EGATE\Client\etd\SysA.jar file and remove SysA.java file from it. (I use WinZip)
- Go to eGate Enterprise Manager and commit to Sendbox this file SysA.jar. (Otherwise it may sync it with version from repository)
- Compile your Collaboration rule as usual.

P.S. For eInsight (my case) this works too but with some modifications.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close