Giter Site home page Giter Site logo

Comments (5)

mcupak avatar mcupak commented on June 11, 2024

The log you attached shows very little data and I wasn't able to reproduce the problem. If you want to run the test suite, make sure the server is not started yet (otherwise you get a port conflict) and $JBOSS_HOME points to the correct location. Also make sure you don't have the war deployed on the server at that point (just in case), i.e. remove it from $JBOSS_HOME/standalone/deployments.

If you just want to use BoB without running the tests, just use the default profile (i.e. don't use "-Parq-wildfly-managed").

Either way, "mvn wildfly:deploy" is the command that deploys BoB to Wildfly. Since that works for you without errors, you should be able to use BoB.

"mvn wildfly:undeploy" is used to remove the app from the server once you're done. You can achieve the same result by removing the war file manually from $JBOSS_HOME/standalone/deployments.

Can you confirm BoB works on your end?

from beacon-of-beacons.

shashvattrip avatar shashvattrip commented on June 11, 2024

Hey, I think I have it up and running. But the responses are in XML? Not in JSON? Is there a configuration file that can change it?
Here's a snapshot of the localhost.

bob-rest

from beacon-of-beacons.

mcupak avatar mcupak commented on June 11, 2024

The response format depends on what you set in "Accept" header in your request. JSON is default (try e.g. curl). If you're seeing XML in your browser, it means your browser sets XML as one of the preferred formats in that header.

from beacon-of-beacons.

shashvattrip avatar shashvattrip commented on June 11, 2024

Yes, works well with POSTMAN.

from beacon-of-beacons.

mcupak avatar mcupak commented on June 11, 2024

OK, resolving.

from beacon-of-beacons.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.