Error during analysis of source code
Hi,
I am trying to add a field to the search criteria and i have followed the steps as given in the cook book. I am stuck at a point where on trying to add the custom field to the existing code i get an error message - "Error during analysis of Source code". This pop up comes at the end of the wizard.
I also tried to create a new context node but at the end of the wizard i get the pop up and the same message inside.
I searched in SDN and found out that this error could occur if the context node class is not active. In my case, all the three classes : Controller , context and context node class are active.
Could some one throw some light as to why this error message occurs?
Regards,
Venkat
Hi Experts,
I'm also getting a similar error but at the time of creating a new event. All the classes are active without errors.
How do we resolve this.
Appreciate your help.
Regards,
Sandeep
Similar Messages
-
Error during reading T001G (Return code
Hi experts,
In vl33n ( Inbound Delivery ) , Extras > Delivery Output >Select o/p type and ,
when I press Processing Log for a Inbound Delivery Output I get Following Errors
"Error during reading TVKO (Return Code 4)"
Error during reading T001G (Return code 4
What should be done?
Thanks so much in advance!Hello Kaustubh,
What is the processing mode of the output type. If processing type is any of the below :-
1. Print - Set a break-point in the driver program and click on print preivew.
2.EDI - Trigger output type and change processing mode to periodic(click on futher data tab) .
Run RSNAST00 program with output type and inbound delivery as input parameters.
Debug the driver program to know the actual root cause
Thanks -
Error during reading T001G (Return code 4
Hi experts,
In vl33n ( Inbound Delivery ) , Extras > Delivery Output >Select o/p type and ,
when I press Processing Log for a Inbound Delivery Output I get Following Errors
"Error during reading TVKO (Return Code 4)"
Error during reading T001G (Return code 4
What should be done?
Thanks so much in advance!Hello Kaustubh,
What is the processing mode of the output type. If processing type is any of the below :-
1. Print - Set a break-point in the driver program and click on print preivew.
2.EDI - Trigger output type and change processing mode to periodic(click on futher data tab) .
Run RSNAST00 program with output type and inbound delivery as input parameters.
Debug the driver program to know the actual root cause
Thanks -
Error during MIRO for tax code .
Dear All ,
User is doing MIRO but an error comes as " Tax code V0 does not exist in TAXINN " , here i need to tell u that what had happened that in P.O the material is not charged with any tax , so user have given tax code as V0 , but he had forgotten to maintain cond for BED non cenvatable % so he had made the cond. record in FV11 , Here my querry is that during MIRO the tax code V0 without cond record gives error from where the system is not capable to fetch the data ?
OR is there any check so that in such cond. the error should be like this " No cond record is maintained for V0." instaed of
" Tax code V0 does not existsin TAXINN "
Rgds
sap12U need the user should assign tax code V0 for non-taxable materials.
Error what it giving is correct. U should assign this V0 to ur tax Procedure TAXINN.
Path to Assign
Spro - IMG - Financial Accounting(New) - FA Global settings - Tax on Sales/ Purchase - Calculation - Taxcodes for Tax-Excempt Sales.
Procedure - TaxCode - Reason
If ur not able to solve the problem, Send me ur requrement clearly.
Subramanian.R -
Error in compiling java source code in a package
hi all...
am having a problem in compiling a java source code:
i have a class named 'Test' in the package 'packone'....
i have another class named 'getTest' in the same package....
in the class getTest i am taking a reference to Test class...
on compiling i am getting the following error....
cannot resolve symbol
symbol : class Test
The source code for the two classes are :
package packone;
public class Test{
and
package packone;
public class getTest{
public void me(){
Test t = new Test();
i have included the directory path in the classpath....
still its not compiling .....
please help
thanks....Assume the current directory structure:
C:\
C:\packone...and that your classes are named Test & GetTest.
My guess is that you're compiling within the directory C:\packone using the command "javac GetTest.java", which is wrong; You must use a path corresponding to the package-name.
Move your command-line cursor to C:\ and type "javac packone\GetTest.java" and you'll be fine...
Regards,
/Håkan -
JSP generates error - thread.java:481 - Source code viewing is disabled
I run IBM WebSphere 3.5.3 on a WinNT platform. When I try to run my JSP testpage (which is a normal HTML page with jsp extension) I get the error message:
thread.java:481 - Source code viewing is disabled.
What is this? What can I do to get it running?
I have made the webapplication and application server and it seems to run fine.
Thanks in advance.I thought I had done it correctly, but I must have missed out on something. I tried my jsp code in the "examples" folder and it worked there. I am now using the "examples" folder instead. Thanks for your reply :)
-
Error during distribution for compiled code generation-Reply
Hi,
Looking at your error messages, it looks as though your build is failing during the code generation phase of an autocompilation. To determine why the code generator crashed, either look in the $FORTE_ROOT/log/forte_ex*.log files or don't use autocompilation and use fcompile.
There are many reasons why the code generator could crash. Some of the things I've come across are running out of memory and trying to find invalid classes.
If its the invalid class problem you'll find a message like:
Generating code for partition BLTCustomWindow_cl0_Part1.
ERROR: Exiting due to following exception:
SYSTEM ERROR: Client partition FTCompile_cl0_Client was terminated by escaped
exception. See the remainder of the error stack for more information.
Class: qqsp_ResourceException
Error #: [1001, 3]
Detected at: qqrt_ForteExecAgent::LoadPartition at 1
Error Time: Tue Aug 18 17:52:44
Exception occurred (locally) on partition "Forte_Executor", (partitionId =
9EA25A00-36FE-11D2-87C4-502F15BEAA77:0x1, taskId =
[9EA25A00-36FE-11D2-87C4-502F15BEAA77:0x1.6]) in application
"FTCompile_cl0", pid 28331 on node stardev in environment <unknown>.
FATAL ERROR: Invalid class ProductBMServices.ProductSecurityMgrProxy
(0x4ecd,0x19a)
Class: qqsp_ImplementationException
Detected at: qqcg_TRclass::SetClass at 2
Last TOOL statement: method ForteCompiler.ProcessPGF
Error Time: Tue Aug 18 17:52:44
Exception occurred (locally) on partition "Forte_Executor",
(partitionId = 9EA25A00-36FE-11D2-87C4-502F15BEAA77:0x1, taskId =
[9EA25A00-36FE-11D2-87C4-502F15BEAA77:0x1.6]) in application
"FTCompile_cl0", pid 28331 on node stardev in environment <unknown>.
The solution for this instance is to clean up the invalid classes using the c4tstdrv utility.
c4tstdrv > setrepos star8
c4tstdrv > setwork dmcompiledbuild
c4tstdrv > open
Type Service Flags Level
err sh * 255
trc rp 1 4
c4tstdrv > findproj productbmservices
c4tstdrv > cleanuprtclasses
Removing extraneous RTclass ProductShootingLocationMgrProxy
Removing extraneous RTclass PRTerritoryBaseMgrProxy
Removing extraneous RTclass PRTerritoryMgrProxy
Removing extraneous RTclass TalentBaseMgrProxy
Removing extraneous RTclass TalentTypeMgrProxy
Removing extraneous RTclass TitleTypeBaseMgrProxy
Removing extraneous RTclass TitleTypeMgrProxy
Removing extraneous RTclass ProductSecurityBaseClass
Removing extraneous RTclass ProductSecurityBaseQuery
Removing extraneous RTclass ProductSecurityQuery
Removing extraneous RTclass ProductSecurityMgrProxy
c4tstdrv > commit
c4tstdrv > exit
Integrate the changes to the workspace, start the build again and this should have cured the problem.
However, its hard to know what the cause of your problem is without seeing the output in the log files.
Good luck.
Mark Carruthers
20th Century Fox
"Forte Consultants" <[email protected]> 01/22/99 08:35am >>>
Hi,
I'm doing application distribution for my application using a fscript
script and am forcing compilation on 2 of my partitions.
This I have been doing from quite sometime successfully. Recently I
developed a new service and plugged it into my application for
deployment.
I'm successfully able to distribute & deploy the interpreted code. But
I'm getting a long list of system errors when I try doing distribution
for compiled code. And I see only one of the .exe generated instead of
two because of which I'm unable to go ahead with installaion. I would
appreciate if anybody let me know why this's happening ?. The following
is the main chunk of this error list.
Thanks in advance.
--Anand Ramaswamy
SYSTEM ERROR: Cannot resolve the distributed reference for an object of
class
(qqlo_Object) named (<Unknown>) for the reasons below.
Class: qqsp_DistAccessException
Error #: [601, 144]
Detected at: qqdo_ProxyMgr::ResolveOutGoingProxy at 10
Error Time: Fri Jan 22 10:44:22
Exception occurred (locally) on partition "Fscript_cl9_Client",
(partitionId = 32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1,
taskId =
[32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.1]) in application
"fscript", pid 4b81 on node MOOSUP in environment IGTSDENV.
SYSTEM ERROR: Can not initially communicate with the object named
(Unnamed),
which is supposed to be in partition
(32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x616:0x1).
Class: qqsp_DistAccessException
Error #: [601, 140]
Detected at: qqdo_ProxyMgr::CheckAccess at 1
Error Time: Fri Jan 22 10:44:22
Exception occurred (locally) on partition "Fscript_cl9_Client",
(partitionId = 32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1,
taskId =
[32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.1]) in application
"fscript", pid 4b81 on node MOOSUP in environment IGTSDENV.
SYSTEM ERROR: Attempt to send to unknown destination partition
(32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x616:0x1).
Class: qqsp_DistAccessException
Error #: [601, 102]
Detected at: qqdo_PartitionMgr::SendMsg at 1
Error Time: Fri Jan 22 10:44:22
Distributed method called: qqdo_InternalMessage.<Message> (object
name
Unnamed) from partition "CodeGenerationSvc_cl0_Part1-router",
(partitionId
= 32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615:0x1, taskId =
[32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615.2]) in application
"CodeGenerationSvc_cl0", pid 7487 on node MOOSUP in environment
IGTSDENV
Exception occurred (locally) on partition "Fscript_cl9_Client",
(partitionId = 32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1,
taskId =
[32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.1]) in application
"fscript", pid 4b81 on node MOOSUP in environment IGTSDENV.
SYSTEM ERROR: Partition (32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x616:0x1)
no
longer exists. The process associated with the partition probably
terminated.
Class: qqsp_DistAccessException
Detected at: qqdo_PartitionMgr::CheckStarted at 1
Error Time: Fri Jan 22 10:44:22
Exception occurred (locally) on partition "Fscript_cl9_Client",
(partitionId = 32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1,
taskId =
[32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.1]) in application
"fscript", pid 4b81 on node MOOSUP in environment IGTSDENV.
SYSTEM ERROR: This method invocation is being retried because the
failures
shown below and the fact that the dialog duration is MESSAGE. This is
try #2.
Class: qqsp_DistAccessException
Error #: [601, 54]
Detected at: qqdo_Message::Failed at 1
Error Time: Fri Jan 22 10:44:19
Exception occurred (locally) on partition "Fscript_cl9_Client",
(partitionId = 32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1,
taskId =
[32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.1]) in application
"fscript", pid 4b81 on node MOOSUP in environment IGTSDENV.
SYSTEM ERROR: The load balanced router is disabled or has no members.
This
can happen if all of the members terminated or failed.
Class: qqsp_DistAccessException
Error #: [601, 161]
Detected at: qqdo_LbRouter::Route at 1
Error Time: Fri Jan 22 10:44:19
Distributed method called: GenerationMgrProxy.GeneratePartitionCode
(object name
site/codegenerationsvc_cl0/codegenerationsvc_cl0-codegensvc)
from partition "Fscript_cl9_Client", (partitionId =
32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1, taskId =
[32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614.2]) in application
"fscript",
pid 4b81 on node MOOSUP in environment IGTSDENV
Exception occurred (remotely) on partition
"CodeGenerationSvc_cl0_Part1-router", (partitionId =
32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615:0x1, taskId =
[32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.10]) in
application
"CodeGenerationSvc_cl0", pid 7487 on node MOOSUP in environment
IGTSDENV.
SYSTEM ERROR: This method invocation is being retried because the
failures
shown below and the fact that the dialog duration is MESSAGE. This is
try #1.
Class: qqsp_DistAccessException
Error #: [601, 54]
Detected at: qqdo_Message::Failed at 1
Error Time: Fri Jan 22 10:44:15
Exception occurred (locally) on partition "Fscript_cl9_Client",
(partitionId = 32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1,
taskId =
[32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.1]) in application
"fscript", pid 4b81 on node MOOSUP in environment IGTSDENV.
SYSTEM ERROR: Access to a load balanced router member (which is a
service
object) failed for the reasons below.
Class: qqsp_DistAccessException
Error #: [601, 162]
Detected at: qqdo_LbRouter::Route at 2
Error Time: Fri Jan 22 10:44:15
Distributed method called: GenerationMgrProxy.GeneratePartitionCode
(object name
site/codegenerationsvc_cl0/codegenerationsvc_cl0-codegensvc)
from partition "Fscript_cl9_Client", (partitionId =
32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1, taskId =
[32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614.3]) in application
"fscript",
pid 4b81 on node MOOSUP in environment IGTSDENV
Distributed method called: qqlo_Object.<Message> (object name
Unnamed)
from partition "Forte_Executor", (partitionId =
32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615, taskId =
[32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615.12]) in application
"CodeGenerationSvc_cl0", pid 7487 on node MOOSUP in environment
IGTSDENV
Exception occurred (remotely) on partition
"CodeGenerationSvc_cl0_Part1-router", (partitionId =
32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615:0x1, taskId =
[32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.10]) in
application
"CodeGenerationSvc_cl0", pid 7487 on node MOOSUP in environment
IGTSDENV.
SYSTEM ERROR: Cannot resolve the distributed reference for an object of
class
(qqlo_Object) named (<Unknown>) for the reasons below.
Class: qqsp_DistAccessException
Error #: [601, 144]
Detected at: qqdo_ProxyMgr::ResolveOutGoingProxy at 10
Error Time: Fri Jan 22 10:44:15
Distributed method called: qqlo_Object.<Message> (object name
Unnamed)
from partition "Forte_Executor", (partitionId =
32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615, taskId =
[32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615.12]) in application
"CodeGenerationSvc_cl0", pid 7487 on node MOOSUP in environment
IGTSDENV
Exception occurred (remotely) on partition
"CodeGenerationSvc_cl0_Part1-router", (partitionId =
32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615:0x1, taskId =
[32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.10]) in
application
"CodeGenerationSvc_cl0", pid 7487 on node MOOSUP in environment
IGTSDENV.
SYSTEM ERROR: This distributed reference was previously invalidated due
to the
reasons below.
Class: qqsp_DistAccessException
Error #: [601, 132]
Detected at: qqdo_ProxyMgr::ResolveOutGoingProxy at 3
Error Time: Fri Jan 22 10:44:15
Exception occurred (remotely) on partition
"CodeGenerationSvc_cl0_Part1-router", (partitionId =
32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615:0x1, taskId =
[32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.10]) in
application
"CodeGenerationSvc_cl0", pid 7487 on node MOOSUP in environment
IGTSDENV.
INFORMATION: The connection to the partner was terminated by the
Communication
Manager for the reasons below.
Class: qqsp_DistAccessException
Detected at: qqdo_PartitionMgr::StopLocation at 1
Error Time: Fri Jan 22 10:44:15
Exception occurred (remotely) on partition
"CodeGenerationSvc_cl0_Part1-router", (partitionId =
32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615:0x1, taskId =
[32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.10]) in
application
"CodeGenerationSvc_cl0", pid 7487 on node MOOSUP in environment
IGTSDENV.
INFORMATION: Network partner closed connection. This usually means the
process at the other end of the wire failed. Please go look there and
find
out why.
Class: qqsp_DistAccessException
Detected at: qqcm_HoseFSM::ReceivedClose at 2
Error Time: Fri Jan 22 10:44:15
Exception occurred (remotely) on partition
"CodeGenerationSvc_cl0_Part1-router", (partitionId =
32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615:0x1, taskId =
[32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.10]) in
application
"CodeGenerationSvc_cl0", pid 7487 on node MOOSUP in environment
IGTSDENV.
INFORMATION: Asynchronous Failure: Recieved a close from the network
partner:
Internet Location - Host: moosup.iroquois.com Port Number: 2504 Dot:
193.1.11.26 %LINKDISCON, network partner disconnected logical link
Event 4
Class: qqsp_DistAccessException
Detected at: qqcm_HoseFSM::ReceivedClose at 1
Error Time: Fri Jan 22 10:44:15
Exception occurred (remotely) on partition
"CodeGenerationSvc_cl0_Part1-router", (partitionId =
32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615:0x1, taskId =
[32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.10]) in
application
"CodeGenerationSvc_cl0", pid 7487 on node MOOSUP in environment
IGTSDENV.
SYSTEM ERROR: This method invocation is being retried because the
failures
shown below and the fact that the dialog duration is MESSAGE. This is
try #1.
Class: qqsp_DistAccessException
Error #: [601, 54]
Detected at: qqdo_Message::Failed at 1
Error Time: Fri Jan 22 10:44:15
Exception occurred (remotely) on partition
"CodeGenerationSvc_cl0_Part1-router", (partitionId =
32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615:0x1, taskId =
[32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.10]) in
application
"CodeGenerationSvc_cl0", pid 7487 on node MOOSUP in environment
IGTSDENV.
INFORMATION: The connection to the partner was terminated by the
Communication
Manager for the reasons below.
Class: qqsp_DistAccessException
Detected at: qqdo_PartitionMgr::StopLocation at 1
Error Time: Fri Jan 22 10:44:15
Distributed method called: qqlo_Object.<Message> (object name
Unnamed)
from partition "Forte_Executor", (partitionId =
32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615, taskId =
[32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615.12]) in application
"CodeGenerationSvc_cl0", pid 7487 on node MOOSUP in environment
IGTSDENV
Exception occurred (remotely) on partition
"CodeGenerationSvc_cl0_Part1-router", (partitionId =
32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615:0x1, taskId =
[32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.10]) in
application
"CodeGenerationSvc_cl0", pid 7487 on node MOOSUP in environment
IGTSDENV.
INFORMATION: Network partner closed connection. This usually means the
process at the other end of the wire failed. Please go look there and
find
out why.
Class: qqsp_DistAccessException
Detected at: qqcm_HoseFSM::ReceivedClose at 2
Error Time: Fri Jan 22 10:44:15
Exception occurred (remotely) on partition
"CodeGenerationSvc_cl0_Part1-router", (partitionId =
32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615:0x1, taskId =
[32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.10]) in
application
"CodeGenerationSvc_cl0", pid 7487 on node MOOSUP in environment
IGTSDENV.
INFORMATION: Asynchronous Failure: Recieved a close from the network
partner:
Internet Location - Host: moosup.iroquois.com Port Number: 2504 Dot:
193.1.11.26 %LINKDISCON, network partner disconnected logical link
Event 4
Class: qqsp_DistAccessException
Detected at: qqcm_HoseFSM::ReceivedClose at 1
Error Time: Fri Jan 22 10:44:15
Exception occurred (remotely) on partition
"CodeGenerationSvc_cl0_Part1-router", (partitionId =
32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x615:0x1, taskId =
[32271CD0-4E62-11D2-AF29-9F40A9E1AA77:0x614:0x1.10]) in
application
"CodeGenerationSvc_cl0", pid 7487 on node MOOSUP in environment
IGTSDENV.
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>Hi,
If this INCLUDE is in a function group go the MAIN program and activate from there.
Can you list out the include name?
a® -
Got error while compiling this source code?
[code =java]package com.agent.client.movies;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.ArrayList;
public interface DataSourceMovies extends Remote{
ArrayList<String[]> getAllMovies() throws RemoteException;
ArrayList<String[]> findMoviesByYear( int year) throws RemoteException;
ArrayList<String[]> findMoviesByDirector(String director) throws RemoteException;
ArrayList<String[]> findMoviesByGenre(String genre) throws RemoteException;
ArrayList<String[]> findMoviesByName(String name) throws RemoteException;
* To change this template, choose Tools | Templates
* and open the template in the editor.
* MovieClient.java
* Created on Apr 24, 2012, 10:49:58 AM
package com.agent.client.movies;
import com.agent.client.songs.SongsClient;
import com.agent.client.Utility;
import java.util.ArrayList;
import java.util.List;
import java.util.StringTokenizer;
import javax.naming.InitialContext;
import javax.swing.DefaultListModel;
import javax.swing.JOptionPane;
import javax.swing.table.DefaultTableModel;
public class MovieClient extends javax.swing.JFrame {
ArrayList<String> mappedips = new ArrayList<String>();
DefaultListModel<String> modelmsg = new DefaultListModel<String>();
InitialContext ctx;
/** Creates new form MovieClient */
public MovieClient(String ips) {
setLookAndFeel();
initComponents();
Utility.setInCenter(this);
StringTokenizer stok = new StringTokenizer(ips, ":");
while(stok.hasMoreTokens())
mappedips.add(stok.nextToken());
public void setLookAndFeel(){
/* Set the Nimbus look and feel */
//<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
/* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
* For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
try {
for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
if ("Nimbus".equals(info.getName())) {
javax.swing.UIManager.setLookAndFeel(info.getClassName());
break;
} catch (ClassNotFoundException ex) {
java.util.logging.Logger.getLogger(SongsClient.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (InstantiationException ex) {
java.util.logging.Logger.getLogger(SongsClient.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (IllegalAccessException ex) {
java.util.logging.Logger.getLogger(SongsClient.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (javax.swing.UnsupportedLookAndFeelException ex) {
java.util.logging.Logger.getLogger(SongsClient.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
//</editor-fold>
/** This method is called from within the constructor to
* initialize the form.
* WARNING: Do NOT modify this code. The content of this method is
* always regenerated by the Form Editor.
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
buttonGroup1 = new javax.swing.ButtonGroup();
jPanel1 = new javax.swing.JPanel();
jLabel1 = new javax.swing.JLabel();
jPanel2 = new javax.swing.JPanel();
btclose = new javax.swing.JButton();
jPanel3 = new javax.swing.JPanel();
jPanel4 = new javax.swing.JPanel();
jPanel8 = new javax.swing.JPanel();
jLabel2 = new javax.swing.JLabel();
txtkey = new javax.swing.JTextField();
btsearch = new javax.swing.JButton();
jPanel9 = new javax.swing.JPanel();
rdbyname = new javax.swing.JRadioButton();
rdbydirector = new javax.swing.JRadioButton();
rdbygenre = new javax.swing.JRadioButton();
rdbyyear = new javax.swing.JRadioButton();
jPanel5 = new javax.swing.JPanel();
jPanel6 = new javax.swing.JPanel();
jScrollPane1 = new javax.swing.JScrollPane();
lstMessages = new javax.swing.JList(modelmsg);
jPanel7 = new javax.swing.JPanel();
jScrollPane2 = new javax.swing.JScrollPane();
tabmovies = new javax.swing.JTable();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
setMinimumSize(new java.awt.Dimension(500, 500));
jLabel1.setFont(new java.awt.Font("Simplified Arabic", 1, 24));
jLabel1.setForeground(new java.awt.Color(0, 102, 204));
jLabel1.setText("Mobile Agent: Find Movie Information");
jPanel1.add(jLabel1);
getContentPane().add(jPanel1, java.awt.BorderLayout.PAGE_START);
btclose.setText("Close");
btclose.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
btcloseActionPerformed(evt);
jPanel2.add(btclose);
getContentPane().add(jPanel2, java.awt.BorderLayout.PAGE_END);
jPanel3.setLayout(new java.awt.BorderLayout());
jPanel4.setLayout(new java.awt.GridLayout(2, 1));
jLabel2.setText("Key");
btsearch.setText("Search");
btsearch.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
btsearchActionPerformed(evt);
javax.swing.GroupLayout jPanel8Layout = new javax.swing.GroupLayout(jPanel8);
jPanel8.setLayout(jPanel8Layout);
jPanel8Layout.setHorizontalGroup(
jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel8Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 39, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(txtkey, javax.swing.GroupLayout.PREFERRED_SIZE, 482, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(btsearch)
.addContainerGap(130, Short.MAX_VALUE))
jPanel8Layout.setVerticalGroup(
jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel8Layout.createSequentialGroup()
.addGap(14, 14, 14)
.addGroup(jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel2)
.addComponent(txtkey, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(btsearch))
.addContainerGap(13, Short.MAX_VALUE))
jPanel4.add(jPanel8);
buttonGroup1.add(rdbyname);
rdbyname.setSelected(true);
rdbyname.setText("By name");
buttonGroup1.add(rdbydirector);
rdbydirector.setText("By director");
buttonGroup1.add(rdbygenre);
rdbygenre.setText("By genre");
buttonGroup1.add(rdbyyear);
rdbyyear.setText("By year");
javax.swing.GroupLayout jPanel9Layout = new javax.swing.GroupLayout(jPanel9);
jPanel9.setLayout(jPanel9Layout);
jPanel9Layout.setHorizontalGroup(
jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel9Layout.createSequentialGroup()
.addContainerGap()
.addComponent(rdbyname)
.addGap(36, 36, 36)
.addComponent(rdbydirector)
.addGap(37, 37, 37)
.addComponent(rdbygenre)
.addGap(33, 33, 33)
.addComponent(rdbyyear)
.addContainerGap(352, Short.MAX_VALUE))
jPanel9Layout.setVerticalGroup(
jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel9Layout.createSequentialGroup()
.addContainerGap()
.addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(rdbyname)
.addComponent(rdbydirector)
.addComponent(rdbygenre)
.addComponent(rdbyyear))
.addContainerGap(20, Short.MAX_VALUE))
jPanel4.add(jPanel9);
jPanel3.add(jPanel4, java.awt.BorderLayout.PAGE_START);
jPanel5.setLayout(new java.awt.BorderLayout());
jPanel6.setLayout(new java.awt.BorderLayout());
lstMessages.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(102, 102, 102)));
jScrollPane1.setViewportView(lstMessages);
jPanel6.add(jScrollPane1, java.awt.BorderLayout.CENTER);
jPanel5.add(jPanel6, java.awt.BorderLayout.PAGE_END);
jPanel7.setLayout(new java.awt.BorderLayout());
tabmovies.setModel(new javax.swing.table.DefaultTableModel(
new Object [][] {
new String [] {
"Name", "Director", "Genre", "Release Year"
jScrollPane2.setViewportView(tabmovies);
jPanel7.add(jScrollPane2, java.awt.BorderLayout.CENTER);
jPanel5.add(jPanel7, java.awt.BorderLayout.CENTER);
jPanel3.add(jPanel5, java.awt.BorderLayout.CENTER);
getContentPane().add(jPanel3, java.awt.BorderLayout.CENTER);
pack();
}// </editor-fold>//GEN-END:initComponents
private void btcloseActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btcloseActionPerformed
System.exit(0);
}//GEN-LAST:event_btcloseActionPerformed
private void btsearchActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btsearchActionPerformed
searchMovies();
}//GEN-LAST:event_btsearchActionPerformed
// Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JButton btclose;
private javax.swing.JButton btsearch;
private javax.swing.ButtonGroup buttonGroup1;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel2;
private javax.swing.JPanel jPanel1;
private javax.swing.JPanel jPanel2;
private javax.swing.JPanel jPanel3;
private javax.swing.JPanel jPanel4;
private javax.swing.JPanel jPanel5;
private javax.swing.JPanel jPanel6;
private javax.swing.JPanel jPanel7;
private javax.swing.JPanel jPanel8;
private javax.swing.JPanel jPanel9;
private javax.swing.JScrollPane jScrollPane1;
private javax.swing.JScrollPane jScrollPane2;
private javax.swing.JList lstMessages;
private javax.swing.JRadioButton rdbydirector;
private javax.swing.JRadioButton rdbygenre;
private javax.swing.JRadioButton rdbyname;
private javax.swing.JRadioButton rdbyyear;
private javax.swing.JTable tabmovies;
private javax.swing.JTextField txtkey;
// End of variables declaration//GEN-END:variables
private void searchMovies() {
if(txtkey.getText().trim().length()==0){
JOptionPane.showMessageDialog(null, "Please enter some words...");
return;
for(String ip : mappedips){
modelmsg.addElement("Looking up node : " + ip);
DataSourceMovies movies = null;
try {
ctx = new InitialContext();
movies = (DataSourceMovies)ctx.lookup("rmi://" + ip + "/movieserver");
} catch (Exception e) {
modelmsg.addElement("Error contacting node...");
e.printStackTrace();
break;
List<String[]> movieslist = null;
try{
if(rdbyname.isSelected())
movieslist = movies.findMoviesByName(txtkey.getText().trim());
else if(rdbydirector.isSelected())
movieslist = movies.findMoviesByDirector(txtkey.getText().trim());
else if(rdbygenre.isSelected())
movieslist = movies.findMoviesByGenre(txtkey.getText().trim());
else if(rdbyyear.isSelected()){
try {
movieslist = movies.findMoviesByYear(Integer.parseInt(txtkey.getText().trim()));
} catch (Exception e) {
JOptionPane.showMessageDialog(null, "Invalid year...");
return;
if(movieslist!=null && movieslist.size()>0){
modelmsg.addElement("Songs found...");
DefaultTableModel model = (DefaultTableModel) tabmovies.getModel();
while(model.getRowCount()>0){
model.removeRow(0);
tabmovies.revalidate();
for(String[] moviedata : movieslist)
model.addRow(moviedata);
catch(Exception ex) {
modelmsg.addElement("Error reading data...");
break;
* To change this template, choose Tools | Templates
* and open the template in the editor.
package com.agent.client.movies;
import com.agent.client.Utility;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.net.Socket;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JWindow;
import javax.swing.SwingConstants;
public class MovieSplashScreen {
private javax.swing.JLabel lbimage;
private javax.swing.JLabel lbloading;
private javax.swing.JLabel lbmobile;
private javax.swing.JPanel panelBack;
public static void main(String[] ar) {
new MovieSplashScreen().displaySplash(ar[0]);
public void displaySplash(String mapperip) {
JWindow window = new JWindow();
window.getContentPane().add(
new JLabel("Loading JFrame...", SwingConstants.CENTER));
window.setSize(525, 240);
Utility.setInCenter(window);
panelBack = new javax.swing.JPanel();
lbimage = new javax.swing.JLabel();
lbloading = new javax.swing.JLabel();
lbmobile = new javax.swing.JLabel();
panelBack.setBackground(new java.awt.Color(255, 255, 255));
panelBack.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 102, 102), 2));
panelBack.setLayout(null);
lbimage.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/agent/client/splash.jpg"))); // NOI18N
panelBack.add(lbimage);
lbimage.setBounds(250, 20, 250, 180);
lbloading.setFont(new java.awt.Font("Showcard Gothic", 0, 30)); // NOI18N
lbloading.setText("Loading...");
panelBack.add(lbloading);
lbloading.setBounds(50, 120, 210, 70);
lbmobile.setFont(new java.awt.Font("Tekton Pro Cond", 0, 24)); // NOI18N
lbmobile.setForeground(new java.awt.Color(0, 51, 51));
lbmobile.setText("Mobile Agents 1.0");
panelBack.add(lbmobile);
lbmobile.setBounds(30, 20, 230, 40);
window.add(panelBack, java.awt.BorderLayout.CENTER);
window.setVisible(true);
try {
Thread.sleep(5000);
} catch (InterruptedException e) {
Socket client = null;
try {
client = new Socket(mapperip,2222);
} catch (Exception e) {
JOptionPane.showMessageDialog(null, "Mapping server down...");
System.exit(0);
DataInputStream din = null;
DataOutputStream dout = null;
String ips = null;
try {
din = new DataInputStream(client.getInputStream());
dout = new DataOutputStream(client.getOutputStream());
dout.writeUTF("movies");
ips = din.readUTF();
} catch (Exception e) {
JOptionPane.showMessageDialog(null, "Cannot retrieve mappings...");
e.printStackTrace();
System.exit(0);
window.setVisible(false);
MovieClient sclient = new MovieClient(ips);
sclient.setVisible(true);
window.dispose();{code = java}package com.agent.client.movies;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.ArrayList;
public interface DataSourceMovies extends Remote{
ArrayList<String[]> getAllMovies() throws RemoteException;
ArrayList<String[]> findMoviesByYear( int year) throws RemoteException;
ArrayList<String[]> findMoviesByDirector(String director) throws RemoteException;
ArrayList<String[]> findMoviesByGenre(String genre) throws RemoteException;
ArrayList<String[]> findMoviesByName(String name) throws RemoteException;
* To change this template, choose Tools | Templates
* and open the template in the editor.
* MovieClient.java
* Created on Apr 24, 2012, 10:49:58 AM
package com.agent.client.movies;
import com.agent.client.songs.SongsClient;
import com.agent.client.Utility;
import java.util.ArrayList;
import java.util.List;
import java.util.StringTokenizer;
import javax.naming.InitialContext;
import javax.swing.DefaultListModel;
import javax.swing.JOptionPane;
import javax.swing.table.DefaultTableModel;
public class MovieClient extends javax.swing.JFrame {
ArrayList<String> mappedips = new ArrayList<String>();
DefaultListModel<String> modelmsg = new DefaultListModel<String>();
InitialContext ctx;
/** Creates new form MovieClient */
public MovieClient(String ips) {
setLookAndFeel();
initComponents();
Utility.setInCenter(this);
StringTokenizer stok = new StringTokenizer(ips, ":");
while(stok.hasMoreTokens())
mappedips.add(stok.nextToken());
public void setLookAndFeel(){
/* Set the Nimbus look and feel */
//<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
/* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
* For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
try {
for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
if ("Nimbus".equals(info.getName())) {
javax.swing.UIManager.setLookAndFeel(info.getClassName());
break;
} catch (ClassNotFoundException ex) {
java.util.logging.Logger.getLogger(SongsClient.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (InstantiationException ex) {
java.util.logging.Logger.getLogger(SongsClient.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (IllegalAccessException ex) {
java.util.logging.Logger.getLogger(SongsClient.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
} catch (javax.swing.UnsupportedLookAndFeelException ex) {
java.util.logging.Logger.getLogger(SongsClient.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
//</editor-fold>
/** This method is called from within the constructor to
* initialize the form.
* WARNING: Do NOT modify this code. The content of this method is
* always regenerated by the Form Editor.
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
buttonGroup1 = new javax.swing.ButtonGroup();
jPanel1 = new javax.swing.JPanel();
jLabel1 = new javax.swing.JLabel();
jPanel2 = new javax.swing.JPanel();
btclose = new javax.swing.JButton();
jPanel3 = new javax.swing.JPanel();
jPanel4 = new javax.swing.JPanel();
jPanel8 = new javax.swing.JPanel();
jLabel2 = new javax.swing.JLabel();
txtkey = new javax.swing.JTextField();
btsearch = new javax.swing.JButton();
jPanel9 = new javax.swing.JPanel();
rdbyname = new javax.swing.JRadioButton();
rdbydirector = new javax.swing.JRadioButton();
rdbygenre = new javax.swing.JRadioButton();
rdbyyear = new javax.swing.JRadioButton();
jPanel5 = new javax.swing.JPanel();
jPanel6 = new javax.swing.JPanel();
jScrollPane1 = new javax.swing.JScrollPane();
lstMessages = new javax.swing.JList(modelmsg);
jPanel7 = new javax.swing.JPanel();
jScrollPane2 = new javax.swing.JScrollPane();
tabmovies = new javax.swing.JTable();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
setMinimumSize(new java.awt.Dimension(500, 500));
jLabel1.setFont(new java.awt.Font("Simplified Arabic", 1, 24));
jLabel1.setForeground(new java.awt.Color(0, 102, 204));
jLabel1.setText("Mobile Agent: Find Movie Information");
jPanel1.add(jLabel1);
getContentPane().add(jPanel1, java.awt.BorderLayout.PAGE_START);
btclose.setText("Close");
btclose.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
btcloseActionPerformed(evt);
jPanel2.add(btclose);
getContentPane().add(jPanel2, java.awt.BorderLayout.PAGE_END);
jPanel3.setLayout(new java.awt.BorderLayout());
jPanel4.setLayout(new java.awt.GridLayout(2, 1));
jLabel2.setText("Key");
btsearch.setText("Search");
btsearch.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
btsearchActionPerformed(evt);
javax.swing.GroupLayout jPanel8Layout = new javax.swing.GroupLayout(jPanel8);
jPanel8.setLayout(jPanel8Layout);
jPanel8Layout.setHorizontalGroup(
jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel8Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 39, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(txtkey, javax.swing.GroupLayout.PREFERRED_SIZE, 482, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(btsearch)
.addContainerGap(130, Short.MAX_VALUE))
jPanel8Layout.setVerticalGroup(
jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel8Layout.createSequentialGroup()
.addGap(14, 14, 14)
.addGroup(jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel2)
.addComponent(txtkey, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(btsearch))
.addContainerGap(13, Short.MAX_VALUE))
jPanel4.add(jPanel8);
buttonGroup1.add(rdbyname);
rdbyname.setSelected(true);
rdbyname.setText("By name");
buttonGroup1.add(rdbydirector);
rdbydirector.setText("By director");
buttonGroup1.add(rdbygenre);
rdbygenre.setText("By genre");
buttonGroup1.add(rdbyyear);
rdbyyear.setText("By year");
javax.swing.GroupLayout jPanel9Layout = new javax.swing.GroupLayout(jPanel9);
jPanel9.setLayout(jPanel9Layout);
jPanel9Layout.setHorizontalGroup(
jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel9Layout.createSequentialGroup()
.addContainerGap()
.addComponent(rdbyname)
.addGap(36, 36, 36)
.addComponent(rdbydirector)
.addGap(37, 37, 37)
.addComponent(rdbygenre)
.addGap(33, 33, 33)
.addComponent(rdbyyear)
.addContainerGap(352, Short.MAX_VALUE))
jPanel9Layout.setVerticalGroup(
jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel9Layout.createSequentialGroup()
.addContainerGap()
.addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(rdbyname)
.addComponent(rdbydirector)
.addComponent(rdbygenre)
.addComponent(rdbyyear))
.addContainerGap(20, Short.MAX_VALUE))
jPanel4.add(jPanel9);
jPanel3.add(jPanel4, java.awt.BorderLayout.PAGE_START);
jPanel5.setLayout(new java.awt.BorderLayout());
jPanel6.setLayout(new java.awt.BorderLayout());
lstMessages.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(102, 102, 102)));
jScrollPane1.setViewportView(lstMessages);
jPanel6.add(jScrollPane1, java.awt.BorderLayout.CENTER);
jPanel5.add(jPanel6, java.awt.BorderLayout.PAGE_END);
jPanel7.setLayout(new java.awt.BorderLayout());
tabmovies.setModel(new javax.swing.table.DefaultTableModel(
new Object [][] {
new String [] {
"Name", "Director", "Genre", "Release Year"
jScrollPane2.setViewportView(tabmovies);
jPanel7.add(jScrollPane2, java.awt.BorderLayout.CENTER);
jPanel5.add(jPanel7, java.awt.BorderLayout.CENTER);
jPanel3.add(jPanel5, java.awt.BorderLayout.CENTER);
getContentPane().add(jPanel3, java.awt.BorderLayout.CENTER);
pack();
}// </editor-fold>//GEN-END:initComponents
private void btcloseActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btcloseActionPerformed
System.exit(0);
}//GEN-LAST:event_btcloseActionPerformed
private void btsearchActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btsearchActionPerformed
searchMovies();
}//GEN-LAST:event_btsearchActionPerformed
// Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JButton btclose;
private javax.swing.JButton btsearch;
private javax.swing.ButtonGroup buttonGroup1;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel2;
private javax.swing.JPanel jPanel1;
private javax.swing.JPanel jPanel2;
private javax.swing.JPanel jPanel3;
private javax.swing.JPanel jPanel4;
private javax.swing.JPanel jPanel5;
private javax.swing.JPanel jPanel6;
private javax.swing.JPanel jPanel7;
private javax.swing.JPanel jPanel8;
private javax.swing.JPanel jPanel9;
private javax.swing.JScrollPane jScrollPane1;
private javax.swing.JScrollPane jScrollPane2;
private javax.swing.JList lstMessages;
private javax.swing.JRadioButton rdbydirector;
private javax.swing.JRadioButton rdbygenre;
private javax.swing.JRadioButton rdbyname;
private javax.swing.JRadioButton rdbyyear;
private javax.swing.JTable tabmovies;
private javax.swing.JTextField txtkey;
// End of variables declaration//GEN-END:variables
private void searchMovies() {
if(txtkey.getText().trim().length()==0){
JOptionPane.showMessageDialog(null, "Please enter some words...");
return;
for(String ip : mappedips){
modelmsg.addElement("Looking up node : " + ip);
DataSourceMovies movies = null;
try {
ctx = new InitialContext();
movies = (DataSourceMovies)ctx.lookup("rmi://" + ip + "/movieserver");
} catch (Exception e) {
modelmsg.addElement("Error contacting node...");
e.printStackTrace();
break;
List<String[]> movieslist = null;
try{
if(rdbyname.isSelected())
movieslist = movies.findMoviesByName(txtkey.getText().trim());
else if(rdbydirector.isSelected())
movieslist = movies.findMoviesByDirector(txtkey.getText().trim());
else if(rdbygenre.isSelected())
movieslist = movies.findMoviesByGenre(txtkey.getText().trim());
else if(rdbyyear.isSelected()){
try {
movieslist = movies.findMoviesByYear(Integer.parseInt(txtkey.getText().trim()));
} catch (Exception e) {
JOptionPane.showMessageDialog(null, "Invalid year...");
return;
if(movieslist!=null && movieslist.size()>0){
modelmsg.addElement("Songs found...");
DefaultTableModel model = (DefaultTableModel) tabmovies.getModel();
while(model.getRowCount()>0){
model.removeRow(0);
tabmovies.revalidate();
for(String[] moviedata : movieslist)
model.addRow(moviedata);
catch(Exception ex) {
modelmsg.addElement("Error reading data...");
break;
* To change this template, choose Tools | Templates
* and open the template in the editor.
package com.agent.client.movies;
import com.agent.client.Utility;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.net.Socket;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JWindow;
import javax.swing.SwingConstants;
public class MovieSplashScreen {
private javax.swing.JLabel lbimage;
private javax.swing.JLabel lbloading;
private javax.swing.JLabel lbmobile;
private javax.swing.JPanel panelBack;
public static void main(String[] ar) {
new MovieSplashScreen().displaySplash(ar[0]);
public void displaySplash(String mapperip) {
JWindow window = new JWindow();
window.getContentPane().add(
new JLabel("Loading JFrame...", SwingConstants.CENTER));
window.setSize(525, 240);
Utility.setInCenter(window);
panelBack = new javax.swing.JPanel();
lbimage = new javax.swing.JLabel();
lbloading = new javax.swing.JLabel();
lbmobile = new javax.swing.JLabel();
panelBack.setBackground(new java.awt.Color(255, 255, 255));
panelBack.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 102, 102), 2));
panelBack.setLayout(null);
lbimage.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/agent/client/splash.jpg"))); // NOI18N
panelBack.add(lbimage);
lbimage.setBounds(250, 20, 250, 180);
lbloading.setFont(new java.awt.Font("Showcard Gothic", 0, 30)); // NOI18N
lbloading.setText("Loading...");
panelBack.add(lbloading);
lbloading.setBounds(50, 120, 210, 70);
lbmobile.setFont(new java.awt.Font("Tekton Pro Cond", 0, 24)); // NOI18N
lbmobile.setForeground(new java.awt.Color(0, 51, 51));
lbmobile.setText("Mobile Agents 1.0");
panelBack.add(lbmobile);
lbmobile.setBounds(30, 20, 230, 40);
window.add(panelBack, java.awt.BorderLayout.CENTER);
window.setVisible(true);
try {
Thread.sleep(5000);
} catch (InterruptedException e) {
Socket client = null;
try {
client = new Socket(mapperip,2222);
} catch (Exception e) {
JOptionPane.showMessageDialog(null, "Mapping server down...");
System.exit(0);
DataInputStream din = null;
DataOutputStream dout = null;
String ips = null;
try {
din = new DataInputStream(client.getInputStream());
dout = new DataOutputStream(client.getOutputStream());
dout.writeUTF("movies");
ips = din.readUTF();
} catch (Exception e) {
JOptionPane.showMessageDialog(null, "Cannot retrieve mappings...");
e.printStackTrace();
System.exit(0);
window.setVisible(false);
MovieClient sclient = new MovieClient(ips);
sclient.setVisible(true);
window.dispose(); -
Error during SC creation - Jurisdiction code could not be determined
Hi All,
For testing purpose , I have set up one user id. While creating SC with that ID, I am getting one error, it says "Jurisdiction code could not be determined ".
Plant , company code everything enetred in the SC is perfect.
On another hand, I can create SC with my id without any error..
Attibutes are identical of both the user ids.
Can someone help me to know the reason for this particular case
Regards,
SheetalHi
Jurisdiction code is determined based on Ship to Address data of the shopping cart and the country code. Pl check if the ship to address in the shopping cart is correct. It might be missing mandatory informations like Postal code, city, District.
Regards,
Sanjeev -
Error there is no source code for current location
Hi,
i am very new web tool customization this my first sample page for testing how the netpont.api.dll and netpoint.dll below i add code
pls guide me how to compile in aspx,iam very new
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using netpoint.api;
using netpoint.classes;
public partial class _Default: NPBasePage
protected void Page_Load(object sender, EventArgs e)There are a number of examples in the plugins directory. If you are on 5.9, look at the ones that have no .cs files.
The connection is created for you automatically in NPBasePage. I gave you an example of using it in your other post.
I can't give you a complete example because the forum does not allow script tags to be posted.
If you use the API objects you should be able to get most of the data you need. If you want to do a direct query of the db you can use ADO or the the DataFunctions, which are simply a wrapper of ADO. Following is an example of using the DataFunctions:
<%@ Control Language="c#" %>
<%@ Import Namespace="netpoint.classes" %>
<%@ Import Namespace="netpoint.api.catalog" %>
<%@ Import Namespace="netpoint.api.data" %>
<%@ Import Namespace="System.Text" %>
--script tag here
void Page_Load(object sender, System.EventArgs e)
// this is the object that contains the connection object
NPBasePage bp = (NPBasePage)Page;
Stringbuilder sb = new Stringbuilder();
sb.Append("SELECT OrderID, AccountID, UserID, GrandTotal ");
sb.Append("FROM OrderMaster ");
sb.Append("WHERE CartType = 'O' AND AccountID = @acctid");
DataParameters dp = new DataParameters (1);
dp.Add(NPDataType.NPString, "@acctid", bp.AccountID);
myGridView.DataSource = DataFunctions.GetDataSet(sb.ToString(), dp.Paramters, bp.ConnectionString);
myGridView.DataBind();
--close script tag here -
WM: Error during KANBAN call
Hi,
We are getting following error during KANBAN call (T code: PKMC).
Error message: Supply area storage location does not match corresponding entry in WM Customizing
What might be going wrong?Hi,
Please ensure that the The production supply area is assigned to the storage location . Also chack the table T320A in Customizing for Warehouse Management, the material from warehouse number and storage type is assigned to the
storage location is same as that is is used in this kanban transaction. Thanking you. -
Could not start the portal server after installing Portal Source Code
Hi all, I try to install the portal source code and compile portal source code on the development computer. It does not work. I use Visual Studio 2002. Now I can not start the portal server. I got the error. I delete source code from webapp\portal folder. I still get the following error.
948 03-14 11:16:20 Error UI Infrastructure 3328 3340 com.plumtree.uiinfrastructure.activityspace.Interpreter.HandleRequest() Unable to load request data._System.NullReferenceException_ at com.plumtree.uiinfrastructure.application.RequestData.LoadQSSettings() at com.plumtree.uiinfrastructure.activityspace.Interpreter.HandleRequest(IXPRequest request, IXPResponse response, ISessionManager session, IApplication application)949 03-14 11:16:20 Error UI Infrastructure 3328 3340 com.plumtree.uiinfrastructure.activityspace.Interpreter.HandleError() Server error._System.NullReferenceException_ at com.plumtree.uiinfrastructure.application.RequestData.LoadQSSettings() at com.plumtree.uiinfrastructure.activityspace.Interpreter.HandleRequest(IXPRequest request, IXPResponse response, ISessionManager session, IApplication application)950 03-14 11:16:20 Info UI Infrastructure 3328 3340 com.plumtree.uiinfrastructure.activityspace.Interpreter.DisplayServerErrorPage() Server error, redirecting to error page.951 03-14 11:16:20 Error UI Infrastructure 3328 3340 com.plumtree.uiinfrastructure.activityspace.Interpreter.HandleError() Error displaying error page._com.plumtree.openfoundation.util.XPException_ at System.Environment.GetStackTrace(Exception e) at System.Environment.GetStackTrace(Exception e) at System.Environment.get_StackTrace() at com.plumtree.openfoundation.util.XPException..ctor(String message) at com.plumtree.portaluiinfrastructure.login.PTPersonalSettingsHelper.GetPersonalSettingValue(String sSettingName, ISessionManager sessionManager, IApplication application, IPTSession ptSession) at com.plumtree.portaluiinfrastructure.login.PTPersonalSettingsHelper.GetPersonalSettingValue(String sSettingName, AActivitySpace asSpace) at com.plumtree.portalpages.common.uiparts.NavigationModel.Init(AActivitySpace parent) at com.plumtree.uiinfrastructure.activityspace.AActivitySpace.RegisterModel(String modelName, String storageName) at com.plumtree.uiinfrastructure.activityspace.AActivitySpace.RegisterModel(String modelName) at com.plumtree.portalpages.common.uiparts.PlumtreeAS.Init() at com.plumtree.portalpages.common.error.ErrorAS.Init() at com.plumtree.uiinfrastructure.activityspace.Interpreter.CreateSpace(RequestData tempData) at com.plumtree.uiinfrastructure.activityspace.Interpreter.DisplayServerErrorPage(RequestData tempData) at com.plumtree.uiinfrastructure.activityspace.Interpreter.HandleError(Exception e, Boolean bDisplayErrorInComments, RequestData tempData) at com.plumtree.uiinfrastructure.activityspace.Interpreter.HandleRequest(IXPRequest request, IXPResponse response, ISessionManager session, IApplication application) at com.plumtree.uiinfrastructure.activityspace.Interpreter.DoService(IXPRequest request, IXPResponse response, ISessionManager session, IApplication application) at com.plumtree.uiinfrastructure.web.XPPage.Service(HttpRequest httpRequest, HttpResponse httpResponse, HttpSessionState httpSession, HttpApplicationState httpApplication) at com.plumtree.portaluiinfrastructure.activityspace.PlumHandler.ProcessRequest(HttpContext context) at System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) at System.Web.HttpApplication.ResumeSteps(Exception error) at System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) at System.Web.HttpRuntime.ProcessRequest(HttpWorkerRequest wr) at System.Web.Hosting.ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
I don't know how to fix this problem. Should I reinstall portal server? Thank you for your help! JanHi all, I try to install the portal source code and compile portal source code on the development computer. It does not work. I use Visual Studio 2002. Now I can not start the portal server. I got the error. I delete source code from webapp\portal folder. I still get the following error.
948 03-14 11:16:20 Error UI Infrastructure 3328 3340 com.plumtree.uiinfrastructure.activityspace.Interpreter.HandleRequest() Unable to load request data._System.NullReferenceException_ at com.plumtree.uiinfrastructure.application.RequestData.LoadQSSettings() at com.plumtree.uiinfrastructure.activityspace.Interpreter.HandleRequest(IXPRequest request, IXPResponse response, ISessionManager session, IApplication application)949 03-14 11:16:20 Error UI Infrastructure 3328 3340 com.plumtree.uiinfrastructure.activityspace.Interpreter.HandleError() Server error._System.NullReferenceException_ at com.plumtree.uiinfrastructure.application.RequestData.LoadQSSettings() at com.plumtree.uiinfrastructure.activityspace.Interpreter.HandleRequest(IXPRequest request, IXPResponse response, ISessionManager session, IApplication application)950 03-14 11:16:20 Info UI Infrastructure 3328 3340 com.plumtree.uiinfrastructure.activityspace.Interpreter.DisplayServerErrorPage() Server error, redirecting to error page.951 03-14 11:16:20 Error UI Infrastructure 3328 3340 com.plumtree.uiinfrastructure.activityspace.Interpreter.HandleError() Error displaying error page._com.plumtree.openfoundation.util.XPException_ at System.Environment.GetStackTrace(Exception e) at System.Environment.GetStackTrace(Exception e) at System.Environment.get_StackTrace() at com.plumtree.openfoundation.util.XPException..ctor(String message) at com.plumtree.portaluiinfrastructure.login.PTPersonalSettingsHelper.GetPersonalSettingValue(String sSettingName, ISessionManager sessionManager, IApplication application, IPTSession ptSession) at com.plumtree.portaluiinfrastructure.login.PTPersonalSettingsHelper.GetPersonalSettingValue(String sSettingName, AActivitySpace asSpace) at com.plumtree.portalpages.common.uiparts.NavigationModel.Init(AActivitySpace parent) at com.plumtree.uiinfrastructure.activityspace.AActivitySpace.RegisterModel(String modelName, String storageName) at com.plumtree.uiinfrastructure.activityspace.AActivitySpace.RegisterModel(String modelName) at com.plumtree.portalpages.common.uiparts.PlumtreeAS.Init() at com.plumtree.portalpages.common.error.ErrorAS.Init() at com.plumtree.uiinfrastructure.activityspace.Interpreter.CreateSpace(RequestData tempData) at com.plumtree.uiinfrastructure.activityspace.Interpreter.DisplayServerErrorPage(RequestData tempData) at com.plumtree.uiinfrastructure.activityspace.Interpreter.HandleError(Exception e, Boolean bDisplayErrorInComments, RequestData tempData) at com.plumtree.uiinfrastructure.activityspace.Interpreter.HandleRequest(IXPRequest request, IXPResponse response, ISessionManager session, IApplication application) at com.plumtree.uiinfrastructure.activityspace.Interpreter.DoService(IXPRequest request, IXPResponse response, ISessionManager session, IApplication application) at com.plumtree.uiinfrastructure.web.XPPage.Service(HttpRequest httpRequest, HttpResponse httpResponse, HttpSessionState httpSession, HttpApplicationState httpApplication) at com.plumtree.portaluiinfrastructure.activityspace.PlumHandler.ProcessRequest(HttpContext context) at System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) at System.Web.HttpApplication.ResumeSteps(Exception error) at System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData) at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) at System.Web.HttpRuntime.ProcessRequest(HttpWorkerRequest wr) at System.Web.Hosting.ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
I don't know how to fix this problem. Should I reinstall portal server? Thank you for your help! Jan -
Hi,
i am getting this error : error during analysis of method create_btqract of class zcl_bt126_a_apptsq_ctxt.
RoseHi Rose,
Delete only the view enhancement ( right click on view) and then come out of the transaction, go back and redo the enhancement.
Thanks,
Shobhit -
Runtime Error in source code - LKKBLF99 during MB51
Dear All,
I have config receipt indicator: X Stock Transport Order in MB51. It is Working Completely good in Development in Quality. But it is having dump during i run into production server.
Information on where terminated
Termination occurred in the ABAP program "SAPLKKBL" - in "GEN_FIELD_OUT2".
The main program was "RM07DOCS ".
In the source code you have the termination point in line 2839
of the (Include) program "LKKBLF99".
2825 ----
2826 * FORM GEN_FIELD_OUT2 *
2827 ----
2828 * ........ *
2829 ----
2830 form gen_field_out2.
2831 field-symbols <l_initial>.
2832
2833 case gs_out-field_colcount.
2834 when 001.
2835 if gs_out_flags-slave ne 'X'.
2836 assign <fm01> to <field>.
2837 gs_fc = gs_mfc01.
2838 else.
>>>>> assign <fs01> to <field>.
2840 gs_fc = gs_sfc01.
2841 endif.
Don't understand what happened. Let me have some solution AEAP.
Regards,
Swapnil VaidyaRuntime Errors GETWA_NOT_ASSIGNED
Termination occurred in the ABAP program "SAPLKKBL" - in "GEN_FIELD_OUT2".
The main program was "RM07DOCS ".
In the source code you have the termination point in line 2839
of the (Include) program "LKKBLF99".
Source Code Extract
Line SourceCde
2809 of structure t_outtab_slave to <fs96>.
2810 gs_sfc96 = gs_out_fieldcat.
2811 when 97.
2812 assign component gs_out_fieldcat-fieldname
2813 of structure t_outtab_slave to <fs97>.
2814 gs_sfc97 = gs_out_fieldcat.
2815 when 98.
2816 assign component gs_out_fieldcat-fieldname
2817 of structure t_outtab_slave to <fs98>.
2818 gs_sfc98 = gs_out_fieldcat.
2819 when 99.
2820 assign component gs_out_fieldcat-fieldname
2821 of structure t_outtab_slave to <fs99>.
2822 gs_sfc99 = gs_out_fieldcat.
2823 endcase.
2824 endform. "field_assign_hier_slave
2825 ----
2826 * FORM GEN_FIELD_OUT2 *
2827 ----
2828 * ........ *
2829 ----
2830 form gen_field_out2.
2831 field-symbols <l_initial>.
2832
2833 case gs_out-field_colcount.
2834 when 001.
2835 if gs_out_flags-slave ne 'X'.
2836 assign <fm01> to <field>.
2837 gs_fc = gs_mfc01.
2838 else.
>>>>> assign <fs01> to <field>.
2840 gs_fc = gs_sfc01.
2841 endif.
2842 when 002.
2843 if gs_out_flags-slave ne 'X'.
2844 assign <fm02> to <field>.
2845 gs_fc = gs_mfc02.
2846 else.
2847 assign <fs02> to <field>.
2848 gs_fc = gs_sfc02.
2849 endif.
2850 when 003.
2851 if gs_out_flags-slave ne 'X'.
2852 assign <fm03> to <field>.
2853 gs_fc = gs_mfc03.
2854 else.
2855 assign <fs03> to <field>.
2856 gs_fc = gs_sfc03.
2857 endif.
2858 when 004. -
Dear Experts
In process Reverse Engineering using RKM SAP ERP but error this result.
Reverse Engineering
View image: r e logalagent test
Error
View image: r e logalagent error
Error text
com.sunopsis.tools.core.exception.SnpsSimpleMessageException: ODI-17517: Error during task interpretation.
Task: 2
java.lang.Exception: The application script threw an exception: com.sunopsis.core.SnpsFlexFieldException: ODI-15068: Unknown flexfield code. BSF info: Initialize at line: 0 column: columnNo
at com.sunopsis.dwg.codeinterpretor.SnpCodeInterpretor.transform(SnpCodeInterpretor.java:489)
at com.sunopsis.dwg.dbobj.SnpSessStep.createTaskLogs(SnpSessStep.java:809)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:465)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2128)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.Exception: The application script threw an exception: com.sunopsis.core.SnpsFlexFieldException: ODI-15068: Unknown flexfield code. BSF info: Initialize at line: 0 column: columnNo
at com.sunopsis.dwg.codeinterpretor.SnpCodeInterpretor.transform(SnpCodeInterpretor.java:476)
... 11 more
Caused by: org.apache.bsf.BSFException: The application script threw an exception: com.sunopsis.core.SnpsFlexFieldException: ODI-15068: Unknown flexfield code. BSF info: Initialize at line: 0 column: columnNo
at bsh.util.BeanShellBSFEngine.eval(Unknown Source)
at bsh.util.BeanShellBSFEngine.exec(Unknown Source)
at com.sunopsis.dwg.codeinterpretor.SnpCodeInterpretor.transform(SnpCodeInterpretor.java:471)
... 11 more
Texto: //Command Name: Initialize
import com.sap.mw.jco.*;
import java.sql.Connection;
import java.util.ResourceBundle;
import java.util.Date;
//Initializing resourceBundle
odiSapErpResourceBundle = new OdiSapErpResourceBundle();//resourceBundle object to initialize & load resources
odiSapErpResourceBundle.initializeResource();//initializing/loading resources
resourceBundle = odiSapErpResourceBundle.getResourceBundle();
//Check the ODI Release
//Initialize Open Tool log file name
//Initializing logger
String logFileName = "";
logFileName = <@=odiRef.getQuotedString("<?=new File(System.getProperty("java.io.tmpdir"),"sap_rkm_erp_"+odiRef.getSession("SESS_NO")+".log").toString()?> ") @>;
OdiSapLogger sapLogger = new OdiSapLogger(logFileName, resourceBundle);
sapLogger.fine("ODIKM-SAPERP-RKM-10000","",new Object[] {"SAP ERP RKM - Initialize step.."} );
//Check whether Table or View checkbox selected
typeOfObject = "T";
if ((";AT;Q;SY;ST;T;V;").indexOf(";V;") > -1)
typeOfObject = "V";
if ((";AT;Q;SY;ST;T;V;").indexOf(";T;") > -1)
typeOfObject = "T";
//Initializing SAP Connector
OdiSAPERPAdapter odiSapERPAdapter = new OdiSAPERPAdapter(sapLogger, odiSapErpResourceBundle);
odiSapERPAdapter.setObjectType(typeOfObject);
//Helper object
OdiSAPERPMetadataHelper odiSAPERPMetadataHelper = new OdiSAPERPMetadataHelper(odiSapERPAdapter, sapLogger);
<?
// SAP connection properties get from Topology Manager Defintions
String hostName = odiRef.getInfo("SRC_DSERV_NAME");//SRC_DSERV_NAME
String userName = odiRef.getInfo("SRC_USER_NAME");
String password = odiRef.getInfo("SRC_PASS");
String systemNo = odiRef.getFlexFieldValue( odiRef.getInfo("SRC_I_CONNECT"), "1400", "SAP_SYSTEM_NUMBER" );
String sapClient = odiRef.getFlexFieldValue( odiRef.getInfo("SRC_I_CONNECT"), "1400", "SAP_CLIENT" );
String language = odiRef.getFlexFieldValue( odiRef.getInfo("SRC_I_CONNECT"), "1400", "SAP_LANGUAGE" );
?>
//Setting the SAP Connection
odiSapERPAdapter.setSAPConnection("<?=hostName?>", "<?=systemNo?>", "<?=sapClient?>", "<?=language?>", "<?=userName?>", "<?=password?>", null, null);
//Get the repository connection
Connection repoConnection = odiRef.getJDBCConnection("DEST");
sapLogger.fine("ODIKM-SAPERP-RKM-10000","",new Object[] {"repoConnection: "+repoConnection});.
at com.sunopsis.dwg.dbobj.SnpSessStep.createTaskLogs(SnpSessStep.java:837)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:465)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2128)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
at java.lang.Thread.run(Thread.java:744)
What I must correct?
What other tests can I perform?
Thanks for any lightDear Expert
Still facing this problem.
I did several tests, changing flexfields in physical topology and the parameters of RKM.
But the result is always the same.
What else could do.
The doubt remains.
Should be poss edit details.
>> >>> review history this post <<<<<
I can not enter values in JDBC because the JDBC option is not active.
Any light, suggestion or critics is welcome.
Also I have a SR open with serveridade 1 in orcl.
Thanks for All
Maybe you are looking for
-
How do i transfer music games and apps from my desktop to my laptop
how do i transfer music games and apps from my itunes account from my desktop to my new laptop, or should it just show up with my itunes account when i log in, b/c it's not.
-
Not only is my brand new Macbook Pro 17 inch iSight camera previewing me in vibrant magenta (go figure) it's not working in Skype. The audio is working but now video, just my picture is showing. I need help as to why my camera isn't previewing in rea
-
Video input to ancient PowerBook &/o iBook
Hello, I am setting up a security camera, recording the video stream to a laptop, and would like to use either my old PowerBook 1400c or an iBook G3 clamshell (300mhz) I may have access to. The camera in question outputs the signal via an RCA video c
-
Error when run Depreciation Posting Run AFAB
Hi, I found error when run Depreciation Posting Run for period 7 2007. FYI. I had run Unplanned Depreciation (TCode: ABAA) with document date 31.10.2007 and posting date 31.10.2007, trans. type 640. After that, i want to run Depreciation Posting Run
-
Photoshop CS5 suddenly slow.
Never seen this before. My 8 core 2.8 GHz Mac Pro has 10 GB RAM and a blank 100 GB scratch disk. Photoshop is always quick. Has been for years. Suddenly today, Photoshop is slow like molasses to open & save files. Lots of progress bars and wait curso