Projects tigase _server server-core Issues #968
Issue in Running Xmpp server from eclipse (#968)
Closed
amit kumar opened 6 years ago

Do we have any documentation to configure and run Xmpp from eclipse?

what i did?? Configured the init.properties and set them as run argument on eclipse.

config-type=--gen-config-def

--virt-hosts=localhost
--admins=admin@localhost

http/setup/admin-credentials=root:root


--debug=server

--user-db-uri=mysql://localhost:3306/tigasedb?user=root&password=guudluhgq



--sm-plugins=+jabber\:iq\:auth,+urn\:ietf\:params\:xml\:ns\:xmpp-sasl,+urn\:ietf\:params\:xml\:ns\:xmpp-bind,+urn\:ietf\:params\:xml\:ns\:xmpp-session,+jabber\:iq\:register,+jabber\:iq\:roster,+presence-state,+presence-subscription,+basic-filter,+domain-filter,+jabber\:iq\:privacy,+jabber\:iq\:version,+http\://jabber.org/protocol/stats,+starttls,-msgoffline,+vcard-temp,+http\://jabber.org/protocol/commands,+jabber\:iq\:private,+urn\:xmpp\:ping,+pep,+zlib,+message-archive-xep-0136,+amp

--comp-name-1=muc
--comp-class-1=tigase.muc.MUCComponent

--comp-name-2=pubsub
--comp-class-2=tigase.pubsub.PubSubComponent

--comp-name-3=http
--comp-class-3=tigase.http.HttpMessageReceiver

XMPP server is not coming up.

2018-08-22 22:32:42.709 [main]             TLSUtil.configureSSLContext()      SEVERE:   Can not initialize SSL Container: tigase.io.jdk18.SNISSLContextContainer
java.lang.NullPointerException
	at tigase.osgi.ModulesManagerImpl.forName(ModulesManagerImpl.java:187)
	at tigase.io.TLSUtil.configureSSLContext(TLSUtil.java:84)
	at tigase.conf.ConfiguratorAbstract.setProperties(ConfiguratorAbstract.java:772)
	at tigase.conf.ConfiguratorAbstract.setup(ConfiguratorAbstract.java:519)
	at tigase.conf.ConfiguratorAbstract.componentAdded(ConfiguratorAbstract.java:152)
	at tigase.conf.Configurator.componentAdded(Configurator.java:50)
	at tigase.conf.Configurator.componentAdded(Configurator.java:33)
	at tigase.server.AbstractComponentRegistrator.addComponent(AbstractComponentRegistrator.java:116)
	at tigase.server.MessageRouter.addRegistrator(MessageRouter.java:138)
	at tigase.server.MessageRouter.setConfig(MessageRouter.java:644)
	at tigase.server.XMPPServer.start(XMPPServer.java:142)
	at tigase.server.XMPPServer.main(XMPPServer.java:112)

can someone please help?

Steps i followed.

  1. Configured init
  2. passing that as argument to run on eclipse
  3. added dependent jars in the class path

debug_log.txt

Artur Hefczyc commented 6 years ago

I am afraid none of us, at the moment, uses Eclipse as development environment, and therefore, we cannot provide you any instructions or help with running Tigase under Eclipse.

amit kumar commented 6 years ago

Artur Hefczyc wrote:

I am afraid none of us, at the moment, uses Eclipse as development environment, and therefore, we cannot provide you any instructions or help with running Tigase under Eclipse.

Thanks for quick response. can you please let me know which development environment do you use?

amit kumar commented 6 years ago

i need to customized and use the tigase xmpp server for my project. can you please guide for development env.

wojciech.kapcia@tigase.net commented 6 years ago

amit kumar wrote:

can you please let me know which development environment do you use?

We mostly use JetBrains IDEA and NetBeans.

This kind of question should be posted in our Forums: https://tigase.tech/projects/tigase-server/boards - if you desire please continue there.

As for your issue - please make sure you are:

  • using correct dependencies;
  • correct configuration (it looks like you enabled OSGi mode) in correct version (if you want to use latest origin/master you should use TDSL configuration format).
issue 1 of 1
Type
Bug
Priority
Normal
Assignee
RedmineID
8096
Version
tigase-server-8.0.0
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#968
Please wait...
Page is in error, reload to recover