This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p>Support for converged web/telco multi language application is now supported directly as part of the jboss rails deployer.</p> | |
<h2>Prerequisites</h2> | |
<p>Download the <a title="Mobicents SIP Servlets" href="http://hudson.jboss.org/hudson/view/Mobicents/job/MobicentsSipServletsRelease/">latest snapshot version of Mobicents Sip Servlets</a> on JBoss 5.</p> | |
<p>Follow the steps to get <a title="Your first app on JBoss-Rails" href="/theses/jboss-rails/projects/jboss-rails/pages/your-first-app-on-jboss-rails">your first JBoss-Rails application running</a>.</p> | |
<h2>How it works ?</h2> | |
<p>To be able to make phone calls from your JRuby-Rails application here is what you need to do:<br /><br />In your JRuby-Rails application, edit your controller and add this piece of code to be able to make phone calls:</p> | |
<pre># get the sip factory from the servlet context<br />@sip_factory = $servlet_context.get_attribute('javax.servlet.sip.SipFactory')<br />puts @sip_factory<br /><br /># create a new sip application session<br /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p>During development, and in some production scenarios, it's useful to maintain your Rails application source in a location outside of <strong>$JBOSS_HOME</strong>. Additionally, the <strong>$RAILS_ENV</strong> variable may need to be set differently on different servers (production, staging, testing) perhaps.</p> | |
<p>To enable deployment-from-a-distance, the JBoss-Rails recognizes a top-level <strong>*-rails.yml</strong> deployment descriptor if placed within your server's <strong>deploy/</strong> directory.</p> | |
<p>This is a YAML file with 1 required section and additional optional sections. Values specified in this descriptor override any that may be provided within the application's own <strong>config/</strong> directory.</p> | |
<h2>Application Configuration [Required]<br /></h2> | |
<pre>application:<br /> RAILS_ROOT: /path/to/your/rails-application<br /> RAILS_ENV: production<br /></pre> | |
<p>The application section must define <strong>RAILS_ROOT</strong> and <strong>RAILS_ENV</strong>. <s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[INFO] ------------------------------------------------------------------------ | |
[ERROR] BUILD ERROR | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Error during page generation | |
Embedded error: Error rendering Maven report: Unable to build the Maven project for the artifact:groupId = 'com.oki.commons' | |
artifactId = 'oki-commons-utils' | |
version = '1.0.1-SNAPSHOT' | |
end tag name </body> must match start tag name <hr> from line 7 (position: TEXT seen ...</address>\n</body>... @9:8) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
deruelle@deruelle-laptop:~/git/git-projects/arquillian$ mvn install | |
[INFO] Scanning for projects... | |
Downloading: http://repo1.maven.org/maven2/org/jboss/ejb3/bom/bom-as6/0.1.2/bom-as6-0.1.2.pom | |
[INFO] Unable to find resource 'org.jboss.ejb3.bom:bom-as6:pom:0.1.2' in repository central (http://repo1.maven.org/maven2) | |
[INFO] ------------------------------------------------------------------------ | |
[ERROR] FATAL ERROR | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Error building POM (may not be this project's POM). | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
org.jboss.arquillian.impl.event.FiredEventException: java.lang.IllegalStateException: More then one implementation found for org.jboss.arquillian.spi.DeployableContainer, please check your classpath. The found implementations are org.jboss.arquillian.container.mobicents.servlet.sip.embedded_1x.MobicentsSipServletsContainer, org.jboss.arquillian.container.tomcat.embedded_6.TomcatContainer | |
at org.jboss.arquillian.impl.event.MapEventManager.fire(MapEventManager.java:68) | |
at org.jboss.arquillian.impl.context.AbstractEventContext.fire(AbstractEventContext.java:115) | |
at org.jboss.arquillian.impl.EventTestRunnerAdaptor.beforeSuite(EventTestRunnerAdaptor.java:62) | |
at org.jboss.arquillian.junit.Arquillian.<init>(Arquillian.java:89) | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) | |
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) | |
at java.lang. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
org.jboss.arquillian.impl.event.FiredEventException: java.lang.RuntimeException: Could not load found class org.jboss.shrinkwrap.apiloader.ShrinkWrapClassLoader$1$1 | |
at org.jboss.arquillian.impl.event.MapEventManager.fire(MapEventManager.java:68) | |
at org.jboss.arquillian.impl.context.AbstractEventContext.fire(AbstractEventContext.java:115) | |
at org.jboss.arquillian.impl.EventTestRunnerAdaptor.beforeClass(EventTestRunnerAdaptor.java:78) | |
at org.jboss.arquillian.junit.Arquillian$2.evaluate(Arquillian.java:162) | |
at org.jboss.arquillian.junit.Arquillian$3$1.evaluate(Arquillian.java:186) | |
at org.jboss.arquillian.junit.Arquillian$MultiStatementExecutor.execute(Arquillian.java:297) | |
at org.jboss.arquillian.junit.Arquillian$3.evaluate(Arquillian.java:182) | |
at org.junit.runners.ParentRunner.run(ParentRunner.java:236) | |
at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:127) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* The MIT License | |
* | |
* Copyright (c) 2004-2010, Sun Microsystems, Inc., Kohsuke Kawaguchi, Daniel Dyer, Stephen Connolly | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
* copies of the Software, and to permit persons to whom the Software is |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15:12:28,784 INFO [MGCP] Controller stopped | |
15:12:28,784 INFO [MGCP] Set scheduler: null | |
15:12:28,785 INFO [MGCP] Set server | |
15:12:28,787 INFO [Server] Stopping UDP Manager | |
15:12:28,787 INFO [UdpManager] Stopped | |
15:12:28,787 INFO [Server] Stopping scheduler | |
15:12:28,827 INFO [Server] Stopped media server instance | |
Exception in thread "main" java.lang.IllegalStateException: SystemClock is already installed. | |
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:716) | |
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jean@jean-XPS13-9333:~/servers/TelScale-Restcomm-JBoss-AS7-no-lce-7.2.0.810/telscale-media/telscale-media-server-webrtc$ sh bin/run.sh | |
========================================================================= | |
MMS Bootstrap Environment | |
MMS_HOME: /home/jean/servers/TelScale-Restcomm-JBoss-AS7-no-lce-7.2.0.810/telscale-media/telscale-media-server-webrtc | |
JAVA: java | |
JAVA_OPTS: -Dprogram.name=run.sh -server -Djava.net.preferIPv4Stack=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<deployment xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="urn:jboss:bean-deployer:2.0 bean-deployer_2_0.xsd" | |
xmlns="urn:jboss:bean-deployer:2.0"> | |
<!-- System clock --> | |
<bean name="SystemClock" class="org.mobicents.media.server.scheduler.DefaultClock"/> | |
<!-- EDF scheduler --> | |
<bean name="Scheduler" class="org.mobicents.media.server.scheduler.Scheduler"> |
OlderNewer