Hi Samuel,

I just had to create a web application that was to be run on Weblogic 
12.2.1. I was able to get it working doing the following:


   1. Create a new project using *compojure-api* 
   <https://github.com/metosin/compojure-api>: lein new compojure-api webapp
   2. Use the *lein-ring* plugin (included with the compojure-api template) 
   to create WAR file, you may need to configure the plugin in the *project.clj 
   *to set the uberwar-name: lein ring uberwar
   3. Deploy WAR file

Doing this approach, I didn't have to touch the web.xml or weblogic.xml. 
You can configure the rest of the settings via the Weblogic Console. There 
were a few things that I couldn't get sorted out, any route that serves 
HTML craps out like this:

https://github.com/luminus-framework/luminus/issues/165


I ended up splitting my application in two, one WAR for the service and 
another for the static HTML/JS.


I hope this helps, it took me a lot of trial and error before figuring this 
out (I too tried the web.xml and weblogic.xml route).


-jvt

On Tuesday, December 13, 2016 at 9:24:41 AM UTC-7, Samuel Morello wrote:
>
> Dear all, 
>
> Is there someone who has experience with the deployment of web application 
> using compojure on a weblogic server ? 
> I  cannot make it run and could not find a similar issue. 
>
> I use: 
> lein ring uberwar to create the war file and have set some properties in 
> the project.clj file {:servlet-name, ... }. 
> I've also add a weblogic.xml inside the war to "exclude" joda.time, ... 
> but this doesn't work and i always have a 
> 403 forbidden error from weblogic. 
> I d'ont know if it is the good place to post this but any information 
> would help me a lot
> I can post the web.xml or weblogic.xml and project.clj if needed
> Many thanks, 
>
> Samuel 
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to