|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
lil path not found |
« View previous topic :: View next topic » |
Author |
Message
|
narendrach |
Posted: Sat Sep 24, 2005 11:32 am Post subject: lil path not found |
|
|
Voyager
Joined: 29 Jun 2005 Posts: 78
|
while i am deploying my custom node i am getting a error " lil path not found" . why is this so? can any one help me
i had set all the names correct as
my javaclass name and my custom Node Name is same
and i have created jar file with custom node projects name
and placed jar file into jplugins folder ..
and placed my custom node project in plugins folder
i can able to see my custom node in messageFlow editor _________________ Narendra CH |
|
Back to top |
|
 |
hopsala |
Posted: Sat Sep 24, 2005 12:02 pm Post subject: |
|
|
 Guardian
Joined: 24 Sep 2004 Posts: 960
|
search this forum for "lil path not found" and mark the option "search for all terms", you'll find many entries that are probably relevant to your question. For example, I got this result: Trouble deploying a custom java plug-in
If, after careful research, you are still unable to resolve your problem, tell us and we'll be happy to assist. If you solved it yourself, post the solution here for future reference. |
|
Back to top |
|
 |
narendrach |
Posted: Sat Sep 24, 2005 12:22 pm Post subject: |
|
|
Voyager
Joined: 29 Jun 2005 Posts: 78
|
if i am developing a custom input node what are the external .jar i needed
i included jplugin.jar
and even i had developed another processing node it worked fine with out any errors
if my java code is wrong shall i get this problem
can u please check my code
public class FileRead extends MbInputNode implements MbInputNodeInterface {
/**
* @see com.ibm.broker.plugin.MbInputNodeInterface#run(MbMessageAssembly)
*/
public FileRead()throws MbException
{
createOutputTerminal("out");
}
public static String getNodeName()
{
return "FileReadNode";
}
public int run(MbMessageAssembly mbmessageassembly) throws MbException {
String str_line="";
String str;
byte[] buffer=null;
FileInputStream inputStream;
try{
inputStream = new FileInputStream("c:\\log.S21");
buffer = new byte[inputStream.available()];
inputStream.read(buffer);
DataInputStream dis=new DataInputStream(new BufferedInputStream(inputStream));
while((str=dis.readLine())!=null)
{
str_line=str_line+str;
}
inputStream.close();
}catch(Exception e)
{}
setAttribute("firstParserClassName", "XML");
MbMessage msg = createMessage(buffer);
// msg.clearMessage();
MbMessage mbmessage = new MbMessage(mbmessageassembly.getMessage());
//msg.finalizeMessage(MbMessage.FINALIZE_VALIDATE);
MbMessageAssembly newAssembly =new MbMessageAssembly(mbmessageassembly, mbmessage);
MbElement mbelement = mbmessageassembly.getMessage().getRootElement();
setAttribute("firstParserClassName", "XML");
MbElement mbelement1 = mbelement.createElementAsLastChild("/XML/FileName");
MbElement mbelement2= mbelement1.createElementAsLastChild(0x1000000, "FullContent",str_line);
Object obj= mbelement2.createElementAsLastChild(0x1000000, "FileExt","S21");
boolean success = (new File("c:\\log.S21")).delete();
MbOutputTerminal mboutputterminal = getOutputTerminal("out");
mboutputterminal.propagate(mbmessageassembly);
return 0;
}
public void onDelete()
{
}
} _________________ Narendra CH |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|