ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » lil path not found

Post new topic  Reply to topic
 lil path not found « View previous topic :: View next topic » 
Author Message
narendrach
PostPosted: Sat Sep 24, 2005 11:32 am    Post subject: lil path not found Reply with quote

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
View user's profile Send private message Yahoo Messenger
hopsala
PostPosted: Sat Sep 24, 2005 12:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
narendrach
PostPosted: Sat Sep 24, 2005 12:22 pm    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » lil path not found
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.