I am using Composer and I see error.badfetch.http.404: [http://IPADDRESS:PORT/JavaComposerProject/include/dbrequest.jsp] when the program try to execute a db block with correct connection and correct query.
I am new to composer and I am not sure what is it causing this. I could see dbrequest.jsp file present in include folder under main project folder.
Also there is one more instance where desired resource is not found during run time. this time it is a grammar file. I have the grammar file in place ../Resources/Grammar/DTMF path
I opened a this new post thinking that the old one might have been closed.
for the grammar file I see there was a character mismatch in the name of file. Hence BadFetch…
But for all the .jsp files in ../include folder, composer runtime throws badfetch even though the files are present and are correct name wise [including case]. Do we need to modify any built in code for this ? I am not sure please advice…
Composer is trying to get the corresponding .class file after fetching dbrequest.jsp file from ../include path
for all .jsp files present in ../include path, the corresponding .class and .java files are present under ../WEB-INF/src/org/apache/jsp/include path under main project folder
I tried opening each and every .java file from the browser and I get 404.
I deployed the project from composer, using Project–> properties → tomcat --deploy option… I am not sure if ../WEB-INF/src/org/apache/jsp/include is deployed properly…
I looked into C:\Program Files\GCTI\Composer 8.1\tomcat\webapps path, I dont see my project here.
where do composer deploy project physically on server ? how do I know if my project is deployed correctly ?
After some trial and error steps I found that composer first fetches dbrequest.jsp file…
in my project, by default, it is present under ../include path…
After fetching dbrequest.jsp file, composer then fetches dbrequest_jsp.class file..
in my project, by default, it is present under ../WEB-INF/src/org/apache/jsp/inlude path…
After fetching dbrequest_jsp.class file, composer then tries to fetch com.genesyslab.studio.backendlogic.db.CVDBBackendHandler file
in my project, it is not present under any location…
Do not understand what do you mean. I guess, it is very easy, just check if the requested files are presented on the mentioned URI (my guess is no, you forgot to deploy all backends scripts and files to the target WebServer).