Bitcoin Forum
December 09, 2016, 03:48:18 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: RPC fails to connect!  (Read 875 times)
fffeee
Member
**
Offline Offline

Activity: 70


View Profile WWW
May 04, 2012, 01:53:25 PM
 #1

RPC fails to connect!

If I tunnel the bitcoin rpc port 8332 to my local maschine and deploy my application with netbeans (glassfish server) it works and connects fine!!
But when I deploy the application on my webserver (tomcat) it doesnt work and shows this error:

"HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: 15 in the generated java file
Only a type can be imported. bitcoin.BitcoinHandler resolves to a package"

Is there someone who can help me?

Thans in advance

1481298498
Hero Member
*
Offline Offline

Posts: 1481298498

View Profile Personal Message (Offline)

Ignore
1481298498
Reply with quote  #2

1481298498
Report to moderator
1481298498
Hero Member
*
Offline Offline

Posts: 1481298498

View Profile Personal Message (Offline)

Ignore
1481298498
Reply with quote  #2

1481298498
Report to moderator
1481298498
Hero Member
*
Offline Offline

Posts: 1481298498

View Profile Personal Message (Offline)

Ignore
1481298498
Reply with quote  #2

1481298498
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
fffeee
Member
**
Offline Offline

Activity: 70


View Profile WWW
May 04, 2012, 03:16:55 PM
 #2

Is that the wrong board here?

Pieter Wuille
Legendary
*
Offline Offline

Activity: 1036


View Profile WWW
May 04, 2012, 03:38:42 PM
 #3

Seems your source code is not compatible with JSP.

aka sipa, core dev team

Tips and donations: 1KwDYMJMS4xq3ZEWYfdBRwYG2fHwhZsipa
fffeee
Member
**
Offline Offline

Activity: 70


View Profile WWW
May 04, 2012, 03:40:31 PM
 #4

So why the application run on a glassfish server?

fffeee
Member
**
Offline Offline

Activity: 70


View Profile WWW
May 04, 2012, 05:59:40 PM
 #5

I think there could be a tomcat problem.. Tomcat doesnt really know where to look for the source packages and libs..

Does somebody know what to do now?

DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218


Gerald Davis


View Profile
May 04, 2012, 06:06:42 PM
 #6

No can't help you on that but your development box and your final server should be as close to identical as possible.
Developing under one environment and then deploying it to another one is just a recipe for disaster.
fffeee
Member
**
Offline Offline

Activity: 70


View Profile WWW
May 04, 2012, 07:17:18 PM
 #7

I know.. that was stupid..

but does someone know how to handle this?

fffeee
Member
**
Offline Offline

Activity: 70


View Profile WWW
May 05, 2012, 01:27:44 PM
 #8

Nothing new?

fffeee
Member
**
Offline Offline

Activity: 70


View Profile WWW
May 05, 2012, 08:19:43 PM
 #9

Is a web.xml in the structure of a tomcat webapp necessary for every app? (No matter what kind..?!?)

Pieter Wuille
Legendary
*
Offline Offline

Activity: 1036


View Profile WWW
May 05, 2012, 10:17:57 PM
 #10

This really has nothing to do with bitcoin. Maybe you can post something in the market section if you want to pay for programming help.

aka sipa, core dev team

Tips and donations: 1KwDYMJMS4xq3ZEWYfdBRwYG2fHwhZsipa
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!