-
1. Re: CF10 Solr Search RHEL
raZorTTZ May 22, 2012 6:45 PM (in response to raZorTTZ)Also,
I took a look in the neo-solr.xml file and based on the port number and webapp entry tried navigating to it using the browser
and got a could not connect error using chrome. My understanding (limited as it is) is that I should get site back.
Cheers,Simon
-
2. Re: CF10 Solr Search RHEL
raZorTTZ May 22, 2012 7:12 PM (in response to raZorTTZ)Some more thinking out loud..
Should the Solr Home be /opt/coldfusion10/cfusion/jetty/multicore or /opt/coldfusion10/cfusion/jetty/solr?
Here is the neo-solr.xml file (minus the languages node for brevity sake)
<wddxPacket version='1.0'>
<header/>
<data>
<struct type='coldfusion.server.ConfigMap'>
<var name='httpsenabled'>
<string>FALSE</string>
</var>
<var name='solrport'>
<number>8985.0</number>
</var>
<var name='solrhttpsport'>
<number>0.0</number>
</var>
<var name='solrwebapp'>
<string>solr</string>
</var>
<var name='solrhost'>
<string>localhost</string>
</var>
<var name='languages' />
<var name='username'>
<string/>
</var>
<var name='solrbuffersize'>
<number>40.0</number>
</var>
<var name='solrhome'>
<string>/opt/coldfusion10/cfusion/jetty/multicore</string>
</var>
<var name='password'>
<string/>
</var>
</struct>
</data>
</wddxPacket>
-
3. Re: CF10 Solr Search RHEL
raZorTTZ May 22, 2012 10:29 PM (in response to raZorTTZ)The plot thickens...
I have been trying to manually start the service using the /opt/coldfusion10/cfusion/jetty/cfjetty script and came up with an error.
I had a look at the /opt/coldfusion10/cfusion/jetty/logs/start.log file and found the following
/sbin/runuser: invalid option -- 'X'
Try `/sbin/runuser --help' for more information.
It turns out that when cfjetty is executed the JVM arguments that are included in the command
-XX:+AggressiveOpts -XX:+ScavengeBeforeFullGC -XX:-UseParallelGC -Xmx512m -Dsolr.solr.home=multicore -DSTOP.PORT=8077 -DSTOP.KEY=cfsolrstop
are causing an exception and the service never starts.
If I edit the /opt/coldfusion10/cfusion/jetty/cfjetty script and wrap the command that is being sent through /sbin/runuser with double quotes, the script executes and the service starts.
Around line 77 for my particular change (I went through and updated other references so I could stop and restart later)
Before:
SOLRSTART='cd $SOLR;$SUCMD $SOLR_JVM/bin/java $JVMARGS -jar start.jar >> $SOLR/logs/start.log 2>&1'
After
SOLRSTART='cd $SOLR;$SUCMD "$SOLR_JVM/bin/java $JVMARGS -jar start.jar >> $SOLR/logs/start.log 2>&1"'
Now I can get into the ColdFusion Collections section of the ColdFusion Administrator.
Should the service be started automatically when ColdFusion starts? It doesn't look like it starts automatically.
Cheers,
Simon
-
4. Re: CF10 Solr Search RHEL
Jan Ruusuvuori Oct 1, 2012 9:03 PM (in response to raZorTTZ)Thanks Simon,
I ran into the same issue ("cfjetty start" fails due to botched runuser command line). The info you posted helped be solve it.
By the way, have you filed this as a bug at https://bugbase.adobe.com ?
Br,
Jan
-
5. Re: CF10 Solr Search RHEL
raZorTTZ Oct 1, 2012 10:11 PM (in response to Jan Ruusuvuori)Hi Jan,
Glad it helped
Thanks for the link to the bugbase. I have submitted the bug to Adobe. I also saw a bug that had been closed in the public beta that is a duplicate
https://bugbase.adobe.com/index.cfm?event=bug&id=3123145
Cheers,
Simon
-
6. Re: CF10 Solr Search RHEL
mlerley Aug 4, 2014 12:02 PM (in response to raZorTTZ)Thanks! Still not fixed, and this is still helping.

