Main Content

Magnolia Community Forums: Get help with Magnolia: Magnolia Tomcat server


  • mezmer121
    mezmer121
    Full name: Kian William Nowrouzian
    Posts: 12
    Last post: Apr 3, 2017 11:54:08 AM
    Registered on: Mar 20, 2017
    Magnolia Tomcat server
    #1 by mezmer121 on Mar 20, 2017 9:17:13 AM

    To whom it may concern:
    I downloaded magnolia in my laptop which I already have wamp with Joomla and zend projects installed under it.
    From what I have gathered in installation procedure, Tomcat has a separate port:8080 for its own with quite a separate space from my joomla and zend projects, Could it be problems regarding that?
    Kian William

  • ahietala
    ahietala
    Full name: Antti Hietala
    Posts: 333
    Last post: Apr 10, 2017 4:53:41 PM
    Re: Magnolia Tomcat server
    #2 by ahietala on Mar 20, 2017 9:21:53 AM

    Hey Kian William,

    There could be a conflict if another application uses port 8080. See https://documentation.magnolia-cms.com/display/DOCS/Known+issues#Knownissues-Port8080isalreadyinuse for advice on how to change the port.

    --Antti

  • matteo.pelucco
    matteo.pelucco
    Full name: Matteo Pelucco
    Posts: 264
    Last post: Mar 20, 2017 9:27:06 AM
    Re: Magnolia Tomcat server
    #3 by matteo.pelucco on Mar 20, 2017 9:27:06 AM

    Hi Kian,
    I reply with some "random" responses..

    To run Magnolia locally, you need Tomcat. No matter the port where you run it, you can run it on 8080, 8090, ...
    Moreover, Magnolia and Joomla does not have anything in common except the possible usage of MySQL. In other words, I suggest to keep separated the environment for those 2 kind of project (php vs java).

    To have Magnolia running locally for a demo purpose, you can even dowload a bundle archive, which contains a Tomcat distribution. But if you want to run locally for development purpose, I suggest you to setup a IDE (Eclipse, IntelliJ, ...) with Tomcat connectors.

    HTH,
    M.

  • mezmer121
    mezmer121
    Full name: Kian William Nowrouzian
    Posts: 12
    Last post: Apr 3, 2017 11:54:08 AM
    Registered on: Mar 20, 2017
    Re: Magnolia Tomcat server
    #4 by mezmer121 on Mar 20, 2017 10:06:03 AM

    Thanks for the response.
    my wamp is localhost with no port and my skype's port is not 8080, so Tomcat could use it.
    Kian William

  • mezmer121
    mezmer121
    Full name: Kian William Nowrouzian
    Posts: 12
    Last post: Apr 3, 2017 11:54:08 AM
    Registered on: Mar 20, 2017
    Re: Magnolia Tomcat server
    #5 by mezmer121 on Mar 20, 2017 10:11:05 AM

    Yes there is nothing in common between joomla and magnolia, The reason I diverted suddenly toward magnolia and tomcat is that I am going to develop an extension component in joomla and I want to embed a java applet in it, may be even with a simple access database or just feed it with mysql database of joomla. Applet is on client side so need for Tomcat server, yet I decided to study some stuff on the server side with JSP (extended Servlets too) which may help to develop my applet more professionally.
    Thanks for the response
    Kian William

  • mezmer121
    mezmer121
    Full name: Kian William Nowrouzian
    Posts: 12
    Last post: Apr 3, 2017 11:54:08 AM
    Registered on: Mar 20, 2017
    Re: Magnolia Tomcat server
    #6 by mezmer121 on Mar 21, 2017 8:05:44 AM

    I meant applet is on the client side so no need for Tomcat server, but I would like to learn more about servelets.
    Kian William

  • cmeier
    cmeier
    Full name: Christoph Meier
    Posts: 195
    Last post: Apr 18, 2017 5:34:26 AM
    Re: Magnolia Tomcat server
    #7 by cmeier on Mar 22, 2017 3:53:09 AM

    Hi Kian

    Servlets is a big topic - if it's new for you, i don't know which resources i can recommend.
    You may want to start with docs from oracle: "What Is a Servlet?" http://docs.oracle.com/javaee/6/tutorial/doc/bnafe.html

    Closely related to servlets are servlet filters. (http://docs.oracle.com/javaee/6/tutorial/doc/bnagb.html)

    You can use custom servlets and filters with Magnolia - but i would say it is an advanced topic, and not the first one to learn if you are new to Magnolia.
    You can customize Magnolia on many different ways - using servlets and/or filters is just one approach.

    Here are a few links to the Magnolia documentation concerning servlets and filters:
    - https://documentation.magnolia-cms.com/display/DOCS/Registering+a+servlet
    - https://documentation.magnolia-cms.com/display/DOCS/Request+processing+and+filters
    - https://documentation.magnolia-cms.com/display/DOCS/Dynamic+servlet+mapping

    I hope this helps,
    kind regards,
    Christoph

  • mezmer121
    mezmer121
    Full name: Kian William Nowrouzian
    Posts: 12
    Last post: Apr 3, 2017 11:54:08 AM
    Registered on: Mar 20, 2017
    Re: Magnolia Tomcat server
    #8 by mezmer121 on Mar 22, 2017 5:26:10 AM

    Thanks for introducing the resources
    As I said I am familiar with Java programming and I decided to mix it with my joomla extension component, yet servlets are so vast area and have nothing in common with web application development in joomla and zend. A general knowledge is more than enough for me, thanks again
    Kian William

You don't have the permission to post on this thread

Sign in

To login on this forum, you can use your Magnolia Forge, Support or Partner account, or, below, your Google, Yahoo! or OpenID account. If you have trouble logging in, or any other sort of issue, please let us know in the Meta forum, on the user-list, or simply by email at forum-admin at magnolia-cms dot com.

* Required

... or sign in with:

  • icon http://{your-openid-url}
  • icon
  • icon https://me.yahoo.com/