Bitcoin Forum
May 08, 2024, 05:37:11 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: RPC fails to connect!  (Read 1070 times)
fffeee (OP)
Member
**
Offline Offline

Activity: 70
Merit: 10


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

"This isn't the kind of software where we can leave so many unresolved bugs that we need a tracker for them." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715146631
Hero Member
*
Offline Offline

Posts: 1715146631

View Profile Personal Message (Offline)

Ignore
1715146631
Reply with quote  #2

1715146631
Report to moderator
fffeee (OP)
Member
**
Offline Offline

Activity: 70
Merit: 10


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

Is that the wrong board here?

Pieter Wuille
Legendary
*
Offline Offline

Activity: 1072
Merit: 1174


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

Seems your source code is not compatible with JSP.

I do Bitcoin stuff.
fffeee (OP)
Member
**
Offline Offline

Activity: 70
Merit: 10


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

So why the application run on a glassfish server?

fffeee (OP)
Member
**
Offline Offline

Activity: 70
Merit: 10


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
Merit: 1079


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 (OP)
Member
**
Offline Offline

Activity: 70
Merit: 10


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 (OP)
Member
**
Offline Offline

Activity: 70
Merit: 10


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

Nothing new?

fffeee (OP)
Member
**
Offline Offline

Activity: 70
Merit: 10


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: 1072
Merit: 1174


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.

I do Bitcoin stuff.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!