Start a BW(Tibco) process (on the click of a button), to create a file and write some text to it.
And this is what I've done so far:
1. Created an HTML page (demohtml.html) with a button(the one that should lead to invoking the tibco process) in a project called "tibcodemo" in Netbeans and I'm using BEA Weblogic for deploying it. Though I also have apache tomcat but I chose not to use it. When i build the project, it works just fine, I'm able to open the page
(URL: "http://localhost:7001/tibcodemo/demohtml.html" and also "http://localhost:8080/tibcodemo/demohtml.html". 7001 is the default port that weblogic runs on, and 8080 is default for http requests
2. Created an HTTP connection in tibco designer.
3. Created a process to accomplish the task i.e. receive an http request as a starter process(using http receiver) and so on(which seems good to me) but I'm unable to verify the bw process I've created works just fine because of the error(in tester) that I get which is something like:
BW-HTTP-100116 Activation error with process starter [Process Definitions/write_tofile_on_buttonclick.process]
caused by: A lifecycle exception was thrown while trying to initialize the Tomcat server
caused by: LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use: JVM_Bind:8080
The configuration for http connection has the port number as 8080.
Don't know where the problem lies but i think it has something to do with the port number which I'm very confused with.
As per my knowledge(little it may be), 8080 is the default port number for handling HTTP requests(correct me please if it is not).