SageTV Community  

Go Back   SageTV Community > Hardware Support > Hardware Support
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

Hardware Support Discussions related to using various hardware setups with SageTV products. Anything relating to capture cards, remotes, infrared receivers/transmitters, system compatibility or other hardware related problems or suggestions should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #2641  
Old 06-28-2019, 06:50 PM
BigSwifty's Avatar
BigSwifty BigSwifty is offline
Sage Advanced User
 
Join Date: Aug 2006
Location: Hollywood, FL.
Posts: 217
I removed inadvertent OpenDCT x86 exe.s from firewall exceptions, added the correct x64s and it still fails as attached.
I really appreciate the help...thank you
Attached Files
File Type: zip wrapper - Copy.zip (345.0 KB, 136 views)
__________________
SERVER/CLIENT_1--> AMD Phenom2 X4 925 2.8GHz. 8Gig mem. Asus M5A97. // Win 7 x64 // GTX 1060. //Ceton infinity 4 Comcast // SageV9.2.5.936 x64 running Gemstone // Lots of HD space. Recording to a NAS
CLIENT_2--> AMD Athlon 64 X2 5400 Brisbane 2.8GHz. 4Gig mem. GIGABYTE GA-MA780G-UD3H// ATI 5570. // Win 7 x64
Reply With Quote
  #2642  
Old 06-28-2019, 06:54 PM
BigSwifty's Avatar
BigSwifty BigSwifty is offline
Sage Advanced User
 
Join Date: Aug 2006
Location: Hollywood, FL.
Posts: 217
Will the x86 OpenDCT work with Sagex64? Perhaps I should use the 32bit?
__________________
SERVER/CLIENT_1--> AMD Phenom2 X4 925 2.8GHz. 8Gig mem. Asus M5A97. // Win 7 x64 // GTX 1060. //Ceton infinity 4 Comcast // SageV9.2.5.936 x64 running Gemstone // Lots of HD space. Recording to a NAS
CLIENT_2--> AMD Athlon 64 X2 5400 Brisbane 2.8GHz. 4Gig mem. GIGABYTE GA-MA780G-UD3H// ATI 5570. // Win 7 x64
Reply With Quote
  #2643  
Old 06-28-2019, 06:56 PM
Tiki's Avatar
Tiki Tiki is offline
Sage Icon
 
Join Date: Feb 2005
Location: Southwest Florida, USA
Posts: 2,009
Quote:
Originally Posted by BigSwifty View Post
Thank you. Yes, I'm running 64bit OpenDCT AND I have both 64 and32 Java installed (running Sage64). Both Java 64/32 are allowed through the firewall.
Try uninstalling 32 bit java. I remember seeing posts that OpenDCT could sometimes try to use the wrong Java when there was more than one.

Or try installing 32 bit OpenDCT. It doesn’t have to be the same bitness as Sage.
__________________
Server: Ryzen 2400G with integrated graphics, ASRock X470 Taichi Motherboard, HDMI output to Vizio 1080p LCD, Win10-64Bit (Professional), 16GB RAM
Capture Devices (7 tuners): Colossus (x1), HDHR Prime (x2)
,USBUIRT (multi-zone)
Source:
Comcast/Xfinity X1 Cable
Primary Client: Server Other Clients: (1) HD200, (1) HD300
Retired Equipment: MediaMVP, PVR150 (x2), PVR150MCE,
HDHR, HVR-2250, HD-PVR
Reply With Quote
  #2644  
Old 06-28-2019, 07:23 PM
wnjj wnjj is offline
Sage Icon
 
Join Date: Jan 2009
Posts: 1,514
Quote:
Originally Posted by Tiki View Post
Try uninstalling 32 bit java. I remember seeing posts that OpenDCT could sometimes try to use the wrong Java when there was more than one.

Or try installing 32 bit OpenDCT. It doesn’t have to be the same bitness as Sage.
You shouldn't have to uninstall. According to the notes in the first post, you can point directly to the proper JVM:

Code:
If you run into issues with Java Service Wrapper being unable to find your Java
runtime, you will need to edit wrapper.conf under C:\Program Files [(x86)]\
OpenDCT Authors\OpenDCT\jsw\conf\wrapper.conf to contain the complete path to your
installed runtime.
Reply With Quote
  #2645  
Old 06-28-2019, 07:24 PM
wnjj wnjj is offline
Sage Icon
 
Join Date: Jan 2009
Posts: 1,514
Quote:
Originally Posted by BigSwifty View Post
I removed inadvertent OpenDCT x86 exe.s from firewall exceptions, added the correct x64s and it still fails as attached.
I really appreciate the help...thank you
Your log file shows this:

command: "C:\Program Files (x86)\Common Files\Oracle\Java\javapath\java.exe

which means it's running the 32-bit JVM.
Reply With Quote
  #2646  
Old 06-28-2019, 07:26 PM
BigSwifty's Avatar
BigSwifty BigSwifty is offline
Sage Advanced User
 
Join Date: Aug 2006
Location: Hollywood, FL.
Posts: 217
Quote:
Originally Posted by Tiki View Post
Try uninstalling 32 bit java. I remember seeing posts that OpenDCT could sometimes try to use the wrong Java when there was more than one.

Or try installing 32 bit OpenDCT. It doesn’t have to be the same bitness as Sage.
So I uninstalled OpenDCT x64 and installed X86. Still no joy.
Attached Files
File Type: zip wrapper.zip (347.5 KB, 141 views)
File Type: txt opendct.txt (18.3 KB, 129 views)
__________________
SERVER/CLIENT_1--> AMD Phenom2 X4 925 2.8GHz. 8Gig mem. Asus M5A97. // Win 7 x64 // GTX 1060. //Ceton infinity 4 Comcast // SageV9.2.5.936 x64 running Gemstone // Lots of HD space. Recording to a NAS
CLIENT_2--> AMD Athlon 64 X2 5400 Brisbane 2.8GHz. 4Gig mem. GIGABYTE GA-MA780G-UD3H// ATI 5570. // Win 7 x64
Reply With Quote
  #2647  
Old 06-29-2019, 09:20 AM
BigSwifty's Avatar
BigSwifty BigSwifty is offline
Sage Advanced User
 
Join Date: Aug 2006
Location: Hollywood, FL.
Posts: 217
I've been using Sage since 2006 and have never felt as much like a mosquito in people's ears as I do now

I think I'm still having Java issues. After uninstalling OpenDCT and deleting all it's old folders (x64 ) I was able to successfully download my lineups but Sage is unable to tune the channels. See attached.

I tried editing the wrapper as described; I used the x86 path and uncommented as instructed, but the console errored out.
Attached Images
File Type: png Untitled.png (20.6 KB, 140 views)
Attached Files
File Type: txt opendct.txt (67.7 KB, 141 views)
File Type: txt wrapper.txt (147.6 KB, 140 views)
__________________
SERVER/CLIENT_1--> AMD Phenom2 X4 925 2.8GHz. 8Gig mem. Asus M5A97. // Win 7 x64 // GTX 1060. //Ceton infinity 4 Comcast // SageV9.2.5.936 x64 running Gemstone // Lots of HD space. Recording to a NAS
CLIENT_2--> AMD Athlon 64 X2 5400 Brisbane 2.8GHz. 4Gig mem. GIGABYTE GA-MA780G-UD3H// ATI 5570. // Win 7 x64
Reply With Quote
  #2648  
Old 06-29-2019, 10:17 AM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
SageTVaholic
 
Join Date: Dec 2006
Posts: 2,754
I have a similar setup. Going through all my similar settings, I see that I have the 32 bit version of OpenDCT running, and the 32 bit version of Java 1.7 running. I seem to recall having similar problems and as others have mentioned, turned out to be a Java conflict (32 bit vs. 64 bit) and I believe I uninstalled the 64 bit version as there was no reason to have it, and then things started working correctly.

I just checked my own OpenDCT log and I'm not able to find a place where it explicitly states which Java (32 or 64 bit) that it has selected.
Reply With Quote
  #2649  
Old 06-29-2019, 10:24 AM
KryptoNyte's Avatar
KryptoNyte KryptoNyte is offline
SageTVaholic
 
Join Date: Dec 2006
Posts: 2,754
In my folder C:\ProgramData\OpenDCT\config\lineup

There is a file in there called "dct_infinitv.properties"

The contents of that lineup file look like this (truncated, the list of channels is much longer in the file):

#dct_infinitv Configuration File
#Sat Jun 29 11:01:15 CDT 2019
channel.0001=1,,false,SPNEWMW,,QAM256,447000000,76,,0,UNKNOWN,false
channel.0002=2,,false,WTMJHD,,QAM256,129000000,776,,0,UNKNOWN,false
channel.0003=3,,false,TBSHD,,QAM256,453000000,14,,0,UNKNOWN,false
channel.0004=4,,false,GSN,,QAM256,123000000,1032,,0,UNKNOWN,false
channel.0005=5,,false,WDJTHD,,QAM256,201000000,785,,0,UNKNOWN,false
channel.0006=6,,false,WITIHD,,QAM256,129000000,779,,0,UNKNOWN,false
channel.0007=7,,false,WMLWHD,,QAM256,219000000,790,,0,UNKNOWN,false
Reply With Quote
  #2650  
Old 06-29-2019, 10:25 AM
JustFred JustFred is online now
Sage Expert
 
Join Date: May 2015
Location: Sunnyvale, Ca
Posts: 572
This seems relevant:
Code:
INFO   | jvm 1    | 2019/06/29 10:39:44.341 | WARNING - Unable to load the Wrapper's native library 'wrapper.dll'.
INFO   | jvm 1    | 2019/06/29 10:39:44.341 |           The file is located on the path at the following location but
INFO   | jvm 1    | 2019/06/29 10:39:44.341 |           could not be loaded:
INFO   | jvm 1    | 2019/06/29 10:39:44.341 |             C:\Program Files (x86)\OpenDCT Authors\OpenDCT\jsw\.\lib\wrapper.dll
INFO   | jvm 1    | 2019/06/29 10:39:44.341 |           Please verify that the file is readable by the current user
INFO   | jvm 1    | 2019/06/29 10:39:44.341 |           and that the file has not been corrupted in any way.
INFO   | jvm 1    | 2019/06/29 10:39:44.341 |           One common cause of this problem is running a 32-bit version
INFO   | jvm 1    | 2019/06/29 10:39:44.341 |           of the Wrapper with a 64-bit version of Java, or vica versa.
INFO   | jvm 1    | 2019/06/29 10:39:44.341 |           This is a 64-bit JVM.
INFO   | jvm 1    | 2019/06/29 10:39:44.341 |           Reported cause:
INFO   | jvm 1    | 2019/06/29 10:39:44.341 |             C:\Program Files (x86)\OpenDCT Authors\OpenDCT\jsw\lib\wrapper.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
INFO   | jvm 1    | 2019/06/29 10:39:44.341 |           System signals will not be handled correctly.
__________________
System #1: Win7-64, I7-920, 8 GB mem, 4TB HD. Java-64 1.8.0_141. Sage-64 v9.2.1 ATSC: 2x HDHR-US (1st gen white) tuners. HD-200.
System #2: Win7-64, I7-920, 8 GB mem, 4TB HD. Java 1.8.0_131. Sage v9.1.6.747. ClearQAM: 2x HDHR3-US tuners. HD-200.
System #3: Win7-64, I7-920, 12 GB mem, 4TB HD. Java-64 1.8.0_141. Sage-64 v9.2.1 ATSC: 2x HVR2250; Spectrum Cable via HDPVR & USB-UIRT. 3x HD-200.
Reply With Quote
  #2651  
Old 06-29-2019, 11:51 AM
BigSwifty's Avatar
BigSwifty BigSwifty is offline
Sage Advanced User
 
Join Date: Aug 2006
Location: Hollywood, FL.
Posts: 217
Quote:
Originally Posted by KryptoNyte View Post
I have a similar setup. Going through all my similar settings, I see that I have the 32 bit version of OpenDCT running, and the 32 bit version of Java 1.7 running. I seem to recall having similar problems and as others have mentioned, turned out to be a Java conflict (32 bit vs. 64 bit) and I believe I uninstalled the 64 bit version as there was no reason to have it, and then things started working correctly.

I just checked my own OpenDCT log and I'm not able to find a place where it explicitly states which Java (32 or 64 bit) that it has selected.
I'm running Sagex64 so i believe I need to use javax64.
My "dct_infinitv.properties" looks similar to yours.

Quote:
Originally Posted by JustFred View Post
This seems relevant:
I agree. That's why I said: "I tried editing the wrapper as described; I used the x86 path and uncommented as instructed, but the console errored out" and included the screen shot of my JAVA console... I used the path for my 32bit Java and uncommented.

I'm not a coder but i'm somewhat (at least I thought) computer literate

Here is the config file that i have not yet edited
Code:
#encoding=UTF-8
# Configuration files must begin with a line specifying the encoding
#  of the the file.

# If JSW is unable to find your Java binary, you can set the path here. JAVA_HOME is not used by default.
# If you set this path, be sure to uncomment wrapper.java.command=%JAVA_HOME%/bin/java below.
set.JAVA_HOME=c:/Program Files (x86)/Java/jre1.8.0_66
set.OPENDCT_HOME=..
set.WRAPPER_HOME=.
set.LOGGING_HOME=c:/ProgramData/OpenDCT/logs
set.CONFIG_HOME=c:/ProgramData/OpenDCT/config

#********************************************************************
# Wrapper Localization
#********************************************************************
# Specify the locale which the Wrapper should use.  By default the system
#  locale is used.
#wrapper.lang=en_US # en_US or ja_JP

# Specify the location of the Wrapper's language resources.  If these are
#  missing, the Wrapper will default to the en_US locale.
#wrapper.lang.folder=../lang

#********************************************************************
# Wrapper Java Properties
#********************************************************************
# Java Application
#  Locate the java binary on the system PATH:
wrapper.java.command=java

#  Specify a specific java binary:
#set.JAVA_HOME=/java/path
#wrapper.java.command=%JAVA_HOME%/bin/java

# The working directory the program is started in.
wrapper.working.dir=../

# Tell the Wrapper to log the full generated Java command line.
wrapper.java.command.loglevel=INFO

# Java Main class.  This class must implement the WrapperListener interface
#  or guarantee that the WrapperManager class is initialized.  Helper
#  classes are provided to do this for you.  See the Integration section
#  of the documentation for details.
wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp

# Java Classpath (include wrapper.jar)  Add class path elements as
#  needed starting from 1
wrapper.java.classpath.1=%WRAPPER_HOME%/lib/wrapper.jar
wrapper.java.classpath.2=%OPENDCT_HOME%/lib/opendct-0.5.29.jar
wrapper.java.classpath.3=%OPENDCT_HOME%/lib/cling-core-2.1.1.jar
wrapper.java.classpath.4=%OPENDCT_HOME%/lib/log4j-api-2.5.jar
wrapper.java.classpath.5=%OPENDCT_HOME%/lib/log4j-core-2.5.jar
wrapper.java.classpath.6=%OPENDCT_HOME%/lib/jna-4.2.1.jar
wrapper.java.classpath.7=%OPENDCT_HOME%/lib/jna-platform-4.2.1.jar
wrapper.java.classpath.8=%OPENDCT_HOME%/lib/nanohttpd-2.3.0.jar
wrapper.java.classpath.9=%OPENDCT_HOME%/lib/nanohttpd-nanolets-2.3.0.jar
wrapper.java.classpath.10=%OPENDCT_HOME%/lib/gson-2.8.0.jar
wrapper.java.classpath.11=%OPENDCT_HOME%/lib/javacpp-1.1.jar
wrapper.java.classpath.12=%OPENDCT_HOME%/lib/ffmpeg-2.8.1-1.1.jar
wrapper.java.classpath.13=%OPENDCT_HOME%/lib/ffmpeg-2.8.1-1.1-windows-x86.jar
wrapper.java.classpath.14=%OPENDCT_HOME%/lib/seamless-util-1.1.1.jar
wrapper.java.classpath.15=%OPENDCT_HOME%/lib/seamless-http-1.1.1.jar
wrapper.java.classpath.16=%OPENDCT_HOME%/lib/seamless-xml-1.1.1.jar


# Java Library Path (location of Wrapper.DLL or libwrapper.so)
wrapper.java.library.path.1=%WRAPPER_HOME%/lib
wrapper.java.library.path.2=%OPENDCT_HOME%/lib

# Java Bits.  On applicable platforms, tells the JVM to run in 32 or 64-bit mode.
wrapper.java.additional.auto_bits=TRUE

# Java Additional Parameters
wrapper.java.additional.1=-Dopendct_log_root=%LOGGING_HOME%
wrapper.java.additional.2=-Dconfig_dir=%CONFIG_HOME%
wrapper.java.additional.3=-Ddaemon_mode=true
wrapper.java.additional.4=-XX:ErrorFile=%LOGGING_HOME%/hs_err_pid%p.log
wrapper.java.additional.5=-verbose:gc
wrapper.java.additional.6=-XX:+UseG1GC

# Initial Java Heap Size (in MB)
wrapper.java.initmemory=128

# Maximum Java Heap Size (in MB)
wrapper.java.maxmemory=768

# Application parameters.  Add parameters as needed starting from 1
wrapper.app.parameter.1=opendct.Main

#********************************************************************
# Wrapper Logging Properties
#********************************************************************
# Enables Debug output from the Wrapper.
# wrapper.debug=TRUE

# Format of output for the console.  (See docs for formats)
wrapper.console.format=LPZM

# Log Level for console output.  (See docs for log levels)
wrapper.console.loglevel=INFO

# Log file to use for wrapper output logging.
wrapper.logfile=%LOGGING_HOME%/wrapper.log

# Format of output for the log file.  (See docs for formats)
wrapper.logfile.format=LPZM

# Log Level for log file output.  (See docs for log levels)
wrapper.logfile.loglevel=INFO

# Maximum size that the log file will be allowed to grow to before
#  the log is rolled. Size is specified in bytes.  The default value
#  of 0, disables log rolling.  May abbreviate with the 'k' (kb) or
#  'm' (mb) suffix.  For example: 10m = 10 megabytes.
wrapper.logfile.maxsize=0

# Maximum number of rolled log files which will be allowed before old
#  files are deleted.  The default value of 0 implies no limit.
wrapper.logfile.maxfiles=0

# Log Level for sys/event log output.  (See docs for log levels)
wrapper.syslog.loglevel=NONE

#********************************************************************
# Wrapper General Properties
#********************************************************************
# Allow for the use of non-contiguous numbered properties
wrapper.ignore_sequence_gaps=TRUE

# Do not start if the pid file already exists.
wrapper.pidfile.strict=TRUE

# Title to use when running as a console
wrapper.console.title=SageTV OpenDCT Java Digital Cable Tuner

#********************************************************************
# Wrapper JVM Checks
#********************************************************************
# Detect DeadLocked Threads in the JVM. (Requires Standard Edition)
wrapper.check.deadlock=TRUE
wrapper.check.deadlock.interval=60
wrapper.check.deadlock.action=RESTART
wrapper.check.deadlock.output=FULL

# Out Of Memory detection.
#  Ignore -verbose:class output to avoid false positives.
wrapper.filter.trigger.1000=[Loaded java.lang.OutOfMemoryError
wrapper.filter.action.1000=NONE
# (Simple match)
wrapper.filter.trigger.1001=java.lang.OutOfMemoryError
# (Only match text in stack traces if -XX:+PrintClassHistogram is being used.)
#wrapper.filter.trigger.1001=Exception in thread "*" java.lang.OutOfMemoryError
#wrapper.filter.allow_wildcards.1001=TRUE
wrapper.filter.action.1001=RESTART
wrapper.filter.message.1001=The JVM has run out of memory.

#********************************************************************
# Wrapper Email Notifications. (Requires Professional Edition)
#********************************************************************
# Common Event Email settings.
#wrapper.event.default.email.debug=TRUE
#wrapper.event.default.email.smtp.host=<SMTP_Host>
#wrapper.event.default.email.smtp.port=25
#wrapper.event.default.email.subject=[%WRAPPER_HOSTNAME%:%WRAPPER_NAME%:%WRAPPER_EVENT_NAME%] Event Notification
#wrapper.event.default.email.sender=<Sender email>
#wrapper.event.default.email.recipient=<Recipient email>

# Configure the log attached to event emails.
#wrapper.event.default.email.attach_log=TRUE
#wrapper.event.default.email.maillog.lines=50
#wrapper.event.default.email.maillog.format=LPTM
#wrapper.event.default.email.maillog.loglevel=INFO

# Enable specific event emails.
#wrapper.event.wrapper_start.email=TRUE
#wrapper.event.jvm_prelaunch.email=TRUE
#wrapper.event.jvm_start.email=TRUE
#wrapper.event.jvm_started.email=TRUE
#wrapper.event.jvm_deadlock.email=TRUE
#wrapper.event.jvm_stop.email=TRUE
#wrapper.event.jvm_stopped.email=TRUE
#wrapper.event.jvm_restart.email=TRUE
#wrapper.event.jvm_failed_invocation.email=TRUE
#wrapper.event.jvm_max_failed_invocations.email=TRUE
#wrapper.event.jvm_kill.email=TRUE
#wrapper.event.jvm_killed.email=TRUE
#wrapper.event.jvm_unexpected_exit.email=TRUE
#wrapper.event.wrapper_stop.email=TRUE

# Specify custom mail content
wrapper.event.jvm_restart.email.body=The JVM was restarted.\n\nPlease check on its status.\n

#********************************************************************
# Wrapper Windows NT/2000/XP Service Properties
#********************************************************************
# WARNING - Do not modify any of these properties when an application
#  using this configuration file has been installed as a service.
#  Please uninstall the service before modifying this section.  The
#  service can then be reinstalled.

# Name of the service
wrapper.ntservice.name=opendct

# Display name of the service
wrapper.ntservice.displayname=SageTV OpenDCT

# Description of the service
wrapper.ntservice.description=SageTV OpenDCT Java Network Encoder for Digital Cable Tuners

# Service dependencies.  Add dependencies as needed starting from 1
wrapper.ntservice.dependency.1=

# Mode in which the service is installed.  AUTO_START, DELAY_START or DEMAND_START
wrapper.ntservice.starttype=AUTO_START

# Allow the service to interact with the desktop.
wrapper.ntservice.interactive=false

# Increase the priority to ABOVE_NORMAL so we don't lose packets
wrapper.ntservice.process_priority=ABOVE_NORMAL

wrapper.request_thread_dump_on_failed_jvm_exit
wrapper.java.pidfile=%CONFIG_HOME%/opendct-pid.txt
wrapper.on_exit.default=RESTART
wrapper.on_exit.0=SHUTDOWN
wrapper.on_exit.1=SHUTDOWN
wrapper.on_exit.2=SHUTDOWN
wrapper.on_exit.3=SHUTDOWN
wrapper.on_exit.4=SHUTDOWN
wrapper.on_exit.6=SHUTDOWN

wrapper.restart.reload_configuration=TRUE
__________________
SERVER/CLIENT_1--> AMD Phenom2 X4 925 2.8GHz. 8Gig mem. Asus M5A97. // Win 7 x64 // GTX 1060. //Ceton infinity 4 Comcast // SageV9.2.5.936 x64 running Gemstone // Lots of HD space. Recording to a NAS
CLIENT_2--> AMD Athlon 64 X2 5400 Brisbane 2.8GHz. 4Gig mem. GIGABYTE GA-MA780G-UD3H// ATI 5570. // Win 7 x64
Reply With Quote
  #2652  
Old 06-29-2019, 12:04 PM
JustFred JustFred is online now
Sage Expert
 
Join Date: May 2015
Location: Sunnyvale, Ca
Posts: 572
Quote:
Originally Posted by BigSwifty View Post
I'm running Sagex64 so i believe I need to use javax64.
The bitness of OpenDCT should match that of Java.
__________________
System #1: Win7-64, I7-920, 8 GB mem, 4TB HD. Java-64 1.8.0_141. Sage-64 v9.2.1 ATSC: 2x HDHR-US (1st gen white) tuners. HD-200.
System #2: Win7-64, I7-920, 8 GB mem, 4TB HD. Java 1.8.0_131. Sage v9.1.6.747. ClearQAM: 2x HDHR3-US tuners. HD-200.
System #3: Win7-64, I7-920, 12 GB mem, 4TB HD. Java-64 1.8.0_141. Sage-64 v9.2.1 ATSC: 2x HVR2250; Spectrum Cable via HDPVR & USB-UIRT. 3x HD-200.

Last edited by JustFred; 06-29-2019 at 12:57 PM. Reason: deleted my incorrect statment about Sage-x64 Java requirement
Reply With Quote
  #2653  
Old 06-29-2019, 12:28 PM
AlphaCrew AlphaCrew is offline
Sage Aficionado
 
Join Date: May 2010
Location: Whosevile
Posts: 303
I'm running Java64, Sage64 and OpenDCT64 without problems.
Attached Images
File Type: png 2019-06-29_14-25-40.png (35.5 KB, 138 views)
File Type: png 2019-06-29_14-26-17.png (29.9 KB, 148 views)
Reply With Quote
  #2654  
Old 06-29-2019, 12:47 PM
BigSwifty's Avatar
BigSwifty BigSwifty is offline
Sage Advanced User
 
Join Date: Aug 2006
Location: Hollywood, FL.
Posts: 217
Quote:
Originally Posted by JustFred View Post
You can run Sage-x64 (or Sage-x86) with Java-x86. But the bitness of OpenDCT should match that of Java. Unless you have a compelling reason (some OTHER app?) to run Java-64, I'd recommend sticking with the 32-bit versions of Java and OpenDCT. There's no advantage to running 64-bit OpenDCT.
Interesting. I thought based on https://forums.sagetv.com/forums/showthread.php?t=65754, Sage x64 needed Java x64 and if i recall I couldn't get Sage64 to start without Java x64.

Quote:
Originally Posted by AlphaCrew View Post
I'm running Java64, Sage64 and OpenDCT64 without problems.
can you show me your OpenDCT wrapper.config file?

I'll need to check my Java console again and examine system vs. user as well. Perhaps that's part of my problem?
__________________
SERVER/CLIENT_1--> AMD Phenom2 X4 925 2.8GHz. 8Gig mem. Asus M5A97. // Win 7 x64 // GTX 1060. //Ceton infinity 4 Comcast // SageV9.2.5.936 x64 running Gemstone // Lots of HD space. Recording to a NAS
CLIENT_2--> AMD Athlon 64 X2 5400 Brisbane 2.8GHz. 4Gig mem. GIGABYTE GA-MA780G-UD3H// ATI 5570. // Win 7 x64
Reply With Quote
  #2655  
Old 06-29-2019, 12:54 PM
JustFred JustFred is online now
Sage Expert
 
Join Date: May 2015
Location: Sunnyvale, Ca
Posts: 572
Quote:
Originally Posted by BigSwifty View Post
Interesting. I thought based on https://forums.sagetv.com/forums/showthread.php?t=65754, Sage x64 needed Java x64 and if i recall I couldn't get Sage64 to start without Java x64.
Ooops. My bad. You're right.. Java x64 IS needed for Sage-x64. I've corrected my previous post for future reference by others.
__________________
System #1: Win7-64, I7-920, 8 GB mem, 4TB HD. Java-64 1.8.0_141. Sage-64 v9.2.1 ATSC: 2x HDHR-US (1st gen white) tuners. HD-200.
System #2: Win7-64, I7-920, 8 GB mem, 4TB HD. Java 1.8.0_131. Sage v9.1.6.747. ClearQAM: 2x HDHR3-US tuners. HD-200.
System #3: Win7-64, I7-920, 12 GB mem, 4TB HD. Java-64 1.8.0_141. Sage-64 v9.2.1 ATSC: 2x HVR2250; Spectrum Cable via HDPVR & USB-UIRT. 3x HD-200.

Last edited by JustFred; 06-29-2019 at 12:58 PM.
Reply With Quote
  #2656  
Old 06-29-2019, 12:55 PM
KarylFStein KarylFStein is offline
Sage Fanatic
 
Join Date: Apr 2006
Location: Westland, Michigan, USA
Posts: 999
I would personally uninstall all the 32bit stuff then reinstall Java x64 (to make sure it sets the environment variables).
__________________
Home Network: https://karylstein.com/technology.html
Reply With Quote
  #2657  
Old 06-29-2019, 03:05 PM
BigSwifty's Avatar
BigSwifty BigSwifty is offline
Sage Advanced User
 
Join Date: Aug 2006
Location: Hollywood, FL.
Posts: 217
In a bid to avoid castration by my wife, I will try what KFS has suggested ONCE the Yankees/Red Sox game is over.

I am wondering what might "break" if I uninstall Java 32.

Looking at my Java console, previously, I only posted the "user" tab.."system" is only using Java 64. Is this part of the problem?

If I make the proper edits to wrapper.config, I'm thinking it should work; I'll wait for Alphacrew's response to see his file.
Attached Images
File Type: png system java.png (13.8 KB, 139 views)
__________________
SERVER/CLIENT_1--> AMD Phenom2 X4 925 2.8GHz. 8Gig mem. Asus M5A97. // Win 7 x64 // GTX 1060. //Ceton infinity 4 Comcast // SageV9.2.5.936 x64 running Gemstone // Lots of HD space. Recording to a NAS
CLIENT_2--> AMD Athlon 64 X2 5400 Brisbane 2.8GHz. 4Gig mem. GIGABYTE GA-MA780G-UD3H// ATI 5570. // Win 7 x64

Last edited by BigSwifty; 06-29-2019 at 03:11 PM. Reason: Added: "If I ..."
Reply With Quote
  #2658  
Old 06-29-2019, 04:21 PM
AlphaCrew AlphaCrew is offline
Sage Aficionado
 
Join Date: May 2010
Location: Whosevile
Posts: 303
Quote:
Originally Posted by BigSwifty View Post
Interesting. I thought based on https://forums.sagetv.com/forums/showthread.php?t=65754, Sage x64 needed Java x64 and if i recall I couldn't get Sage64 to start without Java x64.



can you show me your OpenDCT wrapper.config file?

I'll need to check my Java console again and examine system vs. user as well. Perhaps that's part of my problem?
Here you go, Hope it helps

Code:
#encoding=UTF-8
# Configuration files must begin with a line specifying the encoding
#  of the the file.

# If JSW is unable to find your Java binary, you can set the path here. JAVA_HOME is not used by default.
# If you set this path, be sure to uncomment wrapper.java.command=%JAVA_HOME%/bin/java below.
set.JAVA_HOME=c:/Program Files/Java/jre1.8.0_66
set.OPENDCT_HOME=..
set.WRAPPER_HOME=.
set.LOGGING_HOME=c:/ProgramData/OpenDCT/logs
set.CONFIG_HOME=c:/ProgramData/OpenDCT/config

#********************************************************************
# Wrapper Localization
#********************************************************************
# Specify the locale which the Wrapper should use.  By default the system
#  locale is used.
#wrapper.lang=en_US # en_US or ja_JP

# Specify the location of the Wrapper's language resources.  If these are
#  missing, the Wrapper will default to the en_US locale.
#wrapper.lang.folder=../lang

#********************************************************************
# Wrapper Java Properties
#********************************************************************
# Java Application
#  Locate the java binary on the system PATH:
wrapper.java.command=java

#  Specify a specific java binary:
#set.JAVA_HOME=/java/path
#wrapper.java.command=%JAVA_HOME%/bin/java

# The working directory the program is started in.
wrapper.working.dir=../

# Tell the Wrapper to log the full generated Java command line.
wrapper.java.command.loglevel=INFO

# Java Main class.  This class must implement the WrapperListener interface
#  or guarantee that the WrapperManager class is initialized.  Helper
#  classes are provided to do this for you.  See the Integration section
#  of the documentation for details.
wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp

# Java Classpath (include wrapper.jar)  Add class path elements as
#  needed starting from 1
wrapper.java.classpath.1=%WRAPPER_HOME%/lib/wrapper.jar
wrapper.java.classpath.2=%OPENDCT_HOME%/lib/opendct-0.5.29.jar
wrapper.java.classpath.3=%OPENDCT_HOME%/lib/cling-core-2.1.1.jar
wrapper.java.classpath.4=%OPENDCT_HOME%/lib/log4j-api-2.5.jar
wrapper.java.classpath.5=%OPENDCT_HOME%/lib/log4j-core-2.5.jar
wrapper.java.classpath.6=%OPENDCT_HOME%/lib/jna-4.2.1.jar
wrapper.java.classpath.7=%OPENDCT_HOME%/lib/jna-platform-4.2.1.jar
wrapper.java.classpath.8=%OPENDCT_HOME%/lib/nanohttpd-2.3.0.jar
wrapper.java.classpath.9=%OPENDCT_HOME%/lib/nanohttpd-nanolets-2.3.0.jar
wrapper.java.classpath.10=%OPENDCT_HOME%/lib/gson-2.8.0.jar
wrapper.java.classpath.11=%OPENDCT_HOME%/lib/javacpp-1.1.jar
wrapper.java.classpath.12=%OPENDCT_HOME%/lib/ffmpeg-2.8.1-1.1.jar
wrapper.java.classpath.13=%OPENDCT_HOME%/lib/ffmpeg-2.8.1-1.1-windows-x86_64.jar
wrapper.java.classpath.14=%OPENDCT_HOME%/lib/seamless-util-1.1.1.jar
wrapper.java.classpath.15=%OPENDCT_HOME%/lib/seamless-http-1.1.1.jar
wrapper.java.classpath.16=%OPENDCT_HOME%/lib/seamless-xml-1.1.1.jar


# Java Library Path (location of Wrapper.DLL or libwrapper.so)
wrapper.java.library.path.1=%WRAPPER_HOME%/lib
wrapper.java.library.path.2=%OPENDCT_HOME%/lib

# Java Bits.  On applicable platforms, tells the JVM to run in 32 or 64-bit mode. (Since 3.3.5)
wrapper.java.additional.auto_bits=TRUE

# Java Additional Parameters
wrapper.java.additional.1=-Dopendct_log_root=%LOGGING_HOME%
wrapper.java.additional.2=-Dconfig_dir=%CONFIG_HOME%
wrapper.java.additional.3=-Ddaemon_mode=true
wrapper.java.additional.4=-XX:ErrorFile=%LOGGING_HOME%/hs_err_pid%p.log
wrapper.java.additional.5=-verbose:gc
wrapper.java.additional.6=-XX:+UseG1GC

# Initial Java Heap Size (in MB)
wrapper.java.initmemory=128

# Maximum Java Heap Size (in MB)
wrapper.java.maxmemory=768

# Application parameters.  Add parameters as needed starting from 1
wrapper.app.parameter.1=opendct.Main

#********************************************************************
# Wrapper Logging Properties
#********************************************************************
# Enables Debug output from the Wrapper.
# wrapper.debug=TRUE

# Format of output for the console.  (See docs for formats)
wrapper.console.format=LPZM

# Log Level for console output.  (See docs for log levels)
wrapper.console.loglevel=INFO

# Log file to use for wrapper output logging.
wrapper.logfile=%LOGGING_HOME%/wrapper.log

# Format of output for the log file.  (See docs for formats)
wrapper.logfile.format=LPZM

# Log Level for log file output.  (See docs for log levels)
wrapper.logfile.loglevel=INFO

# Maximum size that the log file will be allowed to grow to before
#  the log is rolled. Size is specified in bytes.  The default value
#  of 0, disables log rolling.  May abbreviate with the 'k' (kb) or
#  'm' (mb) suffix.  For example: 10m = 10 megabytes.
wrapper.logfile.maxsize=0

# Maximum number of rolled log files which will be allowed before old
#  files are deleted.  The default value of 0 implies no limit.
wrapper.logfile.maxfiles=0

# Log Level for sys/event log output.  (See docs for log levels)
wrapper.syslog.loglevel=NONE

#********************************************************************
# Wrapper General Properties
#********************************************************************
# Allow for the use of non-contiguous numbered properties (Since 3.3.6)
wrapper.ignore_sequence_gaps=TRUE

# Do not start if the pid file already exists. (Since 3.5.14)
wrapper.pidfile.strict=TRUE

# Title to use when running as a console
wrapper.console.title=SageTV OpenDCT Java Digital Cable Tuner

# Out Of Memory detection.
#  Ignore -verbose:class output to avoid false positives.
wrapper.filter.trigger.1000=[Loaded java.lang.OutOfMemoryError
wrapper.filter.action.1000=NONE
# (Simple match)
wrapper.filter.trigger.1001=java.lang.OutOfMemoryError
# (Only match text in stack traces if -XX:+PrintClassHistogram is being used.)
#wrapper.filter.trigger.1001=Exception in thread "*" java.lang.OutOfMemoryError
#wrapper.filter.allow_wildcards.1001=TRUE
wrapper.filter.action.1001=RESTART
wrapper.filter.message.1001=The JVM has run out of memory.

#********************************************************************
# Wrapper Windows NT/2000/XP Service Properties
#********************************************************************
# WARNING - Do not modify any of these properties when an application
#  using this configuration file has been installed as a service.
#  Please uninstall the service before modifying this section.  The
#  service can then be reinstalled.

# Name of the service
wrapper.ntservice.name=opendct

# Display name of the service
wrapper.ntservice.displayname=SageTV OpenDCT

# Description of the service
wrapper.ntservice.description=SageTV OpenDCT Java Network Encoder for Digital Cable Tuners

# Service dependencies.  Add dependencies as needed starting from 1
wrapper.ntservice.dependency.1=

# Mode in which the service is installed.  AUTO_START, DELAY_START or DEMAND_START
wrapper.ntservice.starttype=AUTO_START

# Allow the service to interact with the desktop.
wrapper.ntservice.interactive=false

# Increase the priority to ABOVE_NORMAL so we don't lose packets
wrapper.ntservice.process_priority=ABOVE_NORMAL

wrapper.request_thread_dump_on_failed_jvm_exit
wrapper.java.pidfile=%CONFIG_HOME%/opendct-pid.txt

# Stop the service if the JVM exits with exit code 0 otherwise restart the JVM.
wrapper.on_exit.default=RESTART
wrapper.on_exit.0=SHUTDOWN
wrapper.on_exit.1=SHUTDOWN
wrapper.on_exit.2=SHUTDOWN
wrapper.on_exit.3=SHUTDOWN
wrapper.on_exit.4=SHUTDOWN
wrapper.on_exit.6=SHUTDOWN

wrapper.restart.reload_configuration=TRUE

Last edited by AlphaCrew; 06-29-2019 at 04:37 PM.
Reply With Quote
  #2659  
Old 06-29-2019, 06:06 PM
BigSwifty's Avatar
BigSwifty BigSwifty is offline
Sage Advanced User
 
Join Date: Aug 2006
Location: Hollywood, FL.
Posts: 217
Thank you. My OpenDCT install seems to be happy using all x64 bidness (as KarylFStein suggested). No errors

My Sage service wont start now without the x86 Java installed. Weird. Moved to Software thread.
__________________
SERVER/CLIENT_1--> AMD Phenom2 X4 925 2.8GHz. 8Gig mem. Asus M5A97. // Win 7 x64 // GTX 1060. //Ceton infinity 4 Comcast // SageV9.2.5.936 x64 running Gemstone // Lots of HD space. Recording to a NAS
CLIENT_2--> AMD Athlon 64 X2 5400 Brisbane 2.8GHz. 4Gig mem. GIGABYTE GA-MA780G-UD3H// ATI 5570. // Win 7 x64
Reply With Quote
  #2660  
Old 06-29-2019, 07:15 PM
KarylFStein KarylFStein is offline
Sage Fanatic
 
Join Date: Apr 2006
Location: Westland, Michigan, USA
Posts: 999
I moved to UNRAID and off of Windows. But when I tried to mix 32/64 bit on Windows it did not go so well. But when I did all 32bit on Windows it was fine. I was doing SageTV and a Ceton card at the time.

As far as I know when you install JAVA on a Windows box it will set environment variables that things like SageTV and OpenDCT will use as default.

That is why I say just install JAVA and then let OpenDCT and SageTV pick things up.

The only time I had to change the wrapper is when I tried to mix 32/64bit. I thew that out and just used 32bit at the time.

Unraid is a pretty good solution I think. I'm pretty happy with it anyway .
__________________
Home Network: https://karylstein.com/technology.html
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 2 (1 members and 1 guests)
JustFred

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ATI TV Wonder Digital Cable Tuner & SageTV nyle Hardware Support 4 02-17-2009 10:12 PM
ATI TV Wonder Digital Cable Tuner rajczi Hardware Support 4 01-14-2008 08:24 PM
ATI TV Wonder™ Digital Cable Tuner dadams Hardware Support 4 01-09-2007 10:55 AM
Digital Cable - one guide - need HD on one tuner reg tv on other Kimper SageTV Beta Test Software 14 11-27-2006 08:15 PM
Multi-tuner Digital Cable mlbdude SageTV Software 0 06-26-2003 01:08 PM


All times are GMT -6. The time now is 09:17 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.