Discussion:
RuntimeError at CreateInstance(......)
(too old to reply)
Michael E.
2009-07-21 13:12:57 UTC
Permalink
Hello

i have troubles to use the CreateInstance(...)-statement. following
code generate an error:
TRY
ll_rcf = its_jag.CreateInstance (inv_Zuteilung, "efar/zuteilung")
// its_jag is a TransactoinServer !!
CATCH (runtimeerror e)
inv_Log.TraceLog( METHOD_NAME + "--> EM: Exception = " + e.GetMessage
() )
its_jag.SetAbort( );
END TRY

my error:
"Exception = Unresolvable external ....my_class..... when linking
reference at line 47 in retrieveexbefore event of
object ....my_xxxxxx...."

i have two EA-Servers in action - and the problem is only on one the
two servers - the productive-server works fine with this components.
the software-versions are:
EA-Server 5.1.0
PowerBuilder 9.0.3

i have tryed to re-deploy all of the project, to delete the current
component in the ea-server and re-deploy, to re-generate all my
proxies.....and so on....... but i can't find the error.

have anyone a clue for my problem ??
many thanks in advance
Michael
Millard F. Brown III[Team Sybase]
2009-07-23 14:04:48 UTC
Permalink
Check that the package is installed (not just deployed) on both servers.
--
Regards,
Millard[TeamSybase]
Post by Michael E.
Hello
i have troubles to use the CreateInstance(...)-statement. following
TRY
ll_rcf = its_jag.CreateInstance (inv_Zuteilung, "efar/zuteilung")
// its_jag is a TransactoinServer !!
CATCH (runtimeerror e)
inv_Log.TraceLog( METHOD_NAME + "--> EM: Exception = " + e.GetMessage
() )
its_jag.SetAbort( );
END TRY
"Exception = Unresolvable external ....my_class..... when linking
reference at line 47 in retrieveexbefore event of
object ....my_xxxxxx...."
i have two EA-Servers in action - and the problem is only on one the
two servers - the productive-server works fine with this components.
EA-Server 5.1.0
PowerBuilder 9.0.3
i have tryed to re-deploy all of the project, to delete the current
component in the ea-server and re-deploy, to re-generate all my
proxies.....and so on....... but i can't find the error.
have anyone a clue for my problem ??
many thanks in advance
Michael
Michael E.
2009-07-23 14:58:15 UTC
Permalink
Hello

how do you mean "the package should be installed"....?
I am not so familiar with EA-Server-Administration.

thank's for your help
regards
Michael

On 23 Jul., 16:04, "Millard F. Brown III[Team Sybase]"
Post by Millard F. Brown III[Team Sybase]
Check that the package is installed (not just deployed) on both servers.
--
Regards,
Millard[TeamSybase]
Millard F. Brown III[Team Sybase]
2009-07-23 15:53:10 UTC
Permalink
Using EAServer Manager, open up the server ("Jaguar") and you'll see a
folder called "Installed Packages". If you don't see your component's
package there, right-click and Install the package.
--
Regards,
Millard[TeamSybase]
Post by Michael E.
Hello
how do you mean "the package should be installed"....?
I am not so familiar with EA-Server-Administration.
thank's for your help
regards
Michael
On 23 Jul., 16:04, "Millard F. Brown III[Team Sybase]"
Post by Millard F. Brown III[Team Sybase]
Check that the package is installed (not just deployed) on both servers.
--
Regards,
Millard[TeamSybase]
Michael E.
2009-07-24 07:28:21 UTC
Permalink
Hello Millard

yes on both EA-servers are the packages installed !!

have you another clue for my problem ?
many thanks
Michael

On 23 Jul., 17:53, "Millard F. Brown III[Team Sybase]"
Post by Millard F. Brown III[Team Sybase]
Using EAServer Manager, open up the server ("Jaguar") and you'll see a
folder called "Installed Packages". If you don't see your component's
package there, right-click and Install the package.
--
Regards,
Millard[TeamSybase]
Millard F. Brown III[Team Sybase]
2009-08-05 17:19:08 UTC
Permalink
is "my_class" a java class or component? You need to have it available on
EAServer's classpath.
--
Regards,
Millard[TeamSybase]
Post by Michael E.
Hello
i have troubles to use the CreateInstance(...)-statement. following
TRY
ll_rcf = its_jag.CreateInstance (inv_Zuteilung, "efar/zuteilung")
// its_jag is a TransactoinServer !!
CATCH (runtimeerror e)
inv_Log.TraceLog( METHOD_NAME + "--> EM: Exception = " + e.GetMessage
() )
its_jag.SetAbort( );
END TRY
"Exception = Unresolvable external ....my_class..... when linking
reference at line 47 in retrieveexbefore event of
object ....my_xxxxxx...."
i have two EA-Servers in action - and the problem is only on one the
two servers - the productive-server works fine with this components.
EA-Server 5.1.0
PowerBuilder 9.0.3
i have tryed to re-deploy all of the project, to delete the current
component in the ea-server and re-deploy, to re-generate all my
proxies.....and so on....... but i can't find the error.
have anyone a clue for my problem ??
many thanks in advance
Michael
Michael E.
2009-08-10 09:32:31 UTC
Permalink
hello

"my_class" is a component ! - PowerBuilder...

thanks & regards
Michael

On 5 Aug., 19:19, "Millard F. Brown III[Team Sybase]"
Post by Millard F. Brown III[Team Sybase]
is "my_class" a java class or component? You need to have it available on
EAServer's classpath.
--
Regards,
Millard[TeamSybase]
Millard F. Brown III[Team Sybase]
2009-08-10 15:02:40 UTC
Permalink
Is the posted code (the TRY CATCH block we see here) part of the
retrieveexbefore event? If not, what's in the retrieveexbefore event?
--
Regards,
Millard[TeamSybase]
Post by Michael E.
hello
"my_class" is a component ! - PowerBuilder...
thanks & regards
Michael
On 5 Aug., 19:19, "Millard F. Brown III[Team Sybase]"
Post by Millard F. Brown III[Team Sybase]
is "my_class" a java class or component? You need to have it available on
EAServer's classpath.
--
Regards,
Millard[TeamSybase]
Michael E.
2009-08-11 07:23:39 UTC
Permalink
Hello

yes - the code is a part of the "retrieveExBefore"-Event!!
and on the "CreateInstance"-statement, there is the error.....

regards
Michael

On 10 Aug., 17:02, "Millard F. Brown III[Team Sybase]"
Post by Millard F. Brown III[Team Sybase]
Is the posted code (the TRY CATCH block we see here) part of the
retrieveexbefore  event? If not, what's in the retrieveexbefore event?
Millard F. Brown III[Team Sybase]
2009-08-11 16:49:35 UTC
Permalink
OK. So during the createInstance of "efar/zuteilung" it seems it is having
trouble resolving to "my_class". What does the activate event of
"efar/zuteilung" look like?
--
Regards,
Millard[TeamSybase]

"Michael E." <***@hotmail.com> wrote in message news:6f0982c3-dc14-450b-aa27-***@t13g2000yqt.googlegroups.com...
Hello

yes - the code is a part of the "retrieveExBefore"-Event!!
and on the "CreateInstance"-statement, there is the error.....

regards
Michael

On 10 Aug., 17:02, "Millard F. Brown III[Team Sybase]"
Post by Millard F. Brown III[Team Sybase]
Is the posted code (the TRY CATCH block we see here) part of the
retrieveexbefore event? If not, what's in the retrieveexbefore event?
Loading...