Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 303773
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T07:13:09+00:00 2026-05-12T07:13:09+00:00

I recently installed Erlang RFC4627 (JSON-RPC) with the debian package. I ran the test

  • 0

I recently installed Erlang RFC4627 (JSON-RPC) with the debian package. I ran the test server using:

sudo erl -pa ebin

and then at the prompt:

test_jsonrpc:start_httpd().

returned

ok

I tested with http://:5671/ and got the success messages.

When I try to run rabbitmq-http2 however, I get the errors that the readme says are caused by rfc4627’s code not being on the erlang search path. How do I put it on the path. I saw something on Dave Thomas’s blog which suggested putting the path in the file:

~/.erlang

This didn’t seem to work for me (maybe I did it wrong?).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T07:13:09+00:00Added an answer on May 12, 2026 at 7:13 am

    The code module is how you manipulate the path within an application.

    The flags -pa that you used in starting the Erlang shell actually refer to a function in this module:

    add_patha(Dir) -> true | {error, What}
    

    You are right about the .erlang file in your home directory – it is run at start-up time of the shell and you can add in handy paths.

    For an application you can start the shell with a batch file that calls something like this:

    erl -pa ./ebin ../../lib/some/path/ebin
    

    The flags behaviour of erl is described here.

    For more sophisticated path management you need to get familiar with how OTP release management is done (but I suspect that is a while away for you yet).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We recently installed Team Foundation Server 2008 and we are using it for both
I recently installed PHP5 with Macports using sudo port install php5 +imap . However,
I recently installed the WAMP server package on my computer at work. When I
I recently installed Windows 2008 Server to replace a crashed hard drive on a
I recently installed Visual Studio 2010 Professional RC to try it out and test
I recently installed PDT Helios and now when using the debugger, it will break
I recently installed IE8, and found quirks using the old copies of IE I
I recently installed SQL Server 2005 on my laptop. When I run as administrator
I recently installed APC on my production server but It's not working as expected.
I recently installed CouchDB, but haven't gotten past the test suite yet. It seems

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.