Wednesday, September 16, 2015

Fail to ping http://my3dspace.qa6.tw:8082/3DSpaceNonCAS FCS server failure

Fail to ping http://my3dspace.qa6.tw:8082/3DSpaceNonCAS

in 3DSpace_CAS tomee log as couldn't ping to Non CAS server.

MQL please modify store.

Copyright (c) 1993-2015 Dassault Systemes.
All rights reserved.
MQL<1>set context user creator;
MQL<2>list store;
Image Store
STORE
plmx
MQL<3>modify store STORE fcs 'https://my3dspace.qa6.tw/3DSpace';
MQL<6>modify store plmx fcs 'https://my3dspace.qa6.tw/3DSpace';
MQL<7>

MQL<8>modify store 'Image Store' fcs 'http://my3dspace.qa6.tw:8082/3DSpaceNonCAS';
MQL<9>

**** This is a temporary fix.   I t will cause other errors.  so only use this for Image upload***


System Error: #5000001: java.lang.Exception: Failed to ping http://my3dspace.qa6
.tw:8082/3DSpaceNonCAS/ got exception:http://my3dspace.qa6.tw:8082/3DSpaceNonCAS
/servlet/fcs/ping  FCS Server failure
Response Code:404 Response Message: Not Found Error Text: <html><head><title>Apa
che Tomcat (TomEE)/7.0.62 (1.7.2) - Error report</title><style><!--H1 {font-fami
ly:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
 H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;fo
nt-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-co
lor:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:bla
ck;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;b
ackground-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:whit
e;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color
 : #525D76;}--></style> </head><body><h1>HTTP Status 404 - /3DSpaceNonCAS/servle
t/fcs/ping</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p
><b>message</b> <u>/3DSpaceNonCAS/servlet/fcs/ping</u></p><p><b>description</b>
<u>The requested resource is not available.</u></p><HR size="1" noshade="noshade
"><h3>Apache Tomcat (TomEE)/7.0.62 (1.7.2)</h3></body></html> /

Thursday, September 3, 2015

Business Object Id missing from class (When Creating Project Fail)

When create Project in 2015x with simplified chinese language was set in browser.

Then when tried to create project, the following error occurs:

Business Object Id missing from class com.matrixone.apps.framework.ui.UIForm bean.



  • It is a bug, it couldn't parse the date field in "Project Date".
  • Change language to English, then you will be able to create.
  • But I have once fix it with Credential Change to Common Space with Leader role.


in TomEE log.
java.text.ParseException: Unparseable date: "2015-9-3"
        at java.text.DateFormat.parse(DateFormat.java:366)
        at com.matrixone.apps.domain.util.eMatrixDateFormat.getFormattedInputDat
eTime(eMatrixDateFormat.java:1414)
        at com.matrixone.apps.domain.util.eMatrixDateFormat.getFormattedInputDat
eTime(eMatrixDateFormat.java:1138)

Thursday, July 23, 2015

Migrate Oracle Database from Linux to Windows

The following message has caused by using wrong version of Database.

In my case Old version of 2011x Database was imported to be used in 2013x Enovia installation.


[ERROR] VPLMInitializer Company migration not complete. Server should not start.

[ERROR] VPLMInitializer relationship VPLMrel/PLMInstance is not dynamic. Server
should not start.
[ERROR] VPLMInitializer You have exported the variable 'MINORMAJOR' but DATABASE
has not been upgraded for MINOR MAJOR. Server should not start.
[ERROR] VPLMInitializer P&O BO migration not complete. Server should not start. 

Wednesday, May 6, 2015

Project Import: Invalid Configuration or invalid file format.


Make sure your CSV file have correct words and spelling:
1.  The Heading must be: Level,Name,Type,Estimated Duration,Estimated Start Date,Estimated Finish Date,Dependencies,Assignees,Constraint Type,Constraint Date
2.  Check: Project Space, Milestone, Phase, Task

2015x 3DExperience Login Failure


Caused by: The server cannot obtain the license for user 'Test Everything' due to the following errors.
License 'DPJ' not available on license server(s) - 'ERR-1A000048:  Server license is not running on this host
07:52:35.UTC - License servers configuration file path: /var/DassaultSystemes/Licenses/DSLicSrv.txt
  [01/01] 192.168.56.1:4085  KO: Connection error (at 07:38:03.UTC)

'
License 'DPM' not available on license server(s) - 'ERR-1A000048:  Server license is not running on this host
07:52:35.UTC - License servers configuration file path: /var/DassaultSystemes/Licenses/DSLicSrv.txt
  [01/01] 192.168.56.1:4085  KO: Connection error (at 07:38:03.UTC)



This is caused by the Firewall setting I recently activated.
Don't know how to fix it yet.
But just disable the Windows 7 Firewall setting should be fine.
Press: Start button -> search 'firewall'  -> firewall status....
just disable the firewall and restart the VirtualBox or VMWare if you must.

 

Thursday, April 23, 2015

Project Imported with missig Tasks.... and with ArrayIndexOutOfBoundsException and ProjectSpace.createDepedencyMap

When import and preview is ok,  but when try to create, error displayed in Tomcat

Resolve by:  your import csv file contain "Dependency" value format error!!  in my case I had 15 or the wrong format 15:FS , but the format should be:  15:FS+0.0 d
And it will all work out.



java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 1
        at java.util.Vector.get(Vector.java:744)
        at matrix.util.List.get(List.java:119)
        at com.matrixone.apps.program.ProjectSpace.createDepedencyMap(ProjectSpace.java:6253)
        at com.matrixone.apps.program.ProjectSpace.completeImportProcess(ProjectSpace.java:6051)
        at org.apache.jsp.programcentral.emxProgramCentralUtil_jsp._jspService(emxProgramCentralUtil_jsp.java:2867)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)

Project Import or Gantt Chart does not display with com.matrixone.apps.program.GanttChart.getDependencyColumnValue(GanttChart.java:817) error

When import Project or Display Gantt Chart, the Gantt Chart did not get displayed.

Try not to use 2 dependency together.   Somehow only one dependency is available.
Well, I have not figure out the format for 2 or more dependencies....^^



java.lang.ClassCastException: matrix.util.StringList cannot be cast to java.lang.String
        at com.matrixone.apps.program.GanttChart.getDependencyColumnValue(GanttChart.java:817)
        at com.matrixone.apps.program.GanttChart.getCommonXMLString(GanttChart.java:341)
        at com.matrixone.apps.program.GanttChart.getXMLStringForPlanningView(GanttChart.java:434)
        at com.matrixone.apps.program.GanttChart.createXMLStringForTask(GanttChart.java:261)
        at com.matrixone.apps.program.GanttChart.createXMLStringForTask(GanttChart.java:280)
        at com.matrixone.apps.program.GanttChart.createXMLStringForTask(GanttChart.java:280)
        at com.matrixone.apps.program.GanttChart.getXMLTaskStore(GanttChart.java:221)

Wednesday, April 8, 2015

Login failed: 'RWA' Licenses(s) does not exist on license server. Please get the licenses(s)

Login Fail has caused by the users "Test Everything or admin_platform" has assigned some trigram / licenses and store in  Oracle Database.

But, upon login, the uses' assigned licenses are checked with the License Server.

In this case "admin_platform" has already assigned to use "RWA" license in Database,
but in license server, there aren't any valid "RWA" license available.



Resolve:   Open  MQL.exe program
MQL<11> set context user creator;
MQL<12>modify product RWA remove person 'admin_platform';
MQL<13>

if it does not complain with errors.... then try login again.

You can also try to print out what users are assigned with 'RWA' license:
MQL<27>print product RWA person;
product   RWA
    name = RWA
    description =
    property =
    hidden =
    id =
    modified =
    originated =
    package =
    admintype = product
    title = RWA - Review and Approve
    person = Test Everything
    casualhour = 0
    derivative = ENOBUPS_AP
    derivative = ENOCLRE_AP
    derivative = ENOCOMI_AP
    derivative = ENOWCOL_AP
    derivative = ENOWISU_AP
    derivative = ENOWTSK_AP
    derivative = INFNCAP_TP
    dependency = CSV
    richclient = FALSE
    webclient = TRUE
    addon = FALSE
    shareable = FALSE
    nameduser = TRUE
    token = FALSE
    userexperience = TRUE
    app = FALSE
    technical = FALSE
    public = FALSE
    dynamic = FALSE
MQL<28>

Thursday, March 26, 2015

Firewall Cause Oracle Listeners Can Not be connected.

for some reason, when I type tnsping in cmd.exe    it says  "no listener"
but the services.msc has a service "OracleOraDb11g_home1TNSListener"   it is started.


1. what I did is remove: the listener using "Net Configuration Assistant" to remove listener.
2. Then "REMOVE" c:\Oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN\listener.ora
remove listner.ora file.
3.   Stop the Windows Server 2008 R2 firewall setting.
    I think this is the problem, the firewall causing the problem.


4.  Finally Add New listener again!!
then it worked.

the differences are in the file below it uses hostname instead of ip address.

# listener.ora Network Configuration File: C:\Oracle\product\11.2.0\dbhome_1\network\admin\listener.ora
# Generated by Oracle configuration tools.

SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = CLRExtProc)
      (ORACLE_HOME = C:\Oracle\product\11.2.0\dbhome_1)
      (PROGRAM = extproc)
      (ENVS = "EXTPROC_DLLS=ONLY:C:\Oracle\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    )
  )

LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST = 3ds.localdomain)(PORT = 1521))
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    )
  )

ADR_BASE_LISTENER = C:\Oracle

Wednesday, March 25, 2015

Tomcat Can not start after installation

No log is generated,  Tomcat cat just wouldn't start.

When modify startup.bat file, be careful in modifying the scripts.
following error occur because one of the setting copied is got cut into 3 lines.

Please add them add into a single line in notepad.


c:\apache-tomee-plus-1.7.1\bin\startup.bat

rem ----------- Joe ADDED ----------------
Set JAVA_HOME=C:\Java\jdk1.7.0_76
set LANG=C
set NLS_LANG=_.UTF8
set JAVA_OPTS=-server -Xmn384m -Xms768m -Xmx768m -Xss512k -XX:PermSize=32m -XX:MaxPermSize=256m -XX:SurvivorRatio=4 -XX:+DisableExplicitGC -XX:+UseTLAB -XX:+ResizeTLAB -Dfile.encoding=UTF8
rem ----------- Joe ADDED ----------------

Monday, March 23, 2015

Config solidworks 2015x Naming Strategy

default of solidworks 2015 will check in into 3dexperience platform as auto number,
but it can be changed to file name.

Open Matrix,  login as creator


Wednesday, March 18, 2015

How To Access Windows Host Folders From Redhat Linux Guest in Oracle VirtualBox


After you install a new virtual machine and install a guest operating system, how do you access files/folders from your host from guest? There are two basic approaches, ftp or folder sharing. Here is to address the folder sharing approach.
 
This guide is for the following environment:
  • Windows 7 Host Platform
  • Oracle VirtualBox 4.1.7
  • Red Hat Enterprise Linux 5.8 Server (x86) Guest Platform   
You just need to follow the three steps:

1. Set shared folder
From the VirtualBox menu  click Devices->Shared Folders ...

2. Install Guest Additions
From the VirtualBox menu  click Devices->Install Guest Additions ...

3. Mount windows shared folders in Red Hat Linux
    3.1 Create a mount point using the following command
          sudo mkdir /mnt/shared-folder
    3.2 Mount the shared folders using the following command
          sudo mount -t vboxsf shared-folder /mnt/shared-folder

Note: If you work on the VMware, you still need three steps. to mount windows shared folders, do the command:
          sudo mount -t vmhgfs .host:/Share /mnt/share  

Tuesday, March 17, 2015

IEFClient is not installed (or has been damaged). You need to install or repair IEFClient V6R2015x.

Error:

 IEFClient is not installed (or has been damaged). You need to install or repair IEFClient V6R2015x.
 
Technical details:
 
Action LaunchAppAction from feature CODE\win_b64\ENOVIA_SWC.media failed.
Action ID: Check-IEF-Version
Private ID: e4075af58144476b8e2fcd092e08f28f207874c927fed4aee4d00fc596061b77
 
Error code: Type: ERROR, Error: 1, Owner: 30a


Cause:
You installed in the wrong step, you installed "ConnectorSolidWorksClient...." first.
But you need to install ENOVIAIntegrationExchangeFramework-Client" First!!!

Solution:
Must install the following file
ENOVIAIntegrationExchangeFrameworkClient-V6R2015x.Windows64
ConnectorforSolidWorksClient-V6R2015x.Windows64



Monday, March 16, 2015

Red Hat Linux Commands

ifconfig   - checking ip

Config IEF Client to 3DExperience platform ip address and ports

c:\Program Files\Dassault Systemes\IEFClientV6R2015x\IEFClientWorkspaceService\config.xml


<?xml version="1.0" encoding="UTF-8"?>
<config>
  <serverURL>http://192.168.0.113:8070/enovia</serverURL>
  <language>en</language>
  <debug>false</debug>
  <charset>utf8</charset>
  <multiport>true</multiport>
  <portrangemin>2000</portrangemin>
  <portrangemax>5000</portrangemax>
  <jrehome>C:\Java64\jre7</jrehome>
<javaoptions>-Xmx256m -Xms256m</javaoptions>
</config>